|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Util.List.VolSampler
spis.Util.List.GlobalMaxwellVolSampler
Class Name : GlobalMaxwellVolSampler
Project ref : SPIS project
File name : GlobalMaxwellVolSampler.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Feb 17, 2004
Modification :
Description : Performs random sampling following a global Maxwellian law,
of which momenta are passed in the constructor (they are identical
all over the volume mesh).
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
protected float |
dens
density [m-3] |
protected float |
temp
temperature [eV] |
protected float[] |
velo
average velocity [m/s] |
protected float |
vTh
thermal velocity ((kB*T/m)^1/2 indeed) |
Fields inherited from class spis.Util.List.VolSampler |
particleType |
Constructor Summary | |
GlobalMaxwellVolSampler(Part particleType_,
float density,
float[] velocity,
float temperature)
Default constructor |
Method Summary | |
void |
generateMaxwellian(VeloVectTable veloT,
int n)
generates a Maxwellian velocity sample of size n with the velocity and temperature momenta of this Sampler (used by derived classes) |
Methods inherited from class spis.Util.List.VolSampler |
getParticleType, sample, sample, setParticleType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected float dens
protected float[] velo
protected float temp
protected float vTh
Constructor Detail |
public GlobalMaxwellVolSampler(Part particleType_, float density, float[] velocity, float temperature)
density
- [#/m3]temperature
- [eV]velocity
- [m/s]Method Detail |
public void generateMaxwellian(VeloVectTable veloT, int n)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |