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, BVS 00012 00013 #ifndef _EBALIAS_H_ 00014 #define _EBALIAS_H_ 00015 00016 #include "EBCellFAB.H" 00017 #include "LevelData.H" 00018 #include "FArrayBox.H" 00019 #include "NamespaceHeader.H" 00020 00021 class EBAliasDataFactory : public DataFactory<FArrayBox> 00022 { 00023 public: 00024 virtual ~EBAliasDataFactory(){;} 00025 void define(LevelData<EBCellFAB>& aliases); 00027 00029 virtual FArrayBox* create(const Box& box, int ncomps, const DataIndex& a_datInd) const; 00030 00031 protected: 00032 LayoutData<Real*> aliasPtrs; 00033 }; 00034 00035 void aliasEB(LevelData<FArrayBox>& a_output, LevelData<EBCellFAB>& a_input); 00036 00037 #include "NamespaceFooter.H" 00038 #endif