1 #ifndef AMREX_EB2_GRAPH_H_
2 #define AMREX_EB2_GRAPH_H_
3 #include <AMReX_Config.H>
9 #include <unordered_map>
shift_hasher hasher
Definition: AMReX_IntVect.H:85
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
static constexpr Type_t regular
Definition: AMReX_EB2_Graph.H:38
static constexpr Type_t unknown
Definition: AMReX_EB2_Graph.H:41
static constexpr Type_t covered
Definition: AMReX_EB2_Graph.H:39
static constexpr Type_t irregular
Definition: AMReX_EB2_Graph.H:40
Definition: AMReX_FabArrayBase.H:32
std::unordered_map< IntVect, Vector< Vertex >, IntVect::hasher > Graph
Definition: AMReX_EB2_Graph.H:85
std::pair< IntVect, int > VertexID
Definition: AMReX_EB2_Graph.H:27
uint32_t Type_t
Definition: AMReX_EB2_Graph.H:35
Array< Real, AMREX_SPACEDIM > RealArray
Definition: AMReX_Array.H:26
Definition: AMReX_EB2_Graph.H:16
RealArray m_volfrac
Definition: AMReX_EB2_Graph.H:17
Definition: AMReX_EB2_Graph.H:30
VertexID m_vid
Definition: AMReX_EB2_Graph.H:32
Face m_face
Definition: AMReX_EB2_Graph.H:31
Definition: AMReX_EB2_Graph.H:22
RealArray m_facecent
Definition: AMReX_EB2_Graph.H:23
Real m_areafrac
Definition: AMReX_EB2_Graph.H:24
Definition: AMReX_EB2_Graph.H:45
Type_t flag
Definition: AMReX_EB2_Graph.H:62
Type_t getYHi() const
Definition: AMReX_EB2_Graph.H:56
Type_t getYLo() const
Definition: AMReX_EB2_Graph.H:55
Type_t getXLo() const
Definition: AMReX_EB2_Graph.H:53
void setYHi(Type_t t)
Definition: AMReX_EB2_Graph.H:49
void setXHi(Type_t t)
Definition: AMReX_EB2_Graph.H:47
static constexpr Type_t zero_zhi_mask
Definition: AMReX_EB2_Graph.H:75
static constexpr Type_t one_xlo_mask
Definition: AMReX_EB2_Graph.H:64
static constexpr Type_t zero_xhi_mask
Definition: AMReX_EB2_Graph.H:67
static constexpr Type_t one_zlo_mask
Definition: AMReX_EB2_Graph.H:72
static constexpr Type_t zero_yhi_mask
Definition: AMReX_EB2_Graph.H:71
Type_t getXHi() const
Definition: AMReX_EB2_Graph.H:54
static constexpr Type_t zero_xlo_mask
Definition: AMReX_EB2_Graph.H:65
Type_t getZLo() const
Definition: AMReX_EB2_Graph.H:57
void setZHi(Type_t t)
Definition: AMReX_EB2_Graph.H:51
Type_t getZHi() const
Definition: AMReX_EB2_Graph.H:58
void setXLo(Type_t t)
Definition: AMReX_EB2_Graph.H:46
void setZLo(Type_t t)
Definition: AMReX_EB2_Graph.H:50
void setYLo(Type_t t)
Definition: AMReX_EB2_Graph.H:48
static constexpr Type_t zero_ylo_mask
Definition: AMReX_EB2_Graph.H:69
static constexpr Type_t one_yhi_mask
Definition: AMReX_EB2_Graph.H:70
static constexpr Type_t one_zhi_mask
Definition: AMReX_EB2_Graph.H:74
static constexpr Type_t one_ylo_mask
Definition: AMReX_EB2_Graph.H:68
static constexpr Type_t zero_zlo_mask
Definition: AMReX_EB2_Graph.H:73
static constexpr Type_t one_xhi_mask
Definition: AMReX_EB2_Graph.H:66
Definition: AMReX_EB2_Graph.H:79
Cell m_cell
Definition: AMReX_EB2_Graph.H:80
Neighbor m_nghb
Definition: AMReX_EB2_Graph.H:81
Vector< Edge > m_edges
Definition: AMReX_EB2_Graph.H:82