Chombo + EB  3.2
AMRBoxesAndRanksIO.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 #ifndef _AMRBOXESANDRANKSIO_H_
12 #define _AMRBOXESANDRANKSIO_H_
13 
14 #include "IntVect.H"
15 #include "Box.H"
16 #include "Vector.H"
17 #include <string>
18 
19 #include "NamespaceHeader.H"
20 
21 extern void readABRfile(Vector<Vector<Box> >& a_amrBoxes,
22  Vector<Vector<int> >& a_amrRanks,
23  Vector<int>& a_refinementRatio,
24  Box& a_baseLevelBoundingBox,
25  const std::string a_filename,
26  const bool a_dataPerRank=false);
27 
28 
29 extern void writeABRfile(const Vector<Vector<Box> >& a_amrBoxes,
30  const Vector<Vector<int> >& a_amrRanks,
31  const Vector<int>& a_refinementRatio,
32  const int a_numLevels,
33  const int a_targetNumProcs,
34  const Box& a_baseLevelBoundingBox,
35  const std::string a_filename);
36 
37 #include "NamespaceFooter.H"
38 
39 #endif
one dimensional dynamic array
Definition: Vector.H:53
void readABRfile(Vector< Vector< Box > > &a_amrBoxes, Vector< Vector< int > > &a_amrRanks, Vector< int > &a_refinementRatio, Box &a_baseLevelBoundingBox, const std::string a_filename, const bool a_dataPerRank=false)
void writeABRfile(const Vector< Vector< Box > > &a_amrBoxes, const Vector< Vector< int > > &a_amrRanks, const Vector< int > &a_refinementRatio, const int a_numLevels, const int a_targetNumProcs, const Box &a_baseLevelBoundingBox, const std::string a_filename)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465