|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Surf.SurfDistrib.SurfDistrib
spis.Surf.SurfDistrib.NonPICSurfDistrib
spis.Surf.SurfDistrib.GlobalSurfDistrib
spis.Surf.SurfDistrib.GlobalMaxwellSurfDistrib
Class Name : GlobalMaxwellSurfDistrib
Project ref : SPIS project
File name : GlobalMaxwellSurfDistrib.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Mar 4, 2004
Modification :
Description : global Maxellian distribution
The volume distribution function is a uniform Maxwell distribution with
moment dens, velo and temp (not a Boltzmann-Maxwell distribution, no
dependence in the local potential is included through a Boltzmann factor)
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private float |
dens
density |
private float |
temp
temperature |
private float[] |
velo
velocity |
Fields inherited from class spis.Surf.SurfDistrib.NonPICSurfDistrib |
part, sampler |
Fields inherited from class spis.Surf.SurfDistrib.SurfDistrib |
from, sm, to |
Constructor Summary | |
GlobalMaxwellSurfDistrib(SurfMesh sm,
float density,
float[] velocity,
float temperature,
Part particleType)
Quick constructor (no sampler provided, it is built from plasma data) |
|
GlobalMaxwellSurfDistrib(SurfMesh sm,
float density,
float[] velocity,
float temperature,
SurfSampler sampler)
Default constructor |
Method Summary | |
float |
assessTypicalVelo()
|
void |
getMoment(SurfField mom,
int order,
int charge,
int mass)
Warning: the computation of the moments of a global Maxwell distribution are momentarily approximate because they involve error functions (erf(x)) not readily available in java. |
void |
map(SurfDistrib sd)
Mapping of a generic surface distribution into a global maxwellian distribution is seldom relevant => not implemented (throws a SpisRuntimeException) |
Methods inherited from class spis.Surf.SurfDistrib.NonPICSurfDistrib |
assesMinTimeToCrossOneCell, getMoment, getPart, getSample, getSampler, sample, setPart, setSampler |
Methods inherited from class spis.Surf.SurfDistrib.SurfDistrib |
checkMomentConsistentWithOrder, getFrom, getMoment, getMoment, getMoment, getMoment, getSm, getTo, setFrom, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private float dens
private float[] velo
private float temp
Constructor Detail |
public GlobalMaxwellSurfDistrib(SurfMesh sm, float density, float[] velocity, float temperature, SurfSampler sampler)
sm
- surface meshdensity
- reference density for this global Maxwell distributionvelocity
- reference velocity (average/macroscopic)temperature
- reference temperaturesampler
- particle sampler (random generator)public GlobalMaxwellSurfDistrib(SurfMesh sm, float density, float[] velocity, float temperature, Part particleType)
sm
- surface meshdensity
- reference density for this global Maxwell distributionvelocity
- reference velocity (average/macroscopic)temperature
- reference temperatureparticleType
- the ptype of particles to generateMethod Detail |
public void getMoment(SurfField mom, int order, int charge, int mass)
getMoment
in class NonPICSurfDistrib
SurfDistrib.getMoment(spis.Surf.SurfField.SurfField, int, int, int)
public void map(SurfDistrib sd)
map
in class SurfDistrib
SurfDistrib.map(spis.Surf.SurfDistrib.SurfDistrib)
public float assessTypicalVelo()
assessTypicalVelo
in class NonPICSurfDistrib
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |