spis.Util.List
Class GlobalMaxwellVolSampler
java.lang.Object
spis.Util.List.VolSampler
spis.Util.List.GlobalMaxwellVolSampler
- Direct Known Subclasses:
- GlobalMaxwellVolSampler1
- public abstract class GlobalMaxwellVolSampler
- extends VolSampler
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 |
- Version:
- 0.1
- Author:
- JF Roussel
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 java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GlobalMaxwellVolSampler
public GlobalMaxwellVolSampler(Part particleType_,
float density,
float[] velocity,
float temperature)
- Default constructor
- Parameters:
density
- [#/m3]temperature
- [eV]velocity
- [m/s]
generateMaxwellian
public 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)