include/pops/numerics/time/integrators/ssprk.hpp File ReferenceΒΆ

adc_cpp: include/pops/numerics/time/integrators/ssprk.hpp File Reference
adc_cpp 0.3.0
Model-free C++23 core for coupled hyperbolic-elliptic systems on adaptive (AMR) meshes, with MPI and GPU (Kokkos) backends
ssprk.hpp File Reference

Free convenience function advance_ssprk2: one single-level SSP-RK2 step that assembles the residual evaluator (fill_ghosts + assemble_rhs) and delegates to SSPRK2Step. More...

+ Include dependency graph for ssprk.hpp:

Go to the source code of this file.

Namespaces

namespace  pops
 

Functions

template<class Limiter = NoSlope, class NumericalFlux = RusanovFlux, class Model >
void pops::advance_ssprk2 (const Model &model, MultiFab &U, const MultiFab &aux, const Geometry &geom, const BCRec &bc, Real dt)
 

Detailed Description

Free convenience function advance_ssprk2: one single-level SSP-RK2 step that assembles the residual evaluator (fill_ghosts + assemble_rhs) and delegates to SSPRK2Step.

Layer: include/pops/numerics/time. Role: call sugar. The RK scheme lives in time_steppers.hpp (SSPRK2Step object); this header only provides the residual evaluator and delegates, to avoid duplicating the combination. Contract: aux is assumed fixed during the step.