1 #ifndef __SET_INITIAL_CONDITION_H__     2 #define __SET_INITIAL_CONDITION_H__     6 #include "dg/dg_base.hpp"     7 #include "initial_condition_function.h"     8 #include "parameters/all_parameters.h"    13 template <
int dim, 
int nstate, 
typename real>
    45         const std::string input_filename_prefix);
 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. 
Class for setting/applying the initial condition. 
Files for the baseline physics. 
Main parameter class that contains the various other sub-parameter classes. 
Initial condition function used to initialize a particular flow setup/case. 
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 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. 
DGBase is independent of the number of state variables. 
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.