Home
last modified time | relevance | path

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

/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c49 #define HaveSolution(m) ((m) == SOLUTIONONLY || (m) == SOLUTION_STAGES) macro
169 if (HaveSolution(cptype) && !(*e)->X) { in ElementCreate()
184 if (HaveSolution(cptype)) { in ElementCreate()
205 if (HaveSolution((*e)->cptype)) PetscCall(VecCopy(X, (*e)->X)); in ElementSet()
307 if (HaveSolution(cptype)) PetscCall(VecView(X, viewer)); in WriteToDisk()
311 if (stifflyaccurate && i == numY - 1 && HaveSolution(cptype)) continue; in WriteToDisk()
324 if (HaveSolution(cptype)) PetscCall(VecLoad(X, viewer)); in ReadFromDisk()
328 if (stifflyaccurate && i == numY - 1 && HaveSolution(cptype)) continue; in ReadFromDisk()
527 …if (!adjoint_mode || (HaveSolution(e->cptype) && e->stepnum != stepnum)) PetscCall(VecCopy(e->X, t… in UpdateTS()
1060 if (HaveSolution(e->cptype)) PetscCall(VecCopy(X, e->X)); in TSTrajectoryMemorySet_RON()