[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::RKTableauBase< dim, real, MeshType > Class Template Referenceabstract

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

#include <rk_tableau_base.h>

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

Public Member Functions

 RKTableauBase (const int n_rk_stages, const std::string rk_method_string_input)
 Default constructor that will set the constants.
 
virtual ~RKTableauBase ()=default
 Destructor.
 
double get_a (const int i, const int j) const
 Returns Butcher tableau "a" coefficient at position [i][j].
 
double get_b (const int i) const
 Returns Butcher tableau "b" coefficient at position [i].
 
double get_c (const int i) const
 Returns Butcher tableau "c" coefficient at position [i].
 
void set_tableau ()
 Calls setters for butcher tableau.
 

Public Attributes

const int n_rk_stages
 Store number of stages.
 

Protected Member Functions

virtual void set_a ()=0
 Setter for butcher_tableau_a.
 
virtual void set_b ()=0
 Setter for butcher_tableau_b.
 
virtual void set_c ()=0
 Setter for butcher_tableau_c.
 

Protected Attributes

dealii::ConditionalOStream pcout
 Parallel std::cout that only outputs on mpi_rank==0.
 
const std::string rk_method_string
 String identifying the RK method.
 
dealii::Table< 2, double > butcher_tableau_a
 Butcher tableau "a".
 
dealii::Table< 1, double > butcher_tableau_b
 Butcher tableau "b".
 
dealii::Table< 1, double > butcher_tableau_c
 Butcher tableau "c".
 

Detailed Description

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

Base class for storing the RK method.

Definition at line 19 of file rk_tableau_base.h.


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