Overture
Version 25
Main Page
Namespaces
Classes
Files
File List
File Members
Overture.v25.d
include
SphereLoading.h
Go to the documentation of this file.
1
#ifndef SPHERE_LOADING_H
2
#define SPHERE_LOADING_H
3
4
#include "
Overture.h
"
5
6
// ==================================================================================================
7
// This class holds information defining the spheres that fill a liner geometry.
8
// It is used as an argument to the ModelBuilder::linerGeometry function.
9
// ==================================================================================================
10
11
class
SphereLoading
12
{
13
public
:
14
15
SphereLoading
(
int
sizeOfDistribution=1,
bool
fromGUI
=
true
);
16
~SphereLoading
();
17
18
//SphereLoading(int &);
19
//SphereLoading(RealArray, RealArray, RealArray, RealArray, RealArray);
20
21
void
resize
(
int
&);
22
void
updateDistribution
(
int
,
RealArray
,
RealArray
);
23
void
printSpheres
(
aString
&);
24
void
printTecPlotSpheres
(
aString
&);
25
void
printDuneSpheres
(
aString
&);
26
27
RealArray
sphereCenter
;
// holds sphere centers, sphereCenter(i,0:2)
28
RealArray
sphereRadius
;
// sphere radius, sphereRadius(i)
29
RealArray
sphereDistribution
;
// sphereDistribution(j,0) = radius, sphereDistribution(j,1)=probability distribution for radius
30
31
RealArray
sphereVelocity
;
// sphereVelocity(i,0:2) : initial velocity of the sphere
32
RealArray
sphereStartTime
;
// sphere starts to move at this time.
33
double
volumeFraction
;
// total volume fraction for all spheres
34
bool
fromGUI
;
35
int
RNGSeed
;
// initial seed for RNG
36
};
37
38
#endif
Generated on Fri Jan 4 2013 10:17:59 for Overture by
1.8.3