![]() |
ryujin 2.1.1 revision ee5cbcbf2346c1299c942d0e1f13b46449973c18
|
#include <source/stub_parabolic_module.h>


Public Types | |
Typedefs and constexpr constants | |
| using | HyperbolicSystem = typename Description::HyperbolicSystem |
| using | ParabolicSystem = typename Description::ParabolicSystem |
| using | View = typename HyperbolicSystem::template View< dim, Number > |
| using | StateVector = typename View::StateVector |
Public Member Functions | |
Constructor and setup | |
| StubParabolicModule (const MPIEnsemble &, const OfflineData< dim, Number > &, const HyperbolicSystem &, const ParabolicSystem &, const InitialValues< Description, dim, Number > &, const std::string &subsection="StubParabolicModule") | |
| void | prepare () |
Functions for performing explicit time steps | |
| void | reinit_state_vector (StateVector &) const |
| void | prepare_state_vector (StateVector &, Number) const |
| template<int stages> | |
| void | backward_euler_step (const StateVector &old_state_vector, const Number, std::array< std::reference_wrapper< const StateVector >, stages >, const std::array< Number, stages >, StateVector &new_state_vector, Number) const |
| void | crank_nicolson_step (const StateVector &old_state_vector, const Number, StateVector &new_state_vector, Number) const |
| void | set_id_violation_strategy (const IDViolationStrategy &) const |
Information and statistics | |
| void | print_solver_statistics (std::ostream &) const |
| unsigned int | n_restarts () const |
| unsigned int | n_corrections () const |
| unsigned int | n_warnings () const |
A stub parabolic solver that models the identity.
Definition at line 25 of file stub_parabolic_module.h.
| using ryujin::StubParabolicModule< Description, dim, Number >::HyperbolicSystem = typename Description::HyperbolicSystem |
Definition at line 33 of file stub_parabolic_module.h.
| using ryujin::StubParabolicModule< Description, dim, Number >::ParabolicSystem = typename Description::ParabolicSystem |
Definition at line 34 of file stub_parabolic_module.h.
| using ryujin::StubParabolicModule< Description, dim, Number >::View = typename HyperbolicSystem::template View<dim, Number> |
Definition at line 36 of file stub_parabolic_module.h.
| using ryujin::StubParabolicModule< Description, dim, Number >::StateVector = typename View::StateVector |
Definition at line 38 of file stub_parabolic_module.h.
|
inline |
Constructor.
Definition at line 49 of file stub_parabolic_module.h.
|
inline |
Prepare time stepping. A call to prepare() allocates temporary storage and is necessary before any of the following time-stepping functions can be called.
Definition at line 65 of file stub_parabolic_module.h.
|
inline |
(Re)initialize the parabolic state vector component of the state vector.
Definition at line 83 of file stub_parabolic_module.h.
|
inline |
This function preprocesses a given state vector U in preparation for a high order IMEX time step. This function exists because some time stepping variants have to precompute quantities before we can perform an IMEX step. In addition, this function is called whenever we perform a mesh transfer or output operation.
Definition at line 95 of file stub_parabolic_module.h.
|
inline |
Given a reference to a previous state vector old_U at time old_t and a time-step size tau perform an implicit backward euler step (and store the result in new_U).
The function takes an optional array of states stage_U together with a an array of weights stage_weights to construct a modified high-order right-hand side / flux.
Definition at line 114 of file stub_parabolic_module.h.
|
inline |
Given a reference to a previous state vector old_U at time old_t and a time-step size tau perform an implicit Crank-Nicolson step (and store the result in new_U).
This variant is used in the TimeIntegrator class for the Strang split variants.
Definition at line 137 of file stub_parabolic_module.h.
|
inline |
Sets the invariant domain violation strategy.
Definition at line 152 of file stub_parabolic_module.h.
|
inline |
Print a status line with solver statistics. This function is used for constructing the status message displayed periodically in the TimeLoop.
Definition at line 169 of file stub_parabolic_module.h.
|
inline |
The number of restarts signalled by the step() function.
Definition at line 177 of file stub_parabolic_module.h.
|
inline |
The number of corrections performed by the step() function. This function exists to mirror the ParabolicModule interface and will always return 0.
Definition at line 187 of file stub_parabolic_module.h.
|
inline |
The number of ID violation warnings encountered in the step() function.
Definition at line 196 of file stub_parabolic_module.h.