Alamo
Public Member Functions | Protected Attributes
IC::IC< T > Class Template Referenceabstract

#include <IC.H>

Public Member Functions

 IC (amrex::Vector< amrex::Geometry > &_geom)
 
virtual ~IC ()
 
virtual void Add (const int &lev, Set::Field< T > &field, Set::Scalar time)=0
 
void Add (const int &lev, Set::Field< T > &field)
 
template<typename U = T, typename std::enable_if_t< std::is_arithmetic_v< U >, int > = 0>
void Initialize (const int &a_lev, Set::Field< T > &a_field, Set::Scalar a_time=0.0)
 
template<typename U = T, typename std::enable_if_t<!std::is_arithmetic_v< U >, int > = 0>
void Initialize (const int &a_lev, Set::Field< T > &a_field, Set::Scalar a_time=0.0)
 
virtual void SetComp (int a_comp) final
 

Protected Attributes

amrex::Vector< amrex::Geometry > & geom
 
int comp = 0
 

Detailed Description

template<class T = Set::Scalar>
class IC::IC< T >

Definition at line 22 of file IC.H.

Constructor & Destructor Documentation

◆ IC()

template<class T = Set::Scalar>
IC::IC< T >::IC ( amrex::Vector< amrex::Geometry > &  _geom)
inline

Definition at line 25 of file IC.H.

◆ ~IC()

template<class T = Set::Scalar>
virtual IC::IC< T >::~IC ( )
inlinevirtual

Definition at line 27 of file IC.H.

Member Function Documentation

◆ Add() [1/2]

template<class T = Set::Scalar>
void IC::IC< T >::Add ( const int &  lev,
Set::Field< T > &  field 
)
inline

Definition at line 30 of file IC.H.

◆ Add() [2/2]

template<class T = Set::Scalar>
virtual void IC::IC< T >::Add ( const int &  lev,
Set::Field< T > &  field,
Set::Scalar  time 
)
pure virtual

◆ Initialize() [1/2]

template<class T = Set::Scalar>
template<typename U = T, typename std::enable_if_t< std::is_arithmetic_v< U >, int > = 0>
void IC::IC< T >::Initialize ( const int &  a_lev,
Set::Field< T > &  a_field,
Set::Scalar  a_time = 0.0 
)
inline

Definition at line 39 of file IC.H.

◆ Initialize() [2/2]

template<class T = Set::Scalar>
template<typename U = T, typename std::enable_if_t<!std::is_arithmetic_v< U >, int > = 0>
void IC::IC< T >::Initialize ( const int &  a_lev,
Set::Field< T > &  a_field,
Set::Scalar  a_time = 0.0 
)
inline

Definition at line 50 of file IC.H.

◆ SetComp()

template<class T = Set::Scalar>
virtual void IC::IC< T >::SetComp ( int  a_comp)
inlinefinalvirtual

Definition at line 59 of file IC.H.

Field Documentation

◆ comp

template<class T = Set::Scalar>
int IC::IC< T >::comp = 0
protected

Definition at line 62 of file IC.H.

◆ geom

template<class T = Set::Scalar>
amrex::Vector<amrex::Geometry>& IC::IC< T >::geom
protected

Definition at line 61 of file IC.H.


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