Alamo
Public Member Functions | Static Public Member Functions | Private Attributes
IC::Constant Class Reference
Inheritance diagram for IC::Constant:
[legend]
Collaboration diagram for IC::Constant:
[legend]

Public Member Functions

 Constant (amrex::Vector< amrex::Geometry > &_geom)
 
 Constant (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp)
 
 Constant (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
 Constant (amrex::Vector< amrex::Geometry > &_geom, std::vector< amrex::Real > a_value)
 
 ~Constant ()
 
void Add (const int &lev, Set::Field< Set::Scalar > &a_field, Set::Scalar)
 
- Public Member Functions inherited from IC::IC
 IC (amrex::Vector< amrex::Geometry > &_geom)
 
virtual ~IC ()
 
virtual void Add (const int &lev, Set::Field< Set::Scalar > &field)
 
virtual void Add (const int &, Set::Field< Set::Vector > &, Set::Scalar)
 
void Initialize (const int &a_lev, Set::Field< Set::Scalar > &a_field, Set::Scalar a_time=0.0)
 
void Initialize (const int &a_lev, Set::Field< Set::Vector > &a_field, Set::Scalar a_time=0.0)
 
virtual void SetComp (int a_comp) final
 

Static Public Member Functions

static void Parse (Constant &value, IO::ParmParse &pp)
 

Private Attributes

std::vector< Set::Scalarm_value
 

Additional Inherited Members

- Protected Attributes inherited from IC::IC
amrex::Vector< amrex::Geometry > & geom
 
int comp = 0
 

Detailed Description

Definition at line 18 of file Constant.H.

Constructor & Destructor Documentation

◆ Constant() [1/4]

IC::Constant::Constant ( amrex::Vector< amrex::Geometry > &  _geom)
inline

Definition at line 21 of file Constant.H.

◆ Constant() [2/4]

IC::Constant::Constant ( amrex::Vector< amrex::Geometry > &  _geom,
IO::ParmParse pp 
)
inline

Definition at line 22 of file Constant.H.

◆ Constant() [3/4]

IC::Constant::Constant ( amrex::Vector< amrex::Geometry > &  _geom,
IO::ParmParse pp,
std::string  name 
)
inline

Definition at line 24 of file Constant.H.

◆ Constant() [4/4]

IC::Constant::Constant ( amrex::Vector< amrex::Geometry > &  _geom,
std::vector< amrex::Real >  a_value 
)
inline

Definition at line 27 of file Constant.H.

◆ ~Constant()

IC::Constant::~Constant ( )
inline

Definition at line 30 of file Constant.H.

Member Function Documentation

◆ Add()

void IC::Constant::Add ( const int &  lev,
Set::Field< Set::Scalar > &  a_field,
Set::Scalar   
)
inlinevirtual

Implements IC::IC.

Definition at line 31 of file Constant.H.

Here is the call graph for this function:

◆ Parse()

static void IC::Constant::Parse ( Constant value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 44 of file Constant.H.

Field Documentation

◆ m_value

std::vector<Set::Scalar> IC::Constant::m_value
private

Definition at line 52 of file Constant.H.


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