CG
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
cg.v25
ad
src
AdParameters.h
Go to the documentation of this file.
1
#ifndef AD_PARAMETERS
2
#define AD_PARAMETERS
3
4
// Parameters for the advection-diffusion solver
5
6
#include "
Parameters.h
"
7
// Here are the run time and PDE parameters
8
class
AdParameters
:
public
Parameters
9
{
10
public
:
11
12
enum
BoundaryConditions
13
{
14
mixedBoundaryCondition
=30
15
};
16
17
18
AdParameters
(
const
int
& numberOfDimensions0=3);
19
~AdParameters
();
20
21
virtual
int
22
displayPdeParameters
(FILE *file = stdout );
23
24
virtual
int
25
setDefaultDataForABoundaryCondition
(
const
int
&
side
,
26
const
int
&
axis
,
27
const
int
&
grid
,
28
CompositeGrid &
cg
);
29
virtual
int
30
saveParametersToShowFile
();
31
32
virtual
int
33
setParameters
(
const
int
& numberOfDimensions0=2,
34
const
aString & reactionName =nullString);
35
virtual
int
36
setPdeParameters
(CompositeGrid &
cg
,
const
aString & command = nullString,
37
DialogData *interface =NULL );
38
39
virtual
int
40
setTwilightZoneFunction
(
const
TwilightZoneChoice
& choice,
41
const
int
& degreeSpace =2,
42
const
int
& degreeTime =1 );
43
44
// virtual int
45
// setUserDefinedParameters();
46
47
};
48
49
#endif
Generated on Fri Jan 4 2013 10:19:06 for CG by
1.8.3