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

Public Types

enum  Fit { Stretch, FitWidth, FitHeight, Coord }
 
enum  Channel { R =0, G =1, B =2 }
 

Public Member Functions

 BMP (amrex::Vector< amrex::Geometry > &_geom)
 
 BMP (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
void Define (std::string bmpfilename)
 
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 (BMP &value, IO::ParmParse &pp)
 

Private Attributes

Util::BMP bmp
 
Fit fit = Fit::Stretch
 
Channel channel = Channel::G
 
Set::Scalar min =NAN
 
Set::Scalar max =NAN
 
Set::Vector coord_lo = Set::Vector::Zero()
 
Set::Vector coord_hi = Set::Vector::Zero()
 

Additional Inherited Members

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

Detailed Description

Definition at line 20 of file BMP.H.

Member Enumeration Documentation

◆ Channel

Enumerator

Definition at line 25 of file BMP.H.

◆ Fit

Enumerator
Stretch 
FitWidth 
FitHeight 
Coord 

Definition at line 24 of file BMP.H.

Constructor & Destructor Documentation

◆ BMP() [1/2]

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

Definition at line 27 of file BMP.H.

◆ BMP() [2/2]

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

Definition at line 29 of file BMP.H.

Member Function Documentation

◆ Add()

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

Implements IC::IC.

Definition at line 39 of file BMP.H.

◆ Define()

void IC::BMP::Define ( std::string  bmpfilename)
inline

Definition at line 34 of file BMP.H.

Here is the call graph for this function:

◆ Parse()

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

Definition at line 174 of file BMP.H.

Here is the call graph for this function:

Field Documentation

◆ bmp

Util::BMP IC::BMP::bmp
private

Definition at line 162 of file BMP.H.

◆ channel

Channel IC::BMP::channel = Channel::G
private

Definition at line 167 of file BMP.H.

◆ coord_hi

Set::Vector IC::BMP::coord_hi = Set::Vector::Zero()
private

Definition at line 170 of file BMP.H.

◆ coord_lo

Set::Vector IC::BMP::coord_lo = Set::Vector::Zero()
private

Definition at line 169 of file BMP.H.

◆ fit

Fit IC::BMP::fit = Fit::Stretch
private

Definition at line 166 of file BMP.H.

◆ max

Set::Scalar IC::BMP::max =NAN
private

Definition at line 168 of file BMP.H.

◆ min

Set::Scalar IC::BMP::min =NAN
private

Definition at line 168 of file BMP.H.


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