spis.Util.List
Class GlobalMaxwellSurfSampler

java.lang.Object
  extended byspis.Util.List.SurfSampler
      extended byspis.Util.List.GlobalMaxwellSurfSampler
Direct Known Subclasses:
GlobalMaxwellSurfSampler1

public abstract class GlobalMaxwellSurfSampler
extends SurfSampler

Class Name : GlobalMaxwellSurfSampler
Project ref : SPIS project
File name : GlobalMaxwellSurfSampler.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 numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

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.SurfSampler
particleType
 
Constructor Summary
GlobalMaxwellSurfSampler(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.SurfSampler
getParticleType, sample, sample, setParticleType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dens

protected float dens
density [m-3]


velo

protected float[] velo
average velocity [m/s]


temp

protected float temp
temperature [eV]


vTh

protected float vTh
thermal velocity ((kB*T/m)^1/2 indeed)

Constructor Detail

GlobalMaxwellSurfSampler

public GlobalMaxwellSurfSampler(Part particleType,
                                float density,
                                float[] velocity,
                                float temperature)
Default constructor

Parameters:
particleType -
density - [#/m3]
temperature - [eV]
velocity - [m/s]
Method Detail

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)