Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
AMReX_EB2_Graph.H File Reference
#include <AMReX_Config.H>
#include <AMReX_Array.H>
#include <AMReX_Vector.H>
#include <AMReX_IntVect.H>
#include <unordered_map>
#include <utility>
#include <cstdint>

Go to the source code of this file.

Classes

struct  amrex::EB2::Cell
 Per-cell geometric information stored in EB graphs. More...
 
struct  amrex::EB2::Face
 Metadata associated with an EB face. More...
 
struct  amrex::EB2::Edge
 Edge connecting a graph vertex to a face and downstream vertex id. More...
 
struct  amrex::EB2::Neighbor
 Packed neighbor structure that tracks the neighbor type in every direction. More...
 
struct  amrex::EB2::Vertex
 Vertex capturing one irregular cell plus its neighbor connectivity. More...
 

Namespaces

namespace  amrex
 
namespace  amrex::EB2
 
namespace  amrex::EB2::Type
 Type flags representing regular/covered/etc.
 

Typedefs

using amrex::EB2::VertexID = std::pair< IntVect, int >
 
using amrex::EB2::Type_t = uint32_t
 
using amrex::EB2::Graph = std::unordered_map< IntVect, Vector< Vertex >, IntVect::hasher >
 EB graph type: map from cell index to all EB vertices stored there.
 

Variables

static constexpr Type_t amrex::EB2::Type::regular =0x0
 
static constexpr Type_t amrex::EB2::Type::covered =0x1
 
static constexpr Type_t amrex::EB2::Type::irregular =0x2
 
static constexpr Type_t amrex::EB2::Type::unknown =0x3
 

Detailed Description

Lightweight types that store EB irregular-cell geometry (volume fractions, faces, neighbors, etc.) inside EB2 graphs.