Chombo + EB  3.0
EBDataFactory.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 // ANAG, LBNL, DTG
12 
13 #ifndef _EBDATAFACTORY_H_
14 #define _EBDATAFACTORY_H_
15 
16 #include "Box.H"
17 #include "LevelData.H"
18 #include "EBData.H"
19 #include "EBGraph.H"
20 #include "NamespaceHeader.H"
21 
22 /// Factory class to produce EBData(es)
23 /**
24  This is needed for LevelData construction.
25  */
27  : public DataFactory<EBData>
28 {
29 public:
30  ///
31  /**
32  Creates an undefined EBData.
33  */
34  virtual EBData* create(const Box& a_box, int a_ncomps,
35  const DataIndex& a_datInd) const;
36 
37  ///
38  /**
39  */
40  EBDataFactory();
41 
42  ///
43  /**
44  */
45  virtual ~EBDataFactory();
46 
47 private:
48 };
49 #include "NamespaceFooter.H"
50 #endif
Factory class to produce EBData(es)
Definition: EBDataFactory.H:26
virtual ~EBDataFactory()
virtual EBData * create(const Box &a_box, int a_ncomps, const DataIndex &a_datInd) const
Definition: EBData.H:321
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Definition: DataIndex.H:112
Factory object to data members of a BoxLayoutData container.
Definition: BoxLayoutData.H:30