Searched refs:adjoint_mode (Results 1 – 1 of 1) sorted by relevance
520 …scErrorCode UpdateTS(TS ts, Stack *stack, StackElement e, PetscInt stepnum, PetscBool adjoint_mode) in UpdateTS() argument527 …if (!adjoint_mode || (HaveSolution(e->cptype) && e->stepnum != stepnum)) PetscCall(VecCopy(e->X, t… in UpdateTS()536 if (adjoint_mode) { in UpdateTS()