CG  Version 25
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 
12 {
13 public:
14 
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 
30 
31 static int debug;
32 static real cpuTime;
33 
34 OGFunction *tz;
35 
36 protected:
37 
39 
41 double period, c, radius;
42 
43 int rside,raxis; // apply BC on this face
44 
47 RealArray uSave, uxSave;
48 
49 };
50 
51 #endif