1 #ifndef __RRK_ODE_SOLVER_BASE_H__ 2 #define __RRK_ODE_SOLVER_BASE_H__ 4 #include "dg/dg_base.hpp" 5 #include "ode_solver/runge_kutta_ode_solver.h" 6 #include "ode_solver/relaxation_runge_kutta/runge_kutta_store_entropy.h" 13 template <
int dim,
typename real,
typename MeshType = dealii::Triangulation<dim>>
15 template <
int dim,
typename real,
typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
36 const std::vector<dealii::LinearAlgebra::distributed::Vector<double>> &rk_stage,
37 const dealii::LinearAlgebra::distributed::Vector<double> & solution_update)
override;
45 const std::vector<dealii::LinearAlgebra::distributed::Vector<double>> &rk_stage,
46 const dealii::LinearAlgebra::distributed::Vector<double> &
RRKODESolverBase(std::shared_ptr< RKTableauBase< dim, real, MeshType >> rk_tableau_input)
Constructor.
real relaxation_parameter
Relaxation Runge-Kutta parameter gamma^n.
Files for the baseline physics.
real update_relaxation_parameter(const real dt, std::shared_ptr< DGBase< dim, real, MeshType >> dg, const std::vector< dealii::LinearAlgebra::distributed::Vector< double >> &rk_stage, const dealii::LinearAlgebra::distributed::Vector< double > &solution_update) override
Base class for storing the RK method.
DGBase is independent of the number of state variables.
Relaxation Runge-Kutta ODE solver base class.
virtual real compute_relaxation_parameter(const real dt, std::shared_ptr< DGBase< dim, real, MeshType >> dg, const std::vector< dealii::LinearAlgebra::distributed::Vector< double >> &rk_stage, const dealii::LinearAlgebra::distributed::Vector< double > &)=0