1: #include <petsc-private/snesimpl.h> 3: /* 4: Private context for reduced space active set newton method with line search for solving 5: system of mixed complementarity equations 6: */ 8: #ifndef __SNES_VIRS_H 11: typedef struct { 12: PetscErrorCode (*checkredundancy)(SNES,IS,IS*,void*); 13: void *ctxP; /* user defined check redundancy context */ 14: IS IS_inact_prev; 15: } SNES_VIRS; 17: #endif