CG
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
cg.v25
common
src
ExternalBoundaryData.h
Go to the documentation of this file.
1
#ifndef EXTERNAL_BOUNDARY_DATA_H
2
#define EXTERNAL_BOUNDARY_DATA_H
3
4
#include "Overture.h"
5
6
// This class is used to access time depenedent boundary condition data that has
7
// been saved in a file.
8
class
ExternalBoundaryData
9
{
10
public
:
11
12
enum
ExternalFileTypeEnum
13
{
14
probeBoundingBox
// file was saved with cg
15
};
16
17
18
19
ExternalBoundaryData
();
20
~ExternalBoundaryData
();
21
22
int
23
getBoundaryData
( real t, CompositeGrid &
cg
,
const
int
side
,
const
int
axis
,
const
int
grid
, RealArray & bd );
24
25
int
26
update
( GenericGraphicsInterface & gi );
27
28
29
protected
:
30
31
int
orderOfTimeInterpolation
,
orderOfSpaceInterpolation
;
32
33
ExternalFileTypeEnum
externalFileType
;
34
GenericDataBase *
pdb
;
35
int
numberOfTimes
;
36
RealArray
times
;
37
int
current
;
38
39
};
40
41
42
#endif
Generated on Fri Jan 4 2013 10:19:18 for CG by
1.8.3