Block-Structured AMR Software Framework
amrex::DefaultFabFactory< FAB > Class Template Reference

#include <AMReX_FabFactory.H>

Inheritance diagram for amrex::DefaultFabFactory< FAB >:
amrex::FabFactory< FAB >

Public Member Functions

AMREX_NODISCARD FAB * create (const Box &box, int ncomps, const FabInfo &info, int) const override
 
AMREX_NODISCARD FAB * create_alias (FAB const &rhs, int scomp, int ncomp) const override
 
void destroy (FAB *fab) const override
 
AMREX_NODISCARD DefaultFabFactory< FAB > * 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 Long nBytes (const Box &box, int ncomps, int) const
 

Member Function Documentation

◆ clone()

template<class FAB >
AMREX_NODISCARD DefaultFabFactory<FAB>* amrex::DefaultFabFactory< FAB >::clone ( ) const
inlineoverridevirtual

◆ create()

template<class FAB >
AMREX_NODISCARD FAB* amrex::DefaultFabFactory< FAB >::create ( const Box box,
int  ncomps,
const FabInfo info,
int   
) const
inlineoverridevirtual

◆ create_alias()

template<class FAB >
AMREX_NODISCARD FAB* amrex::DefaultFabFactory< FAB >::create_alias ( FAB const &  rhs,
int  scomp,
int  ncomp 
) const
inlineoverridevirtual

Reimplemented from amrex::FabFactory< FAB >.

◆ destroy()

template<class FAB >
void amrex::DefaultFabFactory< FAB >::destroy ( FAB *  fab) const
inlineoverridevirtual

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