xref: /petsc/src/snes/impls/vi/rs/virsimpl.h (revision a496304597bacff3545e802853d69e8765312868)
1*a4963045SJacob Faibussowitsch #pragma once
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 
83ea99036SJacob Faibussowitsch #include <petsc/private/snesimpl.h>
9c2fc9fa9SBarry Smith 
10c2fc9fa9SBarry Smith typedef struct {
11c2fc9fa9SBarry Smith   PetscErrorCode (*checkredundancy)(SNES, IS, IS *, void *);
12f5af7f23SKarl Rupp 
13c2fc9fa9SBarry Smith   void *ctxP; /* user defined check redundancy context */
14c2fc9fa9SBarry Smith   IS    IS_inact_prev;
15f009fc93SPatrick Farrell   IS    IS_inact;
16f450aa47SBarry Smith } SNES_VINEWTONRSLS;
17