1*3ea99036SJacob Faibussowitsch #ifndef __SNES_VIRS_H 2*3ea99036SJacob Faibussowitsch #define __SNES_VIRS_H 3c2fc9fa9SBarry Smith 4c2fc9fa9SBarry Smith /* 5c2fc9fa9SBarry Smith Private context for reduced space active set newton method with line search for solving 6c2fc9fa9SBarry Smith system of mixed complementarity equations 7c2fc9fa9SBarry Smith */ 8c2fc9fa9SBarry Smith 9*3ea99036SJacob Faibussowitsch #include <petsc/private/snesimpl.h> 10c2fc9fa9SBarry Smith 11c2fc9fa9SBarry Smith typedef struct { 12c2fc9fa9SBarry Smith PetscErrorCode (*checkredundancy)(SNES, IS, IS *, void *); 13f5af7f23SKarl Rupp 14c2fc9fa9SBarry Smith void *ctxP; /* user defined check redundancy context */ 15c2fc9fa9SBarry Smith IS IS_inact_prev; 16f009fc93SPatrick Farrell IS IS_inact; 17f450aa47SBarry Smith } SNES_VINEWTONRSLS; 18c2fc9fa9SBarry Smith 19c2fc9fa9SBarry Smith #endif 20