xref: /petsc/src/snes/impls/vi/rs/virsimpl.h (revision f5af7f232b71b4a723423f52797ae8ea7ad3f041)
1b45d2f2cSJed Brown #include <petsc-private/snesimpl.h>
2c2fc9fa9SBarry Smith 
3c2fc9fa9SBarry Smith /*
4c2fc9fa9SBarry Smith    Private context for reduced space active set newton method with line search for solving
5c2fc9fa9SBarry Smith    system of mixed complementarity equations
6c2fc9fa9SBarry Smith  */
7c2fc9fa9SBarry Smith 
8519f805aSKarl Rupp #if !defined(__SNES_VIRS_H)
9c2fc9fa9SBarry Smith #define __SNES_VIRS_H
10c2fc9fa9SBarry Smith 
11c2fc9fa9SBarry Smith typedef struct {
12c2fc9fa9SBarry Smith   PetscErrorCode (*checkredundancy)(SNES,IS,IS*,void*);
13*f5af7f23SKarl Rupp 
14c2fc9fa9SBarry Smith   void *ctxP;           /* user defined check redundancy context */
15c2fc9fa9SBarry Smith   IS   IS_inact_prev;
16f450aa47SBarry Smith } SNES_VINEWTONRSLS;
17c2fc9fa9SBarry Smith 
18c2fc9fa9SBarry Smith #endif
19c2fc9fa9SBarry Smith 
20