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