Chombo + EB  3.0
Public Member Functions | Private Attributes | List of all members
CodimBoxFactory Class Reference

#include <CodimBox.H>

Inheritance diagram for CodimBoxFactory:
Inheritance graph

Public Member Functions

 CodimBoxFactory (int a_codim)
 Constructor stores codimension. More...
CodimBoxcreate (const Box &a_box, int a_ncomps, const DataIndex &a_datInd) const
 Create a new CodimBox. More...
- Public Member Functions inherited from DataFactory< CodimBox >
virtual ~DataFactory ()
virtual bool callDelete () const

Private Attributes

int m_codim
 Codimension. More...

Detailed Description

Factory object to create CodimBox(s) for BoxLayoutData and similar containers.

Constructor & Destructor Documentation

◆ CodimBoxFactory()

CodimBoxFactory::CodimBoxFactory ( int  a_codim)

Constructor stores codimension.

Member Function Documentation

◆ create()

CodimBox* CodimBoxFactory::create ( const Box a_box,
int  a_ncomps,
const DataIndex a_datInd 
) const

Create a new CodimBox.

Implements DataFactory< CodimBox >.

References CodimBox::CodimBox(), and CodimBox::m_codim.

Member Data Documentation

◆ m_codim

int CodimBoxFactory::m_codim


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