Home
last modified time | relevance | path

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

/honee/src/
H A Dsetupts.c30 PetscErrorCode RHS_NS(TS ts, PetscReal t, Vec Q, Vec G, void *user_data) { in RHS_NS() argument
42 PetscCall(TSGetTimeStep(ts, &dt)); in RHS_NS()
116 PetscErrorCode IFunction_NS(TS ts, PetscReal t, Vec Q, Vec Q_dot, Vec G, void *user_data) { in IFunction_NS() argument
130 PetscCall(TSGetTimeStep(ts, &dt)); in IFunction_NS()
169 PetscErrorCode FormIJacobian_NS(TS ts, PetscReal t, Vec Q, Vec Q_dot, PetscReal shift, Mat J, Mat J… in FormIJacobian_NS() argument
254 PetscErrorCode TSMonitor_WallForce(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_WallForce() argument
295 PetscErrorCode TSMonitor_NS(TS ts, PetscInt step_no, PetscReal time, Vec Q, void *ctx) { in TSMonitor_NS() argument
309 PetscErrorCode TSPostStep_CheckStep(TS ts) { in TSPostStep_CheckStep() argument
316 PetscCall(TSGetApplicationContext(ts, &honee)); in TSPostStep_CheckStep()
317 PetscCall(TSGetStepNumber(ts, &step)); in TSPostStep_CheckStep()
[all …]
H A Dsmartsim_weak.c17 SMARTSIM_WEAK(PetscErrorCode TSMonitor_SGS_DD_Training(TS ts, PetscInt step_num, PetscReal solution…
18 SMARTSIM_WEAK(PetscErrorCode TSPostStep_SGS_DD_Training(TS ts))
20 SMARTSIM_WEAK(PetscErrorCode TSMonitor_SmartSimSolutionSetup(TS ts, PetscInt step_num, PetscReal so…
21 SMARTSIM_WEAK(PetscErrorCode TSMonitor_SmartSimSolution(TS ts, PetscInt step_num, PetscReal solutio…
H A Dmonitor_cfl.c26 PetscErrorCode SetupMontiorCfl(TS ts, PetscViewerAndFormat *ctx) { in SetupMontiorCfl() argument
42 …PetscCheck(is_ascii, PetscObjectComm((PetscObject)ts), PETSC_ERR_SUP, "Only supports ASCII viewers… in SetupMontiorCfl()
43 PetscCall(TSGetApplicationContext(ts, &honee)); in SetupMontiorCfl()
91 PetscCheck(qf_monitor, PetscObjectComm((PetscObject)ts), PETSC_ERR_SUP, in SetupMontiorCfl()
121 PetscCall(PetscObjectGetTabLevel((PetscObject)ts, &tab_level)); in SetupMontiorCfl()
138 PetscErrorCode TSMonitor_Cfl(TS ts, PetscInt step, PetscReal solution_time, Vec Q, PetscViewerAndFo… in TSMonitor_Cfl() argument
146 PetscCall(TSGetConvergedReason(ts, &reason)); in TSMonitor_Cfl()
148 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_Cfl()
149 PetscCall(PetscObjectGetComm((PetscObject)ts, &comm)); in TSMonitor_Cfl()
160 PetscCall(TSGetTimeStep(ts, &dt)); in TSMonitor_Cfl()
H A Dmonitor_totalkineticenergy.c47 PetscErrorCode SetupMontiorTotalKineticEnergy(TS ts, PetscViewerAndFormat *ctx) { in SetupMontiorTotalKineticEnergy() argument
63 …PetscCheck(is_ascii, PetscObjectComm((PetscObject)ts), PETSC_ERR_SUP, "Only supports ASCII viewers… in SetupMontiorTotalKineticEnergy()
64 PetscCall(TSGetApplicationContext(ts, &honee)); in SetupMontiorTotalKineticEnergy()
115 PetscCall(PetscObjectGetTabLevel((PetscObject)ts, &tab_level)); in SetupMontiorTotalKineticEnergy()
132 PetscErrorCode TSMonitor_TotalKineticEnergy(TS ts, PetscInt step, PetscReal solution_time, Vec Q, P… in TSMonitor_TotalKineticEnergy() argument
141 PetscCall(TSGetConvergedReason(ts, &reason)); in TSMonitor_TotalKineticEnergy()
143 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_TotalKineticEnergy()
144 PetscCall(PetscObjectGetComm((PetscObject)ts, &comm)); in TSMonitor_TotalKineticEnergy()
H A Dmisc.c150 PetscErrorCode PostProcess(TS ts, DM dm, ProblemData problem, Honee honee, Vec Q, PetscScalar final… in PostProcess() argument
161 PetscCall(TSGetStepNumber(ts, &steps)); in PostProcess()
162 PetscCall(TSGetConvergedReason(ts, &reason)); in PostProcess()
264 PetscErrorCode PrintRunInfo(Honee honee, Physics phys_ctx, ProblemData problem, TS ts) { in PrintRunInfo() argument
266 MPI_Comm comm = PetscObjectComm((PetscObject)ts); in PrintRunInfo()
318 PetscCall(TSGetIJacobian(ts, &Amat, &Pmat, &ijacob_function, NULL)); in PrintRunInfo()
H A Ddifferential_filter.c328 PetscErrorCode TSMonitor_DifferentialFilterSetup(TS ts, PetscViewerAndFormat *ctx) { in TSMonitor_DifferentialFilterSetup() argument
333 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_DifferentialFilterSetup()
342 PetscErrorCode TSMonitor_DifferentialFilter(TS ts, PetscInt steps, PetscReal solution_time, Vec Q, … in TSMonitor_DifferentialFilter() argument
348 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_DifferentialFilter()
/honee/src/smartsim/
H A Dsolution.c13 PetscErrorCode TSMonitor_SmartSimSolutionSetup(TS ts, PetscViewerAndFormat *ctx) { in TSMonitor_SmartSimSolutionSetup() argument
16 MPI_Comm comm = PetscObjectComm((PetscObject)ts); in TSMonitor_SmartSimSolutionSetup()
19 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_SmartSimSolutionSetup()
33 PetscCall(TSGetDM(ts, &dm)); in TSMonitor_SmartSimSolutionSetup()
46 PetscErrorCode TSMonitor_SmartSimSolution(TS ts, PetscInt step_num, PetscReal solution_time, Vec Q,… in TSMonitor_SmartSimSolution() argument
55 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_SmartSimSolution()
61 PetscCall(TSGetDM(ts, &dm)); in TSMonitor_SmartSimSolution()
H A Dsgs_dd_training.c291 PetscErrorCode TSMonitor_SGS_DD_Training(TS ts, PetscInt step_num, PetscReal solution_time, Vec Q, … in TSMonitor_SGS_DD_Training() argument
390 PetscErrorCode TSPostStep_SGS_DD_Training(TS ts) { in TSPostStep_SGS_DD_Training() argument
400 PetscCall(TSGetApplicationContext(ts, &honee)); in TSPostStep_SGS_DD_Training()
409 PetscCall(TSSetConvergedReason(ts, TS_CONVERGED_USER)); in TSPostStep_SGS_DD_Training()
/honee/include/
H A Dsmartsim.h8 PetscErrorCode TSMonitor_SGS_DD_Training(TS ts, PetscInt step_num, PetscReal solution_time, Vec Q, …
9 PetscErrorCode TSPostStep_SGS_DD_Training(TS ts);
11 PetscErrorCode TSMonitor_SmartSimSolutionSetup(TS ts, PetscViewerAndFormat *ctx);
12 PetscErrorCode TSMonitor_SmartSimSolution(TS ts, PetscInt step_num, PetscReal solution_time, Vec Q,…
H A Dspanstats.h35 PetscErrorCode SpanwiseStatisticsSetupFinalize(TS ts, Honee honee, SpanStatsCtx spanstats, PetscVie…
41 PetscErrorCode SpanwiseStatisticsSetup_Turbulence(TS ts, PetscViewerAndFormat *ctx);
42 PetscErrorCode TSMonitor_SpanwiseStatisticsTurbulence(TS ts, PetscInt steps, PetscReal solution_tim…
44 PetscErrorCode SpanwiseStatisticsSetup_CflPe(TS ts, PetscViewerAndFormat *ctx);
45 PetscErrorCode TSMonitor_SpanwiseStatisticsCflPe(TS ts, PetscInt steps, PetscReal solution_time, Ve…
H A Dnavierstokes.h267 PetscErrorCode PrintRunInfo(Honee honee, Physics phys_ctx, ProblemData problem, TS ts);
287 …onee honee, AppCtx app_ctx, Physics phys, ProblemData problem, Vec Q, PetscScalar *f_time, TS *ts);
316 PetscErrorCode PostProcess(TS ts, DM dm, ProblemData problem, Honee honee, Vec Q, PetscScalar final…
355 PetscErrorCode SetupMontiorTotalKineticEnergy(TS ts, PetscViewerAndFormat *ctx);
356 PetscErrorCode TSMonitor_TotalKineticEnergy(TS ts, PetscInt steps, PetscReal solution_time, Vec Q, …
358 PetscErrorCode SetupMontiorCfl(TS ts, PetscViewerAndFormat *ctx);
359 PetscErrorCode TSMonitor_Cfl(TS ts, PetscInt step, PetscReal solution_time, Vec Q, PetscViewerAndFo…
H A Ddifferential_filter.h25 PetscErrorCode TSMonitor_DifferentialFilterSetup(TS ts, PetscViewerAndFormat *ctx);
26 PetscErrorCode TSMonitor_DifferentialFilter(TS ts, PetscInt steps, PetscReal solution_time, Vec Q, …
/honee/src/spanstats/
H A Dcflpe.c147 PetscErrorCode SpanwiseStatisticsSetup_CflPe(TS ts, PetscViewerAndFormat *ctx) { in SpanwiseStatisticsSetup_CflPe() argument
155 PetscCall(TSGetApplicationContext(ts, &honee)); in SpanwiseStatisticsSetup_CflPe()
157 …cii || honee->app_ctx->test_type != TESTTYPE_NONE, PetscObjectComm((PetscObject)ts), PETSC_ERR_SUP, in SpanwiseStatisticsSetup_CflPe()
181 PetscCall(SpanwiseStatisticsSetupFinalize(ts, honee, spanstats, ctx, &stats_setup_data)); in SpanwiseStatisticsSetup_CflPe()
186 PetscErrorCode TSMonitor_SpanwiseStatisticsCflPe(TS ts, PetscInt steps, PetscReal solution_time, Ve… in TSMonitor_SpanwiseStatisticsCflPe() argument
195 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_SpanwiseStatisticsCflPe()
196 PetscCall(TSGetConvergedReason(ts, &reason)); in TSMonitor_SpanwiseStatisticsCflPe()
203 PetscCall(TSGetTimeStep(ts, &timestep)); in TSMonitor_SpanwiseStatisticsCflPe()
218 PetscViewer viewer = PETSC_VIEWER_STDOUT_(PetscObjectComm((PetscObject)ts)); in TSMonitor_SpanwiseStatisticsCflPe()
223 PetscCall(PetscObjectGetTabLevel((PetscObject)ts, &tab_level)); in TSMonitor_SpanwiseStatisticsCflPe()
H A Dturbulence.c149 PetscErrorCode SpanwiseStatisticsSetup_Turbulence(TS ts, PetscViewerAndFormat *ctx) { in SpanwiseStatisticsSetup_Turbulence() argument
157 PetscCall(TSGetApplicationContext(ts, &honee)); in SpanwiseStatisticsSetup_Turbulence()
159 …cii || honee->app_ctx->test_type != TESTTYPE_NONE, PetscObjectComm((PetscObject)ts), PETSC_ERR_SUP, in SpanwiseStatisticsSetup_Turbulence()
204 PetscCall(SpanwiseStatisticsSetupFinalize(ts, honee, spanstats, ctx, &stats_setup_data)); in SpanwiseStatisticsSetup_Turbulence()
209 PetscErrorCode TSMonitor_SpanwiseStatisticsTurbulence(TS ts, PetscInt steps, PetscReal solution_tim… in TSMonitor_SpanwiseStatisticsTurbulence() argument
217 PetscCall(TSGetApplicationContext(ts, &honee)); in TSMonitor_SpanwiseStatisticsTurbulence()
218 PetscCall(TSGetConvergedReason(ts, &reason)); in TSMonitor_SpanwiseStatisticsTurbulence()
237 PetscViewer viewer = PETSC_VIEWER_STDOUT_(PetscObjectComm((PetscObject)ts)); in TSMonitor_SpanwiseStatisticsTurbulence()
242 PetscCall(PetscObjectGetTabLevel((PetscObject)ts, &tab_level)); in TSMonitor_SpanwiseStatisticsTurbulence()
H A Dspanstats.c383 PetscErrorCode SpanwiseStatisticsSetupFinalize(TS ts, Honee honee, SpanStatsCtx spanstats, PetscVie… in SpanwiseStatisticsSetupFinalize() argument
392 PetscCall(TSGetTime(ts, &spanstats->initial_solution_time)); in SpanwiseStatisticsSetupFinalize()
393 PetscCall(TSGetStepNumber(ts, &spanstats->initial_solution_step)); in SpanwiseStatisticsSetupFinalize()
/honee/examples/
H A Dnavierstokes.c157 TS ts; in main() local
159 PetscCall(TSSolve_NS(dm, honee, app_ctx, phys_ctx, problem, Q, &final_time, &ts)); in main()
164 PetscCall(PostProcess(ts, dm, problem, honee, Q, final_time)); in main()
169 PetscCall(TSDestroy(&ts)); in main()
/honee/tests/junit-xml/
H A DREADME.rst48 ts = TestSuite("my test suite", test_cases)
50 print(TestSuite.to_xml_string([ts]))
76 TestSuite.to_file(f, [ts], prettyprint=False)
/honee/tests/junit-xml/junit_xml/
H A D__init__.py289 for ts in test_suites:
290 ts_xml = ts.build_xml_doc(encoding=encoding)
/honee/doc/
H A Dtheory.md148 $$ (eq-ts-implicit-ns)
157 Each nonlinear system {eq}`eq-ts-implicit-ns` will correspond to a weak form, as explained below.
158 In determining how difficult a given problem is to solve, we consider the Jacobian of {eq}`eq-ts-im…
168 …me stepping solvers can be found in the [TS User Guide](https://petsc.org/release/docs/manual/ts/).