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