[P]arallel [Hi]gh-order [Li]brary for [P]DEs  Latest
Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
PHiLiP::ODE::LowStorageRKTableauBase< dim, real, MeshType > Class Template Referenceabstract

Base class for storing the RK method. More...

#include <low_storage_rk_tableau_base.h>

Inheritance diagram for PHiLiP::ODE::LowStorageRKTableauBase< dim, real, MeshType >:
Collaboration diagram for PHiLiP::ODE::LowStorageRKTableauBase< dim, real, MeshType >:

Public Member Functions

 LowStorageRKTableauBase (const int n_rk_stages, const int num_delta, const std::string rk_method_string_input)
 Default constructor that will set the constants.
 
virtual ~LowStorageRKTableauBase ()=default
 Destructor.
 
double get_gamma (const int i, const int j) const
 Returns Butcher tableau "gamma" coefficient at position [i][j].
 
double get_beta (const int i) const
 Returns Butcher tableau "beta" coefficient at position [i].
 
double get_delta (const int i) const
 Returns Butcher tableau "delta" coefficient at position [i].
 
double get_b_hat (const int i) const
 Returns Butcher tableau "b hat" coefficient at position [i].
 
void set_tableau ()
 Calls setters for butcher tableau.
 

Protected Member Functions

virtual void set_gamma ()=0
 Setter for gamma.
 
virtual void set_beta ()=0
 Setter for beta.
 
virtual void set_delta ()=0
 Setter for delta.
 
virtual void set_b_hat ()=0
 Setter for b hat.
 

Protected Attributes

const std::string rk_method_string
 String identifying the RK method.
 
dealii::ConditionalOStream pcout
 Parallel std::cout that only outputs on mpi_rank==0.
 
dealii::Table< 2, double > butcher_tableau_gamma
 Butcher tableau "gamma".
 
dealii::Table< 1, double > butcher_tableau_beta
 Butcher tableau "beta".
 
dealii::Table< 1, double > butcher_tableau_delta
 Butcher tableau "delta".
 
dealii::Table< 1, double > butcher_tableau_b_hat
 Butcher tableau "b hat".
 

Detailed Description

template<int dim, typename real, typename MeshType = dealii::parallel::distributed::Triangulation<dim>>
class PHiLiP::ODE::LowStorageRKTableauBase< dim, real, MeshType >

Base class for storing the RK method.

Definition at line 19 of file low_storage_rk_tableau_base.h.


The documentation for this class was generated from the following files: