|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.List.SurfSampler
spis.Util.List.GlobalMaxwellSurfSampler
spis.Util.List.GlobalMaxwellSurfSampler1
Class Name : GlobalMaxwellSurfSampler1
Project ref : SPIS project
File name : GlobalMaxwellSurfSampler1.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Mar 3, 2004
Modification :
Description :
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
GlobalMaxwellSurfSampler1(Part particleType,
float density,
float[] velocity,
float temperature,
float minimumWeight,
float maximumWeight)
Default constructor |
|
GlobalMaxwellSurfSampler1(Part particleType,
float density,
float[] velocity,
float temperature,
VolMesh vm)
Minial constructor, the default average super-particle number per cell is used |
|
GlobalMaxwellSurfSampler1(Part particleType,
float density,
float[] velocity,
float temperature,
VolMesh vm,
int avPartNbPerCell)
Constructor with the desired average super-particle number per cell |
Method Summary | |
void |
sample(SpaceVectTable surfNormal,
FloatScalTable area,
float time,
IntScalTable index,
VeloVectTable velo,
float weight)
Returns a sample of particle velocities with constant weight, not yet implemented. |
void |
sample(SpaceVectTable surfNormal,
FloatScalTable areaT,
float time,
IntScalTable indexT,
VeloVectTable veloT,
FloatScalTable weightT)
Returns a sample of particle velocities and weights generated following the Maxwellian flux distribution integrated over the duration time. |
Methods inherited from class spis.Util.List.GlobalMaxwellSurfSampler |
generateMaxwellian |
Methods inherited from class spis.Util.List.SurfSampler |
getParticleType, setParticleType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GlobalMaxwellSurfSampler1(Part particleType, float density, float[] velocity, float temperature, float minimumWeight, float maximumWeight)
particleType
- density
- velocity
- temperature
- minimumWeight
- maximumWeight
- public GlobalMaxwellSurfSampler1(Part particleType, float density, float[] velocity, float temperature, VolMesh vm, int avPartNbPerCell)
particleType
- density
- velocity
- temperature
- vm
- the volume mesh these particle will enteravPartNbPerCell
- average particle number per cellpublic GlobalMaxwellSurfSampler1(Part particleType, float density, float[] velocity, float temperature, VolMesh vm)
particleType
- density
- velocity
- temperature
- vm
- the volume mesh these particle will enterMethod Detail |
public void sample(SpaceVectTable surfNormal, FloatScalTable areaT, float time, IntScalTable indexT, VeloVectTable veloT, FloatScalTable weightT)
sample
in class SurfSampler
surfNormal
- surface normals (input)areaT
- cell areas (input)time
- the particles generated are the particle that would cross the surfaces during that timeindexT
- index of each particle surface element (ouput)veloT
- sampled velocities (output)weightT
- weight of sampled particles (output)SurfSampler.sample(SpaceVectTable, FloatScalTable, float, IntScalTable, VeloVectTable, FloatScalTable)
public void sample(SpaceVectTable surfNormal, FloatScalTable area, float time, IntScalTable index, VeloVectTable velo, float weight)
sample
in class SurfSampler
surfNormal
- surface normals (input)area
- cell areas (input)time
- the particles generated are the particle that would cross the surfaces during that time (input)index
- index of each particle surface (ouput)velo
- sampled velocities (output)weight
- fixed particle weight (input)SurfSampler.sample(SpaceVectTable, FloatScalTable, float, IntScalTable, VeloVectTable, float)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |