00001 #ifdef CH_LANG_CC 00002 /* 00003 * _______ __ 00004 * / ___/ / ___ __ _ / / ___ 00005 * / /__/ _ \/ _ \/ V \/ _ \/ _ \ 00006 * \___/_//_/\___/_/_/_/_.__/\___/ 00007 * Please refer to Copyright.txt, in Chombo's root directory. 00008 */ 00009 #endif 00010 00011 // ANAG, LBNL, DTG 00012 00013 #ifndef _EBGRAPHFACTORY_H_ 00014 #define _EBGRAPHFACTORY_H_ 00015 00016 #include "Box.H" 00017 #include "BoxLayoutData.H" 00018 #include "EBGraph.H" 00019 #include "NamespaceHeader.H" 00020 00022 00025 class EBGraphFactory 00026 : public DataFactory<EBGraph> 00027 { 00028 public: 00030 00033 virtual EBGraph* create(const Box& a_box, int a_ncomps, 00034 const DataIndex& a_datInd) const; 00035 00037 00039 EBGraphFactory(const ProblemDomain& a_domain); 00040 00042 00044 virtual ~EBGraphFactory(); 00045 00046 private: 00047 EBGraphFactory() 00048 { 00049 MayDay::Error("ebisboxfactory uses strong construction"); 00050 } 00051 ProblemDomain m_domain; 00052 }; 00053 #include "NamespaceFooter.H" 00054 #endif