Home
last modified time | relevance | path

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

/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c124 PetscInt total_steps; /* total number of steps */ member
590 …if (localstepnum == tjsch->stride - 1 && stepnum < tjsch->total_steps - laststridesize) { /* curre… in TopLevelStore()
596 if (localstepnum == 0 && stepnum < tjsch->total_steps - laststridesize) { in TopLevelStore()
604 …if (localstepnum == 0 && stepnum < tjsch->total_steps && stepnum != 0) { /* skip the first stride … in TopLevelStore()
610 if (localstepnum == 1 && stepnum < tjsch->total_steps - laststridesize) { in TopLevelStore()
630 if (stepnum != tjsch->total_steps) tjsch->total_steps = stepnum; in TSTrajectoryMemorySet_N()
687 if (stepnum == tjsch->total_steps) { in TSTrajectoryMemoryGet_N()
725 if (stack->solution_only && stepnum == tjsch->total_steps) PetscFunctionReturn(PETSC_SUCCESS); in TSTrajectoryMemorySet_TLNR()
730 laststridesize = tjsch->total_steps % tjsch->stride; in TSTrajectoryMemorySet_TLNR()
735 …if (!tjsch->save_stack && stepnum < tjsch->total_steps - laststridesize) PetscFunctionReturn(PETSC… in TSTrajectoryMemorySet_TLNR()
[all …]