Home
last modified time | relevance | path

Searched refs:inType (Results 1 – 2 of 2) sorted by relevance

/petsc/src/mat/interface/
H A Dmatreg.c31 MatType inType; in MatGetRootType_Private() local
35 PetscCall(MatGetType(mat, &inType)); in MatGetRootType_Private()
37 PetscCall(PetscStrcmp(inType, names->mname, &found)); in MatGetRootType_Private()
38 if (!found) PetscCall(PetscStrcmp(inType, names->sname, &found)); in MatGetRootType_Private()
46 if (!found) *rootType = inType; in MatGetRootType_Private()
68 MatType inType; in MatGetMPIMatType_Private() local
72 PetscCall(MatGetType(mat, &inType)); in MatGetMPIMatType_Private()
74 PetscCall(PetscStrcmp(inType, names->sname, &found)); in MatGetMPIMatType_Private()
75 if (!found) PetscCall(PetscStrcmp(inType, names->mname, &found)); in MatGetMPIMatType_Private()
76 if (!found) PetscCall(PetscStrcmp(inType, names->rname, &found)); in MatGetMPIMatType_Private()
/petsc/src/snes/tests/
H A Dex8.c519 static PetscErrorCode CheckTransfer(DM dm, InterpType inType, PetscInt order, AppCtx *user) in CheckTransfer() argument
538 switch (inType) { in CheckTransfer()
563 switch (inType) { in CheckTransfer()
579 if (user->K && (inType == INTERPOLATION)) { in CheckTransfer()