Alamo
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Attributes
IC::Random Class Reference

#include <Random.H>

Inheritance diagram for IC::Random:
IC::IC< Set::Scalar >

Public Member Functions

 Random (amrex::Vector< amrex::Geometry > &_geom, Set::Scalar a_mult)
 
 Random (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
void Add (const int &lev, Set::Field< Set::Scalar > &a_field, Set::Scalar)
 
virtual void Add (const int &lev, Set::Field< T > &field, Set::Scalar time)=0
 
void Add (const int &lev, Set::Field< T > &field)
 
- Public Member Functions inherited from IC::IC< Set::Scalar >
 IC (amrex::Vector< amrex::Geometry > &_geom)
 
virtual ~IC ()
 
void Add (const int &lev, Set::Field< Set::Scalar > &field)
 
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::Scalar > &a_field, Set::Scalar a_time=0.0)
 
virtual void SetComp (int a_comp) final
 

Static Public Member Functions

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

Static Public Attributes

static constexpr const char * name = "random"
 

Private Attributes

Set::Scalar mult = NAN
 
Set::Scalar offset = NAN
 

Additional Inherited Members

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

Detailed Description

Definition at line 19 of file Random.H.

Constructor & Destructor Documentation

◆ Random() [1/2]

IC::Random::Random ( amrex::Vector< amrex::Geometry > &  _geom,
Set::Scalar  a_mult 
)
inline

Definition at line 24 of file Random.H.

◆ Random() [2/2]

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

Definition at line 27 of file Random.H.

Member Function Documentation

◆ Add() [1/3]

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

Implements IC::IC< Set::Scalar >.

Definition at line 32 of file Random.H.

◆ Add() [2/3]

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

Definition at line 30 of file IC.H.

◆ Add() [3/3]

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

◆ Parse()

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

Definition at line 55 of file Random.H.

Field Documentation

◆ mult

Set::Scalar IC::Random::mult = NAN
private

Definition at line 64 of file Random.H.

◆ name

constexpr const char* IC::Random::name = "random"
staticconstexpr

Definition at line 22 of file Random.H.

◆ offset

Set::Scalar IC::Random::offset = NAN
private

Definition at line 65 of file Random.H.


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