Lines Matching refs:lag

67   if (tj->lag.caching) tj->lag.Udotcached.time = PETSC_MIN_REAL;  in TSTrajectorySet()
178 if (U && tj->lag.caching) { in TSTrajectoryGetVecs()
185 …if (id == tj->lag.Ucached.id && *time == tj->lag.Ucached.time && state == tj->lag.Ucached.state) U… in TSTrajectoryGetVecs()
187 …if (id == tj->lag.Ucached.id && stepnum == tj->lag.Ucached.step && state == tj->lag.Ucached.state)… in TSTrajectoryGetVecs()
196 if (Udot && tj->lag.caching) { in TSTrajectoryGetVecs()
203 …if (id == tj->lag.Udotcached.id && *time == tj->lag.Udotcached.time && state == tj->lag.Udotcached… in TSTrajectoryGetVecs()
205 …if (id == tj->lag.Udotcached.id && stepnum == tj->lag.Udotcached.step && state == tj->lag.Udotcach… in TSTrajectoryGetVecs()
246 PetscCall(PetscObjectStateGet((PetscObject)U, &tj->lag.Ucached.state)); in TSTrajectoryGetVecs()
247 PetscCall(PetscObjectGetId((PetscObject)U, &tj->lag.Ucached.id)); in TSTrajectoryGetVecs()
248 tj->lag.Ucached.time = *time; in TSTrajectoryGetVecs()
249 tj->lag.Ucached.step = stepnum; in TSTrajectoryGetVecs()
407 t->lag.order = 1; in TSTrajectoryCreate()
408 t->lag.L = NULL; in TSTrajectoryCreate()
409 t->lag.T = NULL; in TSTrajectoryCreate()
410 t->lag.W = NULL; in TSTrajectoryCreate()
411 t->lag.WW = NULL; in TSTrajectoryCreate()
412 t->lag.TW = NULL; in TSTrajectoryCreate()
413 t->lag.TT = NULL; in TSTrajectoryCreate()
414 t->lag.caching = PETSC_TRUE; in TSTrajectoryCreate()
415 t->lag.Ucached.id = 0; in TSTrajectoryCreate()
416 t->lag.Ucached.state = -1; in TSTrajectoryCreate()
417 t->lag.Ucached.time = PETSC_MIN_REAL; in TSTrajectoryCreate()
418 t->lag.Ucached.step = PETSC_INT_MAX; in TSTrajectoryCreate()
419 t->lag.Udotcached.id = 0; in TSTrajectoryCreate()
420 t->lag.Udotcached.state = -1; in TSTrajectoryCreate()
421 t->lag.Udotcached.time = PETSC_MIN_REAL; in TSTrajectoryCreate()
422 t->lag.Udotcached.step = PETSC_INT_MAX; in TSTrajectoryCreate()
573 PetscCall(VecDestroyVecs((*tj)->lag.order + 1, &(*tj)->lag.W)); in TSTrajectoryDestroy()
574 PetscCall(PetscFree5((*tj)->lag.L, (*tj)->lag.T, (*tj)->lag.WW, (*tj)->lag.TT, (*tj)->lag.TW)); in TSTrajectoryDestroy()
825 …uction_order", "Interpolation order for reconstruction", NULL, tj->lag.order, &tj->lag.order, NULL… in TSTrajectorySetFromOptions()
826 …g", "Turn on/off caching of TSTrajectoryGetVecs input", NULL, tj->lag.caching, &tj->lag.caching, N… in TSTrajectorySetFromOptions()