00001 #ifdef CH_LANG_CC
00002
00003
00004
00005
00006
00007
00008
00009 #endif
00010
00011 #ifndef _AMRBOXESANDRANKSIO_H_
00012 #define _AMRBOXESANDRANKSIO_H_
00013
00014 #include "IntVect.H"
00015 #include "Box.H"
00016 #include "Vector.H"
00017 #include <string>
00018
00019 #include "NamespaceHeader.H"
00020
00021 extern void readABRfile(Vector<Vector<Box> >& a_amrBoxes,
00022 Vector<Vector<int> >& a_amrRanks,
00023 Vector<int>& a_refinementRatio,
00024 Box& a_baseLevelBoundingBox,
00025 const std::string a_filename,
00026 const bool a_dataPerRank=false);
00027
00028
00029 extern void writeABRfile(const Vector<Vector<Box> >& a_amrBoxes,
00030 const Vector<Vector<int> >& a_amrRanks,
00031 const Vector<int>& a_refinementRatio,
00032 const int a_numLevels,
00033 const int a_targetNumProcs,
00034 const Box& a_baseLevelBoundingBox,
00035 const std::string a_filename);
00036
00037 #include "NamespaceFooter.H"
00038
00039 #endif