Chombo + EB
3.2
src
Workshop
NoRefinement.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 _NOREFINEMENT_H_
12
#define _NOREFINEMENT_H_
13
14
#include "
RefinementCriterion.H
"
15
16
#include "NamespaceHeader.H"
17
18
///
19
/**
20
This refinement criterion always false. Used to stop subdivision.
21
*/
22
template
<
int
dim>
class
NoRefinement
:
public
RefinementCriterion
<dim>
23
{
24
public
:
25
/// Null constructor
26
NoRefinement
();
27
28
/// Destructor
29
virtual
~NoRefinement
();
30
31
/// Never refine - return false and "a_refineInDir" zero in all components.
32
/**
33
Never refine - return false and "a_refineInDir" zero in all components.
34
*/
35
virtual
bool
doRefine
(
IndexTM<int,dim>
& a_refineInDir,
36
const
CutCellMoments<dim>
& a_ccm,
37
const
int
& a_numberOfRefinements);
38
39
protected
:
40
};
41
42
#include "NamespaceFooter.H"
43
44
#include "
NoRefinementImplem.H
"
45
46
#endif
NoRefinement
Definition:
NoRefinement.H:22
RefinementCriterion
Definition:
RefinementCriterion.H:27
IndexTM
Definition:
IndexTM.H:36
NoRefinement::NoRefinement
NoRefinement()
Null constructor.
Definition:
NoRefinementImplem.H:16
RefinementCriterion.H
NoRefinement::~NoRefinement
virtual ~NoRefinement()
Destructor.
Definition:
NoRefinementImplem.H:20
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
NoRefinementImplem.H
Generated by
1.8.13