13 #ifndef _LISTBOXFACTORYI_H_ 14 #define _LISTBOXFACTORYI_H_ 16 #include "NamespaceHeader.H" 25 define(a_meshSpacing, a_origin);
39 m_mesh_spacing = a_meshSpacing;
48 return new ListBox<T>(a_box, m_mesh_spacing, m_origin);
60 return m_mesh_spacing;
70 #include "NamespaceFooter.H" virtual ListBox< T > * create(const Box &a_box, int a_numComps, const DataIndex &a_datInd) const
Factory function. Note that both a_numComps and a_dit are ignored.
Definition: ListBoxFactoryI.H:45
static const RealVect Unit
Definition: RealVect.H:427
static const RealVect Zero
Definition: RealVect.H:421
RealVect origin() const
Retrieve the origin.
Definition: ListBoxFactoryI.H:65
double Real
Definition: REAL.H:33
ListBoxFactory()
Weak constructor.
Definition: ListBoxFactoryI.H:19
virtual ~ListBoxFactory()
Destructor.
Definition: ListBoxFactoryI.H:53
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: DataIndex.H:114
RealVect meshSpacing() const
Retrieve the cell size.
Definition: ListBoxFactoryI.H:58
void define(const RealVect &a_meshSpacing, const RealVect &a_origin)
Use these parameters for all manufactured ListBox instances.
Definition: ListBoxFactoryI.H:36