Chombo + EB + MF  3.2
Mask.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 // Mask.H
12 // Dan Martin, Fri, Jan 14, 2000
13 
14 #ifndef _MASK_H_
15 #define _MASK_H_
16 
17 #include "BaseFab.H"
18 #include "BoxLayout.H"
19 #include "LevelData.H"
20 #include "ProblemDomain.H"
21 
22 #include "NamespaceHeader.H"
23 
24 // class to determine coarse-fine validity info
25 class Mask
26 {
27 
28 public:
29  enum cellType
30  {
33  maskCopy = 0,
35  };
36 
37  void buildMask(BaseFab<int>& a_mask,
38  const ProblemDomain& a_dProblem,
39  const BoxLayout& a_grids,
40  const BoxLayout* a_fineGridsPtr=NULL,
41  int a_nRefFine = -1);
42 
43  void buildMasks(LevelData<BaseFab <int> >& a_masks,
44  const ProblemDomain& a_dProblem,
45  const BoxLayout& a_grids,
46  const BoxLayout* a_fineGridsPtr=NULL,
47  int a_nRefFine = -1);
48 
49  // deprecated interface
50  void buildMask(BaseFab<int>& a_mask, const Box& a_dProblem,
51  const BoxLayout& a_grids,
52  const BoxLayout* a_fineGridsPtr=NULL,
53  int a_nRefFine = -1);
54 
55  // deprecated interface
56  void buildMasks(LevelData<BaseFab <int> >& a_masks,
57  const Box& a_dProblem,
58  const BoxLayout& a_grids,
59  const BoxLayout* a_fineGridsPtr=NULL,
60  int a_nRefFine = -1);
61 
62 };
63 
64 
65 
66 #include "NamespaceFooter.H"
67 
68 
69 #endif
70 
71 
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Definition: Mask.H:31
Definition: Mask.H:25
A not-necessarily-disjoint collective of boxes.
Definition: BoxLayout.H:145
Definition: Mask.H:32
cellType
Definition: Mask.H:29
new code
Definition: BoxLayoutData.H:170
void buildMask(BaseFab< int > &a_mask, const ProblemDomain &a_dProblem, const BoxLayout &a_grids, const BoxLayout *a_fineGridsPtr=NULL, int a_nRefFine=-1)
Definition: Mask.H:34
void buildMasks(LevelData< BaseFab< int > > &a_masks, const ProblemDomain &a_dProblem, const BoxLayout &a_grids, const BoxLayout *a_fineGridsPtr=NULL, int a_nRefFine=-1)
Definition: Mask.H:33
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469