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

Public Types

enum  Type { Partition, Values }
 

Public Member Functions

 PS (amrex::Vector< amrex::Geometry > &a_geom)
 
 PS (amrex::Vector< amrex::Geometry > &a_geom, int a_nspheres, Set::Scalar a_matrix, Set::Scalar a_inclusion)
 
void Define (int a_nspheres, Set::Scalar a_matrix, Set::Scalar a_inclusion)
 
void Add (const int &lev, Set::Field< Set::Scalar > &a_field)
 
- 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, Set::Scalar time)=0
 
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 (PS &value, IO::ParmParse &pp)
 

Private Attributes

int nspheres
 
Set::Scalar matrix =0.0
 
Set::Scalar inclusion =1.0
 
std::vector< Set::Scalarradii
 
std::vector< Set::Vectorpoints
 

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 PS.H.

Member Enumeration Documentation

◆ Type

Enumerator
Partition 
Values 

Definition at line 21 of file PS.H.

Constructor & Destructor Documentation

◆ PS() [1/2]

IC::PS::PS ( amrex::Vector< amrex::Geometry > &  a_geom)
inline

Definition at line 23 of file PS.H.

◆ PS() [2/2]

IC::PS::PS ( amrex::Vector< amrex::Geometry > &  a_geom,
int  a_nspheres,
Set::Scalar  a_matrix,
Set::Scalar  a_inclusion 
)
inline

Definition at line 25 of file PS.H.

Here is the call graph for this function:

Member Function Documentation

◆ Add()

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

Reimplemented from IC::IC.

Definition at line 48 of file PS.H.

Here is the call graph for this function:

◆ Define()

void IC::PS::Define ( int  a_nspheres,
Set::Scalar  a_matrix,
Set::Scalar  a_inclusion 
)
inline

Definition at line 31 of file PS.H.

Here is the call graph for this function:

◆ Parse()

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

Definition at line 105 of file PS.H.

Here is the call graph for this function:

Field Documentation

◆ inclusion

Set::Scalar IC::PS::inclusion =1.0
private

Definition at line 100 of file PS.H.

◆ matrix

Set::Scalar IC::PS::matrix =0.0
private

Definition at line 100 of file PS.H.

◆ nspheres

int IC::PS::nspheres
private

Definition at line 99 of file PS.H.

◆ points

std::vector<Set::Vector> IC::PS::points
private

Definition at line 102 of file PS.H.

◆ radii

std::vector<Set::Scalar> IC::PS::radii
private

Definition at line 101 of file PS.H.


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