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

Class for setting/applying the initial condition. More...

#include <set_initial_condition.h>

Collaboration diagram for PHiLiP::SetInitialCondition< dim, nstate, real >:

Static Public Member Functions

static void set_initial_condition (std::shared_ptr< InitialConditionFunction< dim, nstate, double > > initial_condition_function_input, std::shared_ptr< PHiLiP::DGBase< dim, real > > dg_input, const Parameters::AllParameters *const parameters_input)
 Applies the given initial condition function to the given dg object.
 

Static Private Member Functions

static void interpolate_initial_condition (std::shared_ptr< InitialConditionFunction< dim, nstate, double > > &initial_condition_function, std::shared_ptr< PHiLiP::DGBase< dim, real > > &dg)
 Interpolates the initial condition function onto the dg solution.
 
static void project_initial_condition (std::shared_ptr< InitialConditionFunction< dim, nstate, double > > &initial_condition_function, std::shared_ptr< PHiLiP::DGBase< dim, real > > &dg)
 Projects the initial condition function physical value onto the dg solution modal coefficients.
 
static void read_values_from_file_and_project (std::shared_ptr< PHiLiP::DGBase< dim, real > > &dg, const std::string input_filename_prefix)
 Reads values from file and projects.
 

Detailed Description

template<int dim, int nstate, typename real>
class PHiLiP::SetInitialCondition< dim, nstate, real >

Class for setting/applying the initial condition.

Definition at line 14 of file set_initial_condition.h.


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