BISICLES AMR ice sheet model  0.9
ReadLevelData.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 //===========================================================================
12 // ReadLevelData.H
13 //===========================================================================
14 
15 #ifndef _READLEVELDATA_H_
16 #define _READLEVELDATA_H_
17 #include "AMRIO.H"
18 #include "NamespaceHeader.H"
19 
20 //fill a LevelData<FArrayBox> from data stored in an AMR file
21 void readLevelData(Vector<RefCountedPtr<LevelData<FArrayBox> > >& a_data,
22  Real& a_dx,
23  const std::string a_file,
24  const Vector<std::string>& a_names,
25  int a_nComp);
26 
27 
29 
42 (Vector< Vector <RefCountedPtr<LevelData<FArrayBox> > > >& a_data,
43  Real& a_crseDx,
44  Vector<int>& a_refRatio,
45  const std::string a_file,
46  const Vector<std::string>& a_names,
47  int a_nComp);
48 
49 #include "NamespaceFooter.H"
50 
51 #endif
void readMultiLevelData(Vector< Vector< RefCountedPtr< LevelData< FArrayBox > > > > &a_data, Real &a_crseDx, Vector< int > &a_refRatio, const std::string a_file, const Vector< std::string > &a_names, int a_nComp)
create one or more AMR Hieracrhies from data stored in an AMR file
Definition: ReadLevelData.cpp:112
void readLevelData(Vector< RefCountedPtr< LevelData< FArrayBox > > > &a_data, Real &a_dx, const std::string a_file, const Vector< std::string > &a_names, int a_nComp)
Definition: ReadLevelData.cpp:26