1 #include "low_storage_rk_tableau_base.h" 7 template <
int dim,
typename real,
typename MeshType>
9 const std::string rk_method_string_input)
10 : rk_method_string(rk_method_string_input)
11 , pcout(
std::cout, dealii::Utilities::MPI::this_mpi_process(MPI_COMM_WORLD)==0)
19 template <
int dim,
typename real,
typename MeshType>
29 template <
int dim,
typename real,
typename MeshType>
35 template <
int dim,
typename real,
typename MeshType>
41 template <
int dim,
typename real,
typename MeshType>
47 template <
int dim,
typename real,
typename MeshType>
LowStorageRKTableauBase(const int n_rk_stages, const int num_delta, const std::string rk_method_string_input)
Default constructor that will set the constants.
double get_b_hat(const int i) const
Returns Butcher tableau "b hat" coefficient at position [i].
double get_beta(const int i) const
Returns Butcher tableau "beta" coefficient at position [i].
dealii::Table< 1, double > butcher_tableau_b_hat
Butcher tableau "b hat".
double get_gamma(const int i, const int j) const
Returns Butcher tableau "gamma" coefficient at position [i][j].
dealii::Table< 2, double > butcher_tableau_gamma
Butcher tableau "gamma".
Files for the baseline physics.
Base class for storing the RK method.
void set_tableau()
Calls setters for butcher tableau.
dealii::ConditionalOStream pcout
Parallel std::cout that only outputs on mpi_rank==0.
virtual void set_gamma()=0
Setter for gamma.
virtual void set_b_hat()=0
Setter for b hat.
dealii::Table< 1, double > butcher_tableau_beta
Butcher tableau "beta".
virtual void set_beta()=0
Setter for beta.
const std::string rk_method_string
String identifying the RK method.
dealii::Table< 1, double > butcher_tableau_delta
Butcher tableau "delta".
virtual void set_delta()=0
Setter for delta.
double get_delta(const int i) const
Returns Butcher tableau "delta" coefficient at position [i].