Block-Structured AMR Software Framework
amrex::InSituUtils Namespace Reference

Classes

class  DescriptorMap
 
class  MeshStateMap
 
struct  amrex_tt
 
struct  assignOp
 
struct  orOp
 
class  StateMap
 

Enumerations

enum  CellGhostTypes {
  DUPLICATECELL = 1 , HIGHCONNECTIVITYCELL = 2 , LOWCONNECTIVITYCELL = 4 , REFINEDCELL = 8 ,
  EXTERIORCELL = 16 , HIDDENCELL = 32
}
 
enum  PointGhostTypes { DUPLICATEPOINT = 1 , HIDDENPOINT = 2 }
 

Functions

int NumActiveLevels (amrex::Vector< std::unique_ptr< amrex::AmrLevel >> &levels)
 
template<typename n_t >
int GenerateMasks (amrex::Vector< std::unique_ptr< amrex::AmrLevel >> &levels, std::vector< std::vector< n_t * >> &masks)
 
 amrex_tt_specialize (float, svtkFloatArray, SVTK_FLOAT) amrex_tt_specialize(double
 
template<typename n_t , typename op_t >
int UpdatePatch (long *len, int *lo, int *hi, n_t *darray, n_t val)
 
template<typename n_t >
int AllocateBoxArray (const amrex::Box &pdom, const amrex::BoxArray &boxes, const amrex::DistributionMapping &dmap, int ng, std::vector< n_t * > &darrays)
 
template<typename n_t >
int MaskGhostCells (const amrex::Box &pdom, const amrex::BoxArray &boxes, const amrex::DistributionMapping &dmap, unsigned int ng, std::vector< n_t * > &darrays)
 
template<typename n_t >
int MaskCoveredCells (const amrex::Box &pdom, const amrex::BoxArray &cBoxes, const amrex::DistributionMapping &cMap, amrex::BoxArray fBoxes, const IntVect &fRefRatio, int ng, std::vector< n_t * > &cMasks)
 

Variables

 svtkDoubleArray
 

Enumeration Type Documentation

◆ CellGhostTypes

Enumerator
DUPLICATECELL 
HIGHCONNECTIVITYCELL 
LOWCONNECTIVITYCELL 
REFINEDCELL 
EXTERIORCELL 
HIDDENCELL 

◆ PointGhostTypes

Enumerator
DUPLICATEPOINT 
HIDDENPOINT 

Function Documentation

◆ AllocateBoxArray()

template<typename n_t >
int amrex::InSituUtils::AllocateBoxArray ( const amrex::Box pdom,
const amrex::BoxArray boxes,
const amrex::DistributionMapping dmap,
int  ng,
std::vector< n_t * > &  darrays 
)

◆ amrex_tt_specialize()

amrex::InSituUtils::amrex_tt_specialize ( float  ,
svtkFloatArray  ,
SVTK_FLOAT   
)

◆ GenerateMasks()

template<typename n_t >
int amrex::InSituUtils::GenerateMasks ( amrex::Vector< std::unique_ptr< amrex::AmrLevel >> &  levels,
std::vector< std::vector< n_t * >> &  masks 
)

◆ MaskCoveredCells()

template<typename n_t >
int amrex::InSituUtils::MaskCoveredCells ( const amrex::Box pdom,
const amrex::BoxArray cBoxes,
const amrex::DistributionMapping cMap,
amrex::BoxArray  fBoxes,
const IntVect fRefRatio,
int  ng,
std::vector< n_t * > &  cMasks 
)

◆ MaskGhostCells()

template<typename n_t >
int amrex::InSituUtils::MaskGhostCells ( const amrex::Box pdom,
const amrex::BoxArray boxes,
const amrex::DistributionMapping dmap,
unsigned int  ng,
std::vector< n_t * > &  darrays 
)

◆ NumActiveLevels()

int amrex::InSituUtils::NumActiveLevels ( amrex::Vector< std::unique_ptr< amrex::AmrLevel >> &  levels)

◆ UpdatePatch()

template<typename n_t , typename op_t >
int amrex::InSituUtils::UpdatePatch ( long *  len,
int lo,
int hi,
n_t *  darray,
n_t  val 
)

Variable Documentation

◆ svtkDoubleArray

amrex::InSituUtils::svtkDoubleArray