ryujin 2.1.1 revision 0348cbb53a3e4b1da2a4c037e81f88f2d21ce219
Public Types | Static Public Member Functions | List of all members
ryujin::InitialStateLibrary< Description, dim, Number > Class Template Reference

#include <source/initial_state_library.h>

Public Types

using HyperbolicSystem = typename Description::HyperbolicSystem
 
using initial_state_list_type = std::set< std::unique_ptr< InitialState< Description, dim, Number > > >
 

Static Public Member Functions

static void populate_initial_state_list (initial_state_list_type &initial_state_list, const HyperbolicSystem &h, const std::string &s)
 

Detailed Description

template<typename Description, int dim, typename Number>
class ryujin::InitialStateLibrary< Description, dim, Number >

A "factory" class that is used to populate a list of all possible initial states for a given equation desribed by Description.

This works by specializing the static member function populate_initial_state_list for all possible equation Description.

Definition at line 98 of file initial_state_library.h.

Member Typedef Documentation

◆ HyperbolicSystem

template<typename Description , int dim, typename Number >
using ryujin::InitialStateLibrary< Description, dim, Number >::HyperbolicSystem = typename Description::HyperbolicSystem

Definition at line 104 of file initial_state_library.h.

◆ initial_state_list_type

template<typename Description , int dim, typename Number >
using ryujin::InitialStateLibrary< Description, dim, Number >::initial_state_list_type = std::set<std::unique_ptr<InitialState<Description, dim, Number> >>

The type of the initial state list

Definition at line 109 of file initial_state_library.h.

Member Function Documentation

◆ populate_initial_state_list()

template<typename Description , int dim, typename Number >
static void ryujin::InitialStateLibrary< Description, dim, Number >::populate_initial_state_list ( initial_state_list_type initial_state_list,
const HyperbolicSystem h,
const std::string &  s 
)
static

Populate a given container with all initial states defined for the given equation Description and dimension dim.

Referenced by ryujin::InitialValues< Description, dim, Number >::InitialValues().


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