Home
last modified time | relevance | path

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

/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c59 CheckpointType cptype; member
161 static PetscErrorCode ElementCreate(TS ts, CheckpointType cptype, Stack *stack, StackElement *e) in ElementCreate() argument
169 if (HaveSolution(cptype) && !(*e)->X) { in ElementCreate()
173 if (cptype == 1 && (*e)->X) PetscCall(VecDestroy(&(*e)->X)); in ElementCreate()
174 if (HaveStages(cptype) && !(*e)->Y) { in ElementCreate()
178 if (cptype == 0 && (*e)->Y) PetscCall(VecDestroyVecs(stack->numY, &(*e)->Y)); in ElementCreate()
179 (*e)->cptype = cptype; in ElementCreate()
184 if (HaveSolution(cptype)) { in ElementCreate()
188 if (HaveStages(cptype)) { in ElementCreate()
194 (*e)->cptype = cptype; in ElementCreate()
[all …]