CG
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
cg.v25
sm
src
sm/src/RadiationBoundaryCondition.h
Go to the documentation of this file.
1
#ifndef RADIATION_BOUNDARY_CONDITION
2
#define RADIATION_BOUNDARY_CONDITION
3
4
5
#include "Overture.h"
6
7
class
RadiationKernel
;
8
class
OGFunction;
9
10
11
class
RadiationBoundaryCondition
12
{
13
public
:
14
15
RadiationBoundaryCondition
(
int
orderOfAccuracy
=4);
16
~RadiationBoundaryCondition
();
17
18
19
int
initialize
( MappedGrid &
mg
,
20
int
side
,
int
axis
,
21
int
nc1
=0,
int
nc2
=0,
22
real c_=1., real period_=-1.,
23
int
numberOfModes_=-1,
24
int
orderOfTimeStepping_=-1,
int
numberOfPoles_=-1 );
25
26
int
assignBoundaryConditions
( realMappedGridFunction &
u
, real t, real dt,
27
realMappedGridFunction & u2 );
28
29
int
setOrderOfAccuracy
(
int
orderOfAccuracy
);
30
31
static
int
debug
;
32
static
real
cpuTime
;
33
34
OGFunction *
tz
;
35
36
protected
:
37
38
RadiationKernel
*
radiationKernel
;
39
40
int
nc1
,
nc2
,
numberOfGridPoints
,
numberOfModes
,
orderOfTimeStepping
,
numberOfPoles
;
41
double
period
,
c
,
radius
;
42
43
int
rside
,
raxis
;
// apply BC on this face
44
45
int
orderOfAccuracy
,
numberOfDerivatives
,
numberOfTimeLevels
,
currentTimeLevel
;
46
real
currentTime
;
47
RealArray
uSave
,
uxSave
;
48
49
};
50
51
#endif
Generated on Fri Jan 4 2013 10:19:26 for CG by
1.8.3