Block-Structured AMR Software Framework
amrex::BATransformer Struct Reference

#include <AMReX_BoxArray.H>

Classes

union  BATOp
 

Public Types

enum class  BATType {
  null , indexType , coarsenRatio , indexType_coarsenRatio ,
  bndryReg
}
 

Public Member Functions

 BATransformer ()=default
 
 BATransformer (IndexType t)
 
 BATransformer (Orientation f, IndexType t, int in_rad, int out_rad, int extent_rad)
 
Box operator() (Box const &ab) const noexcept
 
Box coarsen (Box const &a_box) const noexcept
 
IntVect doiLo () const noexcept
 
IntVect doiHi () const noexcept
 
IndexType index_type () const noexcept
 
IntVect coarsen_ratio () const noexcept
 
bool is_null () const noexcept
 
bool is_simple () const noexcept
 
void set_coarsen_ratio (IntVect const &a_ratio) noexcept
 
void set_index_type (IndexType typ) noexcept
 

Public Attributes

BATType m_bat_type {BATType::null}
 
BATOp m_op
 

Friends

bool operator== (BATransformer const &a, BATransformer const &b) noexcept
 

Member Enumeration Documentation

◆ BATType

Enumerator
null 
indexType 
coarsenRatio 
indexType_coarsenRatio 
bndryReg 

Constructor & Destructor Documentation

◆ BATransformer() [1/3]

amrex::BATransformer::BATransformer ( )
default

◆ BATransformer() [2/3]

amrex::BATransformer::BATransformer ( IndexType  t)
inline

◆ BATransformer() [3/3]

amrex::BATransformer::BATransformer ( Orientation  f,
IndexType  t,
int  in_rad,
int  out_rad,
int  extent_rad 
)
inline

Member Function Documentation

◆ coarsen()

Box amrex::BATransformer::coarsen ( Box const &  a_box) const
inlinenoexcept

◆ coarsen_ratio()

IntVect amrex::BATransformer::coarsen_ratio ( ) const
inlinenoexcept

◆ doiHi()

IntVect amrex::BATransformer::doiHi ( ) const
inlinenoexcept

◆ doiLo()

IntVect amrex::BATransformer::doiLo ( ) const
inlinenoexcept

◆ index_type()

IndexType amrex::BATransformer::index_type ( ) const
inlinenoexcept

◆ is_null()

bool amrex::BATransformer::is_null ( ) const
inlinenoexcept

◆ is_simple()

bool amrex::BATransformer::is_simple ( ) const
inlinenoexcept

◆ operator()()

Box amrex::BATransformer::operator() ( Box const &  ab) const
inlinenoexcept

◆ set_coarsen_ratio()

void amrex::BATransformer::set_coarsen_ratio ( IntVect const &  a_ratio)
inlinenoexcept

◆ set_index_type()

void amrex::BATransformer::set_index_type ( IndexType  typ)
inlinenoexcept

Friends And Related Function Documentation

◆ operator==

bool operator== ( BATransformer const &  a,
BATransformer const &  b 
)
friend

Member Data Documentation

◆ m_bat_type

BATType amrex::BATransformer::m_bat_type {BATType::null}

◆ m_op

BATOp amrex::BATransformer::m_op

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