Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::EB2::GFab Class Reference

Object that stores level-set, face/edge types, and EB graph per box. More...

#include <AMReX_EB2_MultiGFab.H>

Public Member Functions

 GFab ()=default
 
void define (const Box &vbx)
 Allocate level-set and type arrays for valid box vbx.
 
Box validbox () const
 Valid box covered by this GFab.
 
const BaseFab< Real > & getLevelSet () const
 Access the nodal level-set field (const and mutable).
 
BaseFab< Real > & getLevelSet ()
 
const Array< BaseFab< Type_t >, 3 > & getFaceType () const
 Access face-type classification arrays.
 
Array< BaseFab< Type_t >, 3 > & getFaceType ()
 
const Array< BaseFab< Type_t >, 3 > & getEdgeType () const
 Access edge-type arrays (3-D only).
 
Array< BaseFab< Type_t >, 3 > & getEdgeType ()
 
const GraphgetGraph () const
 Accessor for the EB graph structure stored within this tile.
 
GraphgetGraph ()
 
void buildTypes (EBCellFlagFab &celltype)
 Derive face/edge types from the supplied EB cell flags.
 

Static Public Attributes

static constexpr int ng = 2
 

Detailed Description

Object that stores level-set, face/edge types, and EB graph per box.

Constructor & Destructor Documentation

◆ GFab()

amrex::EB2::GFab::GFab ( )
default

Member Function Documentation

◆ buildTypes()

void amrex::EB2::GFab::buildTypes ( EBCellFlagFab celltype)

Derive face/edge types from the supplied EB cell flags.

Parameters
celltypeEBCellFlag data covering the grown region.

◆ define()

void amrex::EB2::GFab::define ( const Box vbx)
inline

Allocate level-set and type arrays for valid box vbx.

◆ getEdgeType() [1/2]

Array< BaseFab< Type_t >, 3 > & amrex::EB2::GFab::getEdgeType ( )
inline

◆ getEdgeType() [2/2]

const Array< BaseFab< Type_t >, 3 > & amrex::EB2::GFab::getEdgeType ( ) const
inline

Access edge-type arrays (3-D only).

◆ getFaceType() [1/2]

Array< BaseFab< Type_t >, 3 > & amrex::EB2::GFab::getFaceType ( )
inline

◆ getFaceType() [2/2]

const Array< BaseFab< Type_t >, 3 > & amrex::EB2::GFab::getFaceType ( ) const
inline

Access face-type classification arrays.

◆ getGraph() [1/2]

Graph & amrex::EB2::GFab::getGraph ( )
inline

◆ getGraph() [2/2]

const Graph & amrex::EB2::GFab::getGraph ( ) const
inline

Accessor for the EB graph structure stored within this tile.

◆ getLevelSet() [1/2]

BaseFab< Real > & amrex::EB2::GFab::getLevelSet ( )
inline

◆ getLevelSet() [2/2]

const BaseFab< Real > & amrex::EB2::GFab::getLevelSet ( ) const
inline

Access the nodal level-set field (const and mutable).

◆ validbox()

Box amrex::EB2::GFab::validbox ( ) const
inline

Valid box covered by this GFab.

Member Data Documentation

◆ ng

constexpr int amrex::EB2::GFab::ng = 2
staticconstexpr

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