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

#include <PNG.H>

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

Public Types

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

Public Member Functions

virtual ~PNG ()
 
 PNG (amrex::Vector< amrex::Geometry > &_geom)
 
 PNG (amrex::Vector< amrex::Geometry > &_geom, IO::ParmParse &pp, std::string name)
 
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 (PNG &value, IO::ParmParse &pp)
 

Static Public Attributes

static constexpr const char * name = "png"
 

Private Attributes

Util::PNG png
 
Channel channel = Channel::G
 

Additional Inherited Members

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

Detailed Description

Definition at line 25 of file PNG.H.

Member Enumeration Documentation

◆ Channel

Enumerator

Definition at line 32 of file PNG.H.

◆ Fit

Enumerator
Stretch 
FitWidth 
FitHeight 
Coord 

Definition at line 31 of file PNG.H.

Constructor & Destructor Documentation

◆ ~PNG()

virtual IC::PNG::~PNG ( )
inlinevirtual

Definition at line 34 of file PNG.H.

◆ PNG() [1/2]

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

Definition at line 36 of file PNG.H.

◆ PNG() [2/2]

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

Definition at line 38 of file PNG.H.

Member Function Documentation

◆ Add()

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

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

Definition at line 43 of file PNG.H.

◆ Parse()

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

Definition at line 105 of file PNG.H.

Field Documentation

◆ channel

Channel IC::PNG::channel = Channel::G
private

Definition at line 101 of file PNG.H.

◆ name

constexpr const char* IC::PNG::name = "png"
staticconstexpr

Definition at line 28 of file PNG.H.

◆ png

Util::PNG IC::PNG::png
private

Definition at line 100 of file PNG.H.


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