IBAMR  IBAMR version 0.19.
Public Member Functions | Private Member Functions | List of all members
SAMRAI::hier::PatchFactory< DIM > Class Template Reference

#include <PatchFactory.h>

Inheritance diagram for SAMRAI::hier::PatchFactory< DIM >:
Inheritance graph
[legend]

Public Member Functions

 PatchFactory ()
 
virtual ~PatchFactory ()
 
virtual tbox::Pointer< Patch< DIM > > allocate (const Box< DIM > &box, tbox::Pointer< PatchDescriptor< DIM > > descriptor) const
 

Private Member Functions

 PatchFactory (const PatchFactory< DIM > &)
 
void operator= (const PatchFactory< DIM > &)
 

Detailed Description

template<int DIM>
class SAMRAI::hier::PatchFactory< DIM >

Class PatchFactory<DIM> is a factory object used to create new patches. New types of patch objects can be introduced into the hierarchy through derivation and re-defining the allocate member function. There should be no direct calls to the patch constructor (other than through the patch factory).

See also
hier::Patch

Constructor & Destructor Documentation

◆ PatchFactory() [1/2]

template<int DIM>
SAMRAI::hier::PatchFactory< DIM >::PatchFactory ( )

Construct a patch factory object.

◆ ~PatchFactory()

template<int DIM>
virtual SAMRAI::hier::PatchFactory< DIM >::~PatchFactory ( )
virtual

Virtual destructor for patch factory objects.

◆ PatchFactory() [2/2]

template<int DIM>
SAMRAI::hier::PatchFactory< DIM >::PatchFactory ( const PatchFactory< DIM > &  )
private

Member Function Documentation

◆ allocate()

template<int DIM>
virtual tbox::Pointer< Patch<DIM> > SAMRAI::hier::PatchFactory< DIM >::allocate ( const Box< DIM > &  box,
tbox::Pointer< PatchDescriptor< DIM > >  descriptor 
) const
virtual

Allocate a patch with the specified domain and patch descriptor.

◆ operator=()

template<int DIM>
void SAMRAI::hier::PatchFactory< DIM >::operator= ( const PatchFactory< DIM > &  )
private

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