12 #ifndef CD_TiledMeshRefine_H
13 #define CD_TiledMeshRefine_H
20 #include <IntVectSet.H>
21 #include <ProblemDomain.H>
26 #include <CD_NamespaceHeader.H>
48 const Vector<int>& a_refRatios,
49 const IntVect& a_tileSize) noexcept;
63 regrid(Vector<Vector<Box>>& a_newBoxes, const Vector<IntVectSet>& a_tagsLevel) const noexcept;
98 const IntVectSet& a_coarTags,
99 const ProblemDomain& a_domain,
100 const
int a_refToFine,
101 const
int a_refToCoar) const noexcept;
110 #include <CD_NamespaceFooter.H>
Class for representing a tile (used in, e.g., TiledMeshRefine)
Definition: CD_Tile.H:26
Class for generation AMR boxes using a tiling algorithm.
Definition: CD_TiledMeshRefine.H:34
virtual void makeLevelTiles(TileSet &a_tiles, const TileSet &a_fineTiles, const IntVectSet &a_coarTags, const ProblemDomain &a_domain, const int a_refToFine, const int a_refToCoar) const noexcept
Make tiles on the current level from tags and tile coarsening from finer levels.
Definition: CD_TiledMeshRefine.cpp:102
std::set< Tile > TileSet
Tile set representation.
Definition: CD_TiledMeshRefine.H:74
Vector< int > m_refRatios
Refinement ratios.
Definition: CD_TiledMeshRefine.H:85
virtual ~TiledMeshRefine() noexcept
Destructor (does nothing)
Definition: CD_TiledMeshRefine.cpp:47
virtual int regrid(Vector< Vector< Box >> &a_newBoxes, const Vector< IntVectSet > &a_tagsLevel) const noexcept
Regrid using the tile clustering algorithm.
Definition: CD_TiledMeshRefine.cpp:53
virtual void makeBoxesFromTiles(Vector< Box > &a_boxes, const TileSet &a_tiles, const ProblemDomain &a_domain) const noexcept
Turn tiles into boxes.
Definition: CD_TiledMeshRefine.cpp:207
IntVect m_tileSize
Tile size.
Definition: CD_TiledMeshRefine.H:90
Vector< ProblemDomain > m_amrDomains
Computational domains on each level.
Definition: CD_TiledMeshRefine.H:80
TiledMeshRefine()=delete
Default constructor – deleted because we never need it.