Chombo + EB
3.2
src
BoxTools
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
*/
28
class
MergeBoxesOnLines
29
{
30
public
:
31
MergeBoxesOnLines
();
32
33
/// Destructor
34
~MergeBoxesOnLines
();
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
MergeBoxesOnLines::mergeBoxes
void mergeBoxes(Vector< Box > &a_mesh, const int &a_dir)
Merges the boxes along lines in the set direction for a single level.
Vector< Box >
MergeBoxesOnLines
Class which merges boxes in a direction without changing the overall box coverage.
Definition:
MergeBoxesOnLines.H:28
MergeBoxesOnLines::~MergeBoxesOnLines
~MergeBoxesOnLines()
Destructor.
Vector.H
Interval.H
Box.H
REAL.H
IntVectSet.H
MergeBoxesOnLines::MergeBoxesOnLines
MergeBoxesOnLines()
Generated by
1.8.13