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

#include <BMP.H>

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

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)
 
 BMP (amrex::Vector< amrex::Geometry > &_geom, Unit a_unit, 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< 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 (BMP &value, IO::ParmParse &pp)
 

Static Public Attributes

static constexpr const char * name = "bmp"
 

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()
 
Unit unit = Unit::Less()
 
Set::Scalar scaling_factor = NAN
 

Additional Inherited Members

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

Detailed Description

Definition at line 21 of file BMP.H.

Member Enumeration Documentation

◆ Channel

Enumerator

Definition at line 28 of file BMP.H.

◆ Fit

Enumerator
Stretch 
FitWidth 
FitHeight 
Coord 

Definition at line 27 of file BMP.H.

Constructor & Destructor Documentation

◆ BMP() [1/3]

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

Definition at line 30 of file BMP.H.

◆ BMP() [2/3]

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

Definition at line 32 of file BMP.H.

◆ BMP() [3/3]

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

Definition at line 36 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< Set::Scalar >.

Definition at line 47 of file BMP.H.

◆ Define()

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

Definition at line 42 of file BMP.H.

◆ Parse()

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

Definition at line 187 of file BMP.H.

Field Documentation

◆ bmp

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

Definition at line 177 of file BMP.H.

◆ channel

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

Definition at line 179 of file BMP.H.

◆ coord_hi

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

Definition at line 182 of file BMP.H.

◆ coord_lo

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

Definition at line 181 of file BMP.H.

◆ fit

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

Definition at line 178 of file BMP.H.

◆ max

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

Definition at line 180 of file BMP.H.

◆ min

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

Definition at line 180 of file BMP.H.

◆ name

constexpr const char* IC::BMP::name = "bmp"
staticconstexpr

Definition at line 24 of file BMP.H.

◆ scaling_factor

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

Definition at line 184 of file BMP.H.

◆ unit

Unit IC::BMP::unit = Unit::Less()
private

Definition at line 183 of file BMP.H.


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