Chombo + EB  3.0
MergeBoxesOnLines.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 _MERGEBOXESONLINES_H_
12 #define _MERGEBOXESONLINES_H_
13 
14 #include <climits>
15 
16 #include "Vector.H"
17 #include "Box.H"
18 #include "IntVectSet.H"
19 #include "REAL.H"
20 #include "Interval.H"
21 #include <list>
22 #include "NamespaceHeader.H"
23 
24 /// Class which merges boxes in a direction without changing the overall box coverage
25 /**
26 
27 */
29 {
30 public:
32 
33  /// Destructor
35 
36  /// Merges the boxes along lines in the set direction for a single level
37  /**
38  */
39  void
40  mergeBoxes(Vector<Box>& a_mesh,
41  const int& a_dir);
42 
43  /// Merges the boxes along lines in the set direction for a vector of levels
44  /**
45  */
46  void
47  mergeBoxes(Vector<Vector<Box> >& a_vvbox,
48  const int& a_dir);
49 
50 };
51 
52 #include "NamespaceFooter.H"
53 #endif
void mergeBoxes(Vector< Box > &a_mesh, const int &a_dir)
Merges the boxes along lines in the set direction for a single level.
Class which merges boxes in a direction without changing the overall box coverage.
Definition: MergeBoxesOnLines.H:28
~MergeBoxesOnLines()
Destructor.