CG
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
cg.v25
common
src
AdvanceOptions.h
Go to the documentation of this file.
1
#ifndef ADVANCE_OPTIONS_H
2
#define ADVANCE_OPTIONS_H
3
4
// This class holds options that are passed to the DomainSolver time stepping functions
5
// such as takeTimeStep, takeTimeStepFE, takeTimeStepPC, ...
6
7
class
AdvanceOptions
8
{
9
10
public
:
11
12
enum
TakeTimeStepOptionEnum
13
{
14
takeStepAndApplyBoundaryConditions
,
15
takeStepButDoNotApplyBoundaryConditions
,
16
applyBoundaryConditionsOnly
17
};
18
19
enum
GridChangesEnum
20
{
21
noChangeToGrid
,
22
newAmrGrid
,
23
};
24
25
26
27
28
AdvanceOptions
();
29
~AdvanceOptions
();
30
31
AdvanceOptions
(
const
AdvanceOptions
&
x
);
32
AdvanceOptions
&
operator=
(
const
AdvanceOptions
&
x
);
33
34
TakeTimeStepOptionEnum
takeTimeStepOption
;
35
36
int
numberOfCorrectorSteps
;
// this value is returned by startTimeStep
37
GridChangesEnum
gridChanges
;
// returned by startTimeStep to indicate if the grid has changed on this step (e.g. AMR)
38
39
bool
correctionIterationsHaveConverged
;
40
41
};
42
43
#endif
Generated on Fri Jan 4 2013 10:19:07 for CG by
1.8.3