Searched refs:max_steps (Results 1 – 11 of 11) sorted by relevance
| /petsc/src/ts/tutorials/ |
| H A D | ex20td.c | 71 PetscInt max_steps; /* number of steps to run ts for */ member 268 user.max_steps = 5; in main() 269 user.time_step = user.final_time / user.max_steps; in main() 275 PetscCall(VecCreateSeq(PETSC_COMM_WORLD, user.max_steps, &user.mu1)); in main() 276 PetscCall(VecCreateSeq(PETSC_COMM_WORLD, user.max_steps, &user.mu2)); in main() 285 PetscCall(VecCreateSeq(PETSC_COMM_WORLD, user.max_steps, &user.sens_mu1)); in main() 286 PetscCall(VecCreateSeq(PETSC_COMM_WORLD, user.max_steps, &user.sens_mu2)); in main() 301 …== SA_GLOBAL) PetscCall(MatSetSizes(user.Jacp, PETSC_DECIDE, PETSC_DECIDE, 2, user.max_steps * 2)); in main() 319 PetscCall(TSSetTimeStep(ts, user.final_time / user.max_steps)); in main() 381 for (user.adj_idx = user.max_steps; user.adj_idx > 0; user.adj_idx--) { in main()
|
| /petsc/src/ts/interface/ |
| H A D | tscreate.c | 49 PetscObjectParameterSetDefault(t, max_steps, PETSC_INT_MAX); in TSCreate()
|
| H A D | ts.c | 123 …o (possibly with non-zero starting value)", "TSSetMaxSteps", ts->max_steps, &ts->max_steps, NULL)); in TSSetFromOptions() 1926 …if (ts->max_steps < PETSC_INT_MAX) PetscCall(PetscViewerASCIIPrintf(viewer, " maximum steps=%" Pe… in TSView() 2833 ts->max_steps = ts->default_max_steps; in TSSetMaxSteps() 2836 ts->max_steps = maxsteps; in TSSetMaxSteps() 2861 *maxsteps = ts->max_steps; in TSGetMaxSteps() 3016 *maxsteps = ts->max_steps; in TSGetDuration() 3506 …PetscCheck(ts->max_time < PETSC_MAX_REAL || ts->run_steps != PETSC_INT_MAX || ts->max_steps != PET… in TSStep() 4072 …PetscCheck(ts->max_time < PETSC_MAX_REAL || ts->run_steps != PETSC_INT_MAX || ts->max_steps != PET… in TSSolve() 4172 if (ts->steps >= ts->max_steps) ts->reason = TS_CONVERGED_ITS; in TSSolve() 4204 else if (ts->steps >= ts->max_steps) ts->reason = TS_CONVERGED_ITS; in TSSolve() [all …]
|
| /petsc/src/ts/tests/ |
| H A D | ex3.c | 45 PetscInt i, m, nz, steps, max_steps, k, nphase = 1; in main() local 66 max_steps = 10000; in main() 169 PetscCall(TSSetMaxSteps(ts, max_steps)); in main()
|
| /petsc/src/ts/impls/implicit/sundials/ |
| H A D | sundials.c | 152 …MT ". Increase '-ts_max_steps <>' or modify TSSetMaxSteps()", (double)tcur, nsteps, ts->max_steps); in TSStep_Sundials() 354 PetscCallExternal(CVodeSetMaxNumSteps, cvode->mem, ts->max_steps); in TSSetUp_Sundials()
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 315 …PetscObjectParameterDeclare(PetscInt, max_steps); /* maximum time-step number to execute until (po…
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | TS.pyx | 1865 def setMaxSteps(self, max_steps: int) -> None: 1874 max_steps 1882 cdef PetscInt ival = asInt(max_steps) 3230 property max_steps:
|
| H A D | libpetsc4py.pyx | 2383 PetscInt max_steps
|
| /petsc/src/ts/trajectory/impls/memory/ |
| H A D | trajmemory.c | 2048 if (fixedtimestep) tjsch->total_steps = PetscMin(ts->max_steps, total_steps); in TSTrajectorySetUp_Memory() 2187 …if (tjsch->max_cps_ram == -1) stack->stacksize = ts->max_steps < PETSC_INT_MAX ? ts->max_steps : 1… in TSTrajectorySetUp_Memory()
|
| /petsc/src/ts/impls/implicit/glle/ |
| H A D | glle.c | 870 for (k = 0, final_step = PETSC_FALSE, finish = PETSC_FALSE; k < ts->max_steps && !finish; k++) { in TSSolve_GLLE()
|
| /petsc/doc/manual/ |
| H A D | ksp.md | 191 KSPGMRESSetRestart(KSP ksp,PetscInt max_steps); 195 `scale=1.0, emax=0.01, emin=100.0`, and `max_steps=30`. The
|