Block-Structured AMR Software Framework
amrex::detail::CutFabFactory Class Referencefinal
Inheritance diagram for amrex::detail::CutFabFactory:
amrex::DefaultFabFactory< CutFab > amrex::FabFactory< FAB >

Public Member Functions

 CutFabFactory (const FabArray< EBCellFlagFab > *a_cellflags)
 
AMREX_NODISCARD CutFabcreate (const Box &box, int ncomps, const FabInfo &info, int box_index) const override
 
AMREX_NODISCARD CutFabFactoryclone () const override
 
AMREX_NODISCARD Long nBytes (const Box &box, int ncomps, int box_index) const override
 
- Public Member Functions inherited from amrex::DefaultFabFactory< CutFab >
AMREX_NODISCARD CutFabcreate (const Box &box, int ncomps, const FabInfo &info, int) const override
 
AMREX_NODISCARD CutFabcreate_alias (CutFab const &rhs, int scomp, int ncomp) const override
 
void destroy (CutFab *fab) const override
 
AMREX_NODISCARD DefaultFabFactory< CutFab > * clone () const override
 
- Public Member Functions inherited from amrex::FabFactory< FAB >
 FabFactory () noexcept=default
 
 FabFactory (FabFactory const &) noexcept=default
 
 FabFactory (FabFactory &&) noexcept=default
 
FabFactoryoperator= (FabFactory const &) noexcept=default
 
FabFactoryoperator= (FabFactory &&) noexcept=default
 
virtual ~FabFactory () noexcept=default
 
virtual AMREX_NODISCARD FAB * create_alias (FAB const &, int, int) const
 
virtual void destroy (FAB *fab) const =0
 

Private Attributes

const FabArray< EBCellFlagFab > * m_cellflags = nullptr
 

Constructor & Destructor Documentation

◆ CutFabFactory()

amrex::detail::CutFabFactory::CutFabFactory ( const FabArray< EBCellFlagFab > *  a_cellflags)
inline

Member Function Documentation

◆ clone()

AMREX_NODISCARD CutFabFactory* amrex::detail::CutFabFactory::clone ( ) const
inlineoverridevirtual

◆ create()

AMREX_NODISCARD CutFab* amrex::detail::CutFabFactory::create ( const Box box,
int  ncomps,
const FabInfo info,
int  box_index 
) const
inlineoverridevirtual

◆ nBytes()

AMREX_NODISCARD Long amrex::detail::CutFabFactory::nBytes ( const Box box,
int  ncomps,
int  box_index 
) const
inlineoverridevirtual

Reimplemented from amrex::FabFactory< FAB >.

Member Data Documentation

◆ m_cellflags

const FabArray<EBCellFlagFab>* amrex::detail::CutFabFactory::m_cellflags = nullptr
private

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