Custom TSAdaptivity in MoFEM.
More...
Custom TSAdaptivity in MoFEM.
TSAdapt adapt;
CHKERR TSGetAdapt(solver, &adapt);
#define CHKERR
Inline error check.
PetscErrorCode TSAdaptCreateMoFEM(TSAdapt adapt)
Craete MOFEM adapt.
Definition at line 746 of file TsCtx.cpp.
◆ TSAdaptMoFEM()
MoFEM::TSAdaptMoFEM::TSAdaptMoFEM |
( |
| ) |
|
Definition at line 756 of file TsCtx.cpp.
761 PETSC_NULLPTR);
763
765 <<
"TS adaptivity: alpha = " <<
alpha <<
", gamma = " <<
gamma
767}
#define MOFEM_LOG(channel, severity)
Log.
PetscErrorCode PetscOptionsGetInt(PetscOptions *, const char pre[], const char name[], PetscInt *ivalue, PetscBool *set)
PetscErrorCode PetscOptionsGetBool(PetscOptions *, const char pre[], const char name[], PetscBool *bval, PetscBool *set)
PetscErrorCode PetscOptionsGetScalar(PetscOptions *, const char pre[], const char name[], PetscScalar *dval, PetscBool *set)
◆ alpha
double MoFEM::TSAdaptMoFEM::alpha |
◆ desiredIt
int MoFEM::TSAdaptMoFEM::desiredIt |
◆ gamma
double MoFEM::TSAdaptMoFEM::gamma |
◆ offApat
PetscBool MoFEM::TSAdaptMoFEM::offApat |
The documentation for this struct was generated from the following file: