|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Vol.VolDistrib.VolDistrib
spis.Vol.VolDistrib.VolDistribWithIO
spis.Vol.VolDistrib.AnalyticVolDistrib
spis.Vol.VolDistrib.GlobalMaxwellBoltzmannVolDistrib
Class Name : GlobalMaxwellBoltzmannVolDistrib
Project ref : SPIS project
File name : GlobalMaxwellBoltzmannVolDistrib.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Feb 26, 2004
Modification :
Description : Maxwell-Boltzmann distribution
Density is given analytically:
- dens * exp(-q*pot/temp) for positive (-q*pot/temp)
- dens * (1+q*pot/temp) for positive (q*pot/temp)
where q is the particle charge.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
GlobalMaxwellBoltzmannVolDistrib(GlobalParameter[] globalParams,
LocalParameter[] localParams,
java.lang.String option,
VolMesh vm,
VectVolField E_,
VectVolField B)
Constructor based on UI-defined parameters |
|
GlobalMaxwellBoltzmannVolDistrib(VolMesh vm,
float dens_,
float[] velocity,
float temperature,
Part particleType,
PotVectVolField E_,
VectVolField B)
|
|
GlobalMaxwellBoltzmannVolDistrib(VolMesh vm,
float dens_,
float[] velocity,
float temperature,
Part particleType,
SurfDistrib scOutFlux_,
SurfDistrib bdOutFlux_,
VectVolField E_,
VectVolField B_)
Constructor with IO data. |
Method Summary | |
void |
buildMostAccurateScOutFlux()
Builds the most accurate outgoing flux onto spacecraft. |
boolean |
containsOnly(Part particletype)
|
float |
getDens()
|
void |
getMoment(VolField mom,
int order,
int charge,
int mass)
normalised and deviation flags omitted: they are set to their default value, 0 |
Part |
getPart()
|
PotVectVolField |
getPotVectVolFieldE()
|
float |
getTemp()
|
float[] |
getVelo()
|
boolean |
mayContain(Part particletype)
|
void |
move(float dt)
The move method of this analytic density simply does the following: it computes the density and surface fluxes (analytic function of potential) and stores them |
void |
setDens(float f)
|
void |
setE(VectVolField E_)
Defines electric field, overriding VolDistribWithIO.setE method to enforce the E field to be stored as a potential |
void |
setPart(Part part_)
|
void |
setTemp(float temp_)
|
void |
setVelo(float[] velo_)
|
void |
updateDistrib(ScalVolField pot)
Update the density of this distribution based on this potential (regular units [#/node] |
void |
updateSurfDistrib(ScalSurfField surfDens,
SurfDistrib surfDistrib,
float dt)
|
Methods inherited from class spis.Vol.VolDistrib.AnalyticVolDistrib |
assessLargestDt |
Methods inherited from class spis.Vol.VolDistrib.VolDistribWithIO |
buildAllInFlux, getB, getBdOutFlux, getE, getInFlux, getScOutFlux, getSelfInFlux, setB, setBdOutFlux, setInFlux, setScOutFlux, setSelfInFlux |
Methods inherited from class spis.Vol.VolDistrib.VolDistrib |
getMoment, getMoment, getMoment, getMoment, getName, getParticleType, getVm, isDensityImplicit, setImplicitDensity, setName, setParticleType |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GlobalMaxwellBoltzmannVolDistrib(VolMesh vm, float dens_, float[] velocity, float temperature, Part particleType, PotVectVolField E_, VectVolField B)
vm
- dens_
- velocity
- temperature
- particleType
- E_
- B
- public GlobalMaxwellBoltzmannVolDistrib(VolMesh vm, float dens_, float[] velocity, float temperature, Part particleType, SurfDistrib scOutFlux_, SurfDistrib bdOutFlux_, VectVolField E_, VectVolField B_)
vm
- dens_
- velocity
- temperature
- particleType
- scOutFlux_
- bdOutFlux_
- E_
- B_
- public GlobalMaxwellBoltzmannVolDistrib(GlobalParameter[] globalParams, LocalParameter[] localParams, java.lang.String option, VolMesh vm, VectVolField E_, VectVolField B)
globalParams
- localParams
- option
- vm
- B
- VolDistribWithIO for specification of this type of constructor
Method Detail |
public void move(float dt)
move
in class VolDistrib
spis.Vol.VolDistrib.VolDistrib#move(float, int, spis.Surf.SurfDistrib.SurfDistrib[], spis.Surf.SurfDistrib.SurfDistrib, spis.Surf.SurfDistrib.SurfDistrib, spis.Vol.VolField.VolField, spis.Vol.VolField.VolField)
public void updateDistrib(ScalVolField pot)
pot
- public void updateSurfDistrib(ScalSurfField surfDens, SurfDistrib surfDistrib, float dt)
public void getMoment(VolField mom, int order, int charge, int mass)
VolDistrib
getMoment
in class VolDistrib
VolDistrib.getMoment(VolField, int, int, int, int, int)
public float getDens()
public PotVectVolField getPotVectVolFieldE()
public Part getPart()
public float getTemp()
public float[] getVelo()
public void setE(VectVolField E_)
setE
in class VolDistribWithIO
E_
- reference to the E field used for matter dynamics integrationpublic boolean containsOnly(Part particletype)
containsOnly
in class VolDistrib
particletype
-
public boolean mayContain(Part particletype)
mayContain
in class VolDistrib
particletype
-
public void buildMostAccurateScOutFlux()
VolDistribWithIO
buildMostAccurateScOutFlux
in class VolDistribWithIO
public void setDens(float f)
f
- public void setPart(Part part_)
public void setTemp(float temp_)
public void setVelo(float[] velo_)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |