1 #ifndef __ENERGY_RRK_ODESOLVER_H__ 2 #define __ENERGY_RRK_ODESOLVER_H__ 4 #include "dg/dg_base.hpp" 5 #include "rrk_ode_solver_base.h" 6 #include "ode_solver/ode_solver_base.h" 7 #include "ode_solver/runge_kutta_ode_solver.h" 16 template <
int dim,
typename real,
typename MeshType = dealii::Triangulation<dim>>
18 template <
int dim,
typename real,
typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
33 const std::vector<dealii::LinearAlgebra::distributed::Vector<double>> &rk_stage,
34 const dealii::LinearAlgebra::distributed::Vector<double> &
39 const dealii::LinearAlgebra::distributed::Vector<double> &stage_i,
40 const dealii::LinearAlgebra::distributed::Vector<double> &stage_j,
AlgebraicRRKODESolver(std::shared_ptr< RKTableauBase< dim, real, MeshType >> rk_tableau_input)
Default constructor that will set the constants.
Files for the baseline physics.
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 > &) override
real compute_inner_product(const dealii::LinearAlgebra::distributed::Vector< double > &stage_i, const dealii::LinearAlgebra::distributed::Vector< double > &stage_j, std::shared_ptr< DGBase< dim, real, MeshType >> dg) const
Compute inner product according to the nodes being used.
Base class for storing the RK method.
DGBase is independent of the number of state variables.
Relaxation Runge-Kutta ODE solver base class.