13 #ifndef _BINFABFACTORYI_H_ 14 #define _BINFABFACTORYI_H_ 15 #include "NamespaceHeader.H" 27 m_mesh_spacing = a_meshSpacing;
38 return new BinFab<T>(a_box, m_mesh_spacing, m_origin);
41 #include "NamespaceFooter.H" virtual BinFab< T > * create(const Box &a_box, int a_numComps, const DataIndex &a_dit) const
Factory function.
Definition: BinFabFactoryI.H:33
void define(const RealVect &a_meshSpacing, const RealVect &a_origin)
Use these parameters for all manufactured BinFab instances.
Definition: BinFabFactoryI.H:24
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
Base class for particle data on a Box.
Definition: BinFab.H:30
virtual ~BinFabFactory()
Destructor.
Definition: BinFabFactoryI.H:18