fieldsplit.c (d0f46423f772d871f92d805d83c5bf0c050e33b4) fieldsplit.c (a4efd8ea4bb0600a5aef92b2c23cbfa314827193)
1#define PETSCKSP_DLL
2
3/*
4
5*/
6#include "private/pcimpl.h" /*I "petscpc.h" I*/
7
8typedef struct _PC_FieldSplitLink *PC_FieldSplitLink;

--- 5 unchanged lines hidden (view full) ---

14 VecScatter sctx;
15 IS is,cis;
16 PetscInt csize;
17 PC_FieldSplitLink next,previous;
18};
19
20typedef struct {
21 PCCompositeType type;
1#define PETSCKSP_DLL
2
3/*
4
5*/
6#include "private/pcimpl.h" /*I "petscpc.h" I*/
7
8typedef struct _PC_FieldSplitLink *PC_FieldSplitLink;

--- 5 unchanged lines hidden (view full) ---

14 VecScatter sctx;
15 IS is,cis;
16 PetscInt csize;
17 PC_FieldSplitLink next,previous;
18};
19
20typedef struct {
21 PCCompositeType type;
22 PetscTruth defaultsplit;
22 PetscTruth defaultsplit; /* Flag for a system with a set of 'k' scalar fields with the same layout (and bs = k) */
23 PetscInt bs;
24 PetscInt nsplits;
25 Vec *x,*y,w1,w2;
26 Mat *pmat;
27 Mat *Afield; /* the rows of the matrix associated with each field */
28 PetscTruth issetup;
29 Mat B,C,schur; /* only used when Schur complement preconditioning is used */
30 KSP kspschur;

--- 1018 unchanged lines hidden (view full) ---

1049#define __FUNCT__ "PCFieldSplitSetType"
1050/*@
1051 PCFieldSplitSetType - Sets the type of fieldsplit preconditioner.
1052
1053 Collective on PC
1054
1055 Input Parameter:
1056. pc - the preconditioner context
23 PetscInt bs;
24 PetscInt nsplits;
25 Vec *x,*y,w1,w2;
26 Mat *pmat;
27 Mat *Afield; /* the rows of the matrix associated with each field */
28 PetscTruth issetup;
29 Mat B,C,schur; /* only used when Schur complement preconditioning is used */
30 KSP kspschur;

--- 1018 unchanged lines hidden (view full) ---

1049#define __FUNCT__ "PCFieldSplitSetType"
1050/*@
1051 PCFieldSplitSetType - Sets the type of fieldsplit preconditioner.
1052
1053 Collective on PC
1054
1055 Input Parameter:
1056. pc - the preconditioner context
1057. type - PC_COMPOSITE_ADDITIVE (default), PC_COMPOSITE_MULTIPLICATIVE, PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE
1057. type - PC_COMPOSITE_ADDITIVE (default), PC_COMPOSITE_MULTIPLICATIVE, PC_COMPOSITE_SYMMETRIC_MULTIPLICATIVE, PC_COMPOSITE_SPECIAL, PC_COMPOSITE_SCHUR
1058
1059 Options Database Key:
1058
1059 Options Database Key:
1060. -pc_fieldsplit_type <type: one of multiplicative, additive, symmetric_multiplicative, special> - Sets fieldsplit preconditioner type
1060. -pc_fieldsplit_type <type: one of multiplicative, additive, symmetric_multiplicative, special, schur> - Sets fieldsplit preconditioner type
1061
1062 Level: Developer
1063
1064.keywords: PC, set, type, composite preconditioner, additive, multiplicative
1065
1066.seealso: PCCompositeSetType()
1067
1068@*/

--- 146 unchanged lines hidden ---
1061
1062 Level: Developer
1063
1064.keywords: PC, set, type, composite preconditioner, additive, multiplicative
1065
1066.seealso: PCCompositeSetType()
1067
1068@*/

--- 146 unchanged lines hidden ---