Block-Structured AMR Software Framework
amrex::FabFactory< FAB > Class Template Referenceabstract

#include <AMReX_FabFactory.H>

Inheritance diagram for amrex::FabFactory< FAB >:
amrex::DefaultFabFactory< CutFab > amrex::DefaultFabFactory< FAB > amrex::detail::CutFabFactory

Public Member Functions

 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 (const Box &box, int ncomps, const FabInfo &info, int box_index) const =0
 
virtual AMREX_NODISCARD FAB * create_alias (FAB const &, int, int) const
 
virtual void destroy (FAB *fab) const =0
 
virtual AMREX_NODISCARD FabFactory< FAB > * clone () const =0
 
virtual AMREX_NODISCARD Long nBytes (const Box &box, int ncomps, int) const
 

Constructor & Destructor Documentation

◆ FabFactory() [1/3]

template<class FAB >
amrex::FabFactory< FAB >::FabFactory ( )
defaultnoexcept

◆ FabFactory() [2/3]

template<class FAB >
amrex::FabFactory< FAB >::FabFactory ( FabFactory< FAB > const &  )
defaultnoexcept

◆ FabFactory() [3/3]

template<class FAB >
amrex::FabFactory< FAB >::FabFactory ( FabFactory< FAB > &&  )
defaultnoexcept

◆ ~FabFactory()

template<class FAB >
virtual amrex::FabFactory< FAB >::~FabFactory ( )
virtualdefaultnoexcept

Member Function Documentation

◆ clone()

◆ create()

template<class FAB >
virtual AMREX_NODISCARD FAB* amrex::FabFactory< FAB >::create ( const Box box,
int  ncomps,
const FabInfo info,
int  box_index 
) const
pure virtual

◆ create_alias()

template<class FAB >
virtual AMREX_NODISCARD FAB* amrex::FabFactory< FAB >::create_alias ( FAB const &  ,
int  ,
int   
) const
inlinevirtual

◆ destroy()

template<class FAB >
virtual void amrex::FabFactory< FAB >::destroy ( FAB *  fab) const
pure virtual

◆ nBytes()

template<class FAB >
virtual AMREX_NODISCARD Long amrex::FabFactory< FAB >::nBytes ( const Box box,
int  ncomps,
int   
) const
inlinevirtual

Reimplemented in amrex::detail::CutFabFactory.

◆ operator=() [1/2]

template<class FAB >
FabFactory& amrex::FabFactory< FAB >::operator= ( FabFactory< FAB > &&  )
defaultnoexcept

◆ operator=() [2/2]

template<class FAB >
FabFactory& amrex::FabFactory< FAB >::operator= ( FabFactory< FAB > const &  )
defaultnoexcept

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