Home
last modified time | relevance | path

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

/petsc/src/snes/tutorials/
H A Dex36.c31 const char *modTypes[NUM_MOD_TYPES + 1] = {"constant", "oscillatory", "tanh", "unknown"}; variable
120 …(PetscOptionsEList("-mod_type", "The model type", "ex36.c", modTypes, NUM_MOD_TYPES, modTypes[opti… in ProcessOptions()
178 …etscObject)ds), PETSC_ERR_ARG_WRONG, "Unsupported model type: %s (%d)", modTypes[PetscMin(user->mo… in SetupPrimalProblem()
/petsc/src/ts/tutorials/
H A Dex76.c44 const char *modTypes[NUM_MOD_TYPES + 1] = {"incompressible", "conducting", "unknown"}; variable
1130 …(PetscOptionsEList("-mod_type", "The model type", "ex76.c", modTypes, NUM_MOD_TYPES, modTypes[opti… in ProcessOptions()
1385 …etscObject)ds), PETSC_ERR_ARG_WRONG, "Unsupported model type: %s (%d)", modTypes[PetscMin(user->mo… in SetupProblem()