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