Chombo + EB
3.2
src
Workshop
NoRefinementImplem.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 _NOREFINEMENTIMPLEM_H_
12
#define _NOREFINEMENTIMPLEM_H_
13
14
#include "NamespaceHeader.H"
15
16
template
<
int
dim>
NoRefinement<dim>::NoRefinement
()
17
{
18
}
19
20
template
<
int
dim>
NoRefinement<dim>::~NoRefinement
()
21
{
22
}
23
24
template
<
int
dim>
bool
NoRefinement<dim>::doRefine
(
IndexTM<int,dim>
& a_refineInDir,
25
const
CutCellMoments<dim>
& a_ccm,
26
const
int
& a_numberOfRefinements)
27
{
28
for
(
int
idir = 0; idir <
dim
; idir++)
29
{
30
a_refineInDir[idir] = 0;
31
}
32
33
return
false
;
34
}
35
36
#include "NamespaceFooter.H"
37
38
#endif
IndexTM
Definition:
IndexTM.H:36
NoRefinement::NoRefinement
NoRefinement()
Null constructor.
Definition:
NoRefinementImplem.H:16
NoRefinement::~NoRefinement
virtual ~NoRefinement()
Destructor.
Definition:
NoRefinementImplem.H:20
dim
int dim
Definition:
EBInterface.H:146
NoRefinement::doRefine
virtual bool doRefine(IndexTM< int, dim > &a_refineInDir, const CutCellMoments< dim > &a_ccm, const int &a_numberOfRefinements)
Never refine - return false and "a_refineInDir" zero in all components.
Definition:
NoRefinementImplem.H:24
CutCellMoments
Definition:
CutCellMoments.H:32
Generated by
1.8.13