2 #ifndef _PROTO_MB_AMR_GRID_ 3 #define _PROTO_MB_AMR_GRID_ 20 const std::vector<MBPoint>& a_coarsePatches,
21 const std::vector<Point>& a_coarseBoxSizes,
22 const std::vector<Point>& a_refRatios);
26 const std::vector<Point>& a_coarseBoxSizes,
27 const std::vector<Point>& a_refRatios);
31 Point a_coarseBoxSize,
37 const std::vector<MBPoint>& a_coarsePatches,
38 const std::vector<Point>& a_coarseBoxSizes,
39 const std::vector<Point>& a_refRatios);
43 const std::vector<Point>& a_coarseBoxSizes,
44 const std::vector<Point>& a_refRatios);
47 const std::vector<MBPoint>& a_coarsePatches);
51 const std::vector<MBPoint>& a_coarsePatches);
74 #include "implem/Proto_MBAMRLayoutImplem.H" 76 #endif //end include guard void define(const MBProblemDomain &a_coarseDomain, const std::vector< MBPoint > &a_coarsePatches, const std::vector< Point > &a_coarseBoxSizes, const std::vector< Point > &a_refRatios)
Definition: Proto_MBAMRLayout.H:54
Distributed Data Iterator.
Definition: Proto_DataIndex.H:10
std::vector< Point > m_refRatios
Definition: Proto_MBAMRLayout.H:68
int BlockIndex
Defines what type is used for indexing block entities.
Definition: Proto_MBGraph.H:9
void setPatches(const std::vector< MBPoint > &a_coarsePatches)
Definition: Proto_MBAMRLayout.H:88
MBAMRLayout()
Definition: Proto_MBAMRLayout.H:16
unsigned int numLevels() const
Definition: Proto_MBAMRLayout.H:59
const MBDisjointBoxLayout & getLevel(int a_level) const
Definition: Proto_MBAMRLayout.H:135
std::shared_ptr< MBAMRBoxPartition > m_partition
Definition: Proto_MBAMRLayout.H:69
AMR Grid.
Definition: Proto_AMRGrid.H:26
unsigned int maxLevels() const
Definition: Proto_MBAMRLayout.H:60
Mapped Multi-Block Problem Domain.
Definition: Proto_MBProblemDomain.H:76
std::vector< AMRGrid > m_grids
One grid per block.
Definition: Proto_MBAMRLayout.H:70
const AMRGrid & getBlock(BlockIndex a_block) const
Definition: Proto_MBAMRLayout.H:123
Definition: Proto_Array.H:17
std::vector< Point > refRatios() const
Definition: Proto_MBAMRLayout.H:62
MBIterator end(int a_level) const
Definition: Proto_MBAMRLayout.H:157
Integer Valued Vector.
Definition: Proto_Point.H:24
Definition: Proto_MBDisjointBoxLayout.H:14
void define(const MBProblemDomain &a_coarseDomain, const std::vector< Point > &a_coarseBoxSizes, const std::vector< Point > &a_refRatios)
Definition: Proto_MBAMRLayout.H:37
unsigned int numBlocks() const
Definition: Proto_MBAMRLayout.H:61
MBIndex find(Point a_point, BlockIndex a_block, int a_level) const
Definition: Proto_MBAMRLayout.H:165
MBIterator begin(int a_level) const
Definition: Proto_MBAMRLayout.H:149
MBAMRLayout(const MBProblemDomain &a_coarseDomain, Point a_coarseBoxSize, Point a_refRatio, int a_numLevels)
Definition: Proto_MBAMRLayout.H:19
const MBDisjointBoxLayout & operator[](int a_level) const
Definition: Proto_MBAMRLayout.H:57
MBDisjointBoxLayout & operator[](int a_level)
Definition: Proto_MBAMRLayout.H:58
std::vector< MBDisjointBoxLayout > m_layouts
One layout per level.
Definition: Proto_MBAMRLayout.H:71
Multiblock AMR Grid.
Definition: Proto_MBAMRLayout.H:12