Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/power_grid/output/
H A Dex3sa_2.out2 trajectory sensitivity: d[phi(tf)]/d[pm] d[omega(tf)]/d[pm]
/petsc/share/petsc/matlab/
H A DPetscReadBinaryTrajectory.m5 % Read in the trajectory information saved in a folder of PETSc binary file
18 error('Can not find the folder of trajectory files!');
/petsc/doc/manualpages/MANSECHeaders/
H A DSensitivity10 …terest may depend on the final solution to the ODE/DAE or on the whole trajectory (taking an integ…
/petsc/src/ts/interface/
H A Dts.c423 tflg = ts->trajectory ? PETSC_TRUE : PETSC_FALSE; in TSSetFromOptions()
433 if (ts->trajectory) PetscCall(TSTrajectorySetFromOptions(ts->trajectory, ts)); in TSSetFromOptions()
467 *tr = ts->trajectory; in TSGetTrajectory()
497 …if (!ts->trajectory) PetscCall(TSTrajectoryCreate(PetscObjectComm((PetscObject)ts), &ts->trajector… in TSSetSaveTrajectory()
517 if (ts->trajectory) { in TSResetTrajectory()
518 PetscCall(TSTrajectoryDestroy(&ts->trajectory)); in TSResetTrajectory()
519 PetscCall(TSTrajectoryCreate(PetscObjectComm((PetscObject)ts), &ts->trajectory)); in TSResetTrajectory()
540 if (ts->trajectory) PetscCall(TSTrajectoryDestroy(&ts->trajectory)); in TSRemoveTrajectory()
2672 PetscCall(TSTrajectoryDestroy(&(*ts)->trajectory)); in TSDestroy()
3501 PetscCall(TSTrajectorySetUp(ts->trajectory, ts)); in TSStep()
[all …]
/petsc/src/ts/trajectory/impls/memory/
H A Dtrajmemory.c154 if (!ts->trajectory->adjoint_solve_mode) PetscFunctionReturn(PETSC_SUCCESS); in TurnBackward()
365 ts->trajectory->diskwrites++; in StackDumpAll()
373 ts->trajectory->diskwrites++; in StackDumpAll()
403 ts->trajectory->diskreads++; in StackLoadAll()
410 ts->trajectory->diskreads++; in StackLoadAll()
460 ts->trajectory->diskreads++; in StackLoadLast()
491 ts->trajectory->diskwrites++; in DumpSingle()
515 ts->trajectory->diskreads++; in LoadSingle()
558 PetscCall(TSTrajectorySet_Memory(ts->trajectory, ts, ts->steps, ts->ptime, ts->vec_sol)); in ReCompute()
564 PetscCall(TSTrajectorySet_Memory(ts->trajectory, ts, ts->steps, ts->ptime, ts->vec_sol)); in ReCompute()
[all …]
/petsc/src/ts/interface/sensitivity/
H A Dtssen.c1590 PetscCall(TSTrajectoryGet(ts->trajectory, ts, ts->steps, &ts->ptime)); in TSAdjointSolve()
1597 PetscCall(TSTrajectoryGet(ts->trajectory, ts, ts->steps, &ts->ptime)); in TSAdjointSolve()
1601 PetscCall(TSTrajectoryViewFromOptions(ts->trajectory, NULL, "-ts_trajectory_view")); in TSAdjointSolve()
/petsc/include/petsc/private/
H A Dtsimpl.h198 TSTrajectory trajectory; /* All solutions are kept here for the entire time integration process */ member
/petsc/doc/manual/
H A Dts.md1244 trajectory. The governing ODE system is
1334 whole trajectory to disk as binary files, each of which contains the
1336 values (optional). One can also make PETSc store the trajectory to
1364 trajectory for visualization. It stores the solution and the time,
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DTS.pyx2602 """Enable to save solutions as an internal `TS` trajectory.
2611 ``-ts_save_trajectory`` can be used to save a trajectory to a file.
2621 """Remove the internal `TS` trajectory object.