|
|||||||||||
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.FluidSurfDistrib
spis.Surf.SurfDistrib.LocalMaxwellSurfDistrib
Class Name : LocalMaxwellSurfDistrib (Maxwellian Surface Distribution)
Project ref : SPIS project
File name : LocalMaxwellSurfDistrib.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/08/2003
Modification :
Description : Maxwellian Surface Distribution.
The distribution is described by a local Maxwellian distribution (different
moments on each surface element) contrarily GlobalMaxwellBoltzmannVolDistrib
which is global (and maybe MaxwellianAnalyticSurfDistrib one day)
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
LocalMaxwellSurfDistrib(GlobalParameter[] globalParams,
LocalParameter[] localParams,
java.lang.String option,
SurfMesh sm,
java.lang.Integer sourceId)
Constructor based on UI-defined parameters |
|
LocalMaxwellSurfDistrib(SurfMesh sm,
LocalMaxwellSurfSampler sampler)
constructor with minimal data, default initialisation of surface fields is performed: surface-centered flux and temperature ScalSurfFields are generated. |
|
LocalMaxwellSurfDistrib(SurfMesh sm,
Part part)
Constructor without sampler: can be used for some distributions, which do not need to produce samples following that distribution (e.g. result distributions, but not sources of PICVolDistrib-utions). |
|
LocalMaxwellSurfDistrib(SurfMesh sm,
Part part,
float typicalFlux,
float typicalTemperature)
Quick constructor: - a default sampler is generated from particle type, and typical flux and temperature of the emitted particles (the latter are used to determined sampled particle weights), - 0 flux and temperature fields are generated (surface-centred) |
|
LocalMaxwellSurfDistrib(SurfMesh sm,
ScalSurfField flux,
ScalSurfField temperature,
LocalMaxwellSurfSampler sampler)
Default constructor. |
|
LocalMaxwellSurfDistrib(SurfMesh sm,
ScalSurfField flux,
ScalSurfField temperature,
Part part)
Constructor without sampler: can be used for some distributions, which do not need to produce samples following that distribution (e.g. result distributions, but not sources of PICVolDistrib-utions) |
Method Summary | |
float |
assessTypicalVelo()
Assessing velocity is not possible for a FluidSUrfDistrib (no information on temperature, hence velocity) => returns ~0 To be overriden by derived classes, for which velocity can be assessed! |
void |
getMoment(SurfField mom,
int order,
int charge,
int mass)
Returns a Maxwellian Surface Distribution moment |
ScalSurfField |
getTemp()
|
void |
map(SurfDistrib sd)
Maps the SurfDistrib passed, sd, into this LocalMaxwellSurfDistrib. |
void |
sample(PartList pl,
float dt)
Provides a sample generated following this Maxwellian distribution |
void |
setTemp(ScalSurfField temperature)
|
Methods inherited from class spis.Surf.SurfDistrib.FluidSurfDistrib |
getFlux, setFlux |
Methods inherited from class spis.Surf.SurfDistrib.NonPICSurfDistrib |
assesMinTimeToCrossOneCell, getMoment, getPart, getSample, getSampler, setPart, setSampler |
Methods inherited from class spis.Surf.SurfDistrib.SurfDistrib |
getFrom, getMoment, getMoment, getMoment, getMoment, getSm, getTo, setFrom, setTo |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LocalMaxwellSurfDistrib(SurfMesh sm, ScalSurfField flux, ScalSurfField temperature, LocalMaxwellSurfSampler sampler)
sm
- flux
- temperature
- sampler
- public LocalMaxwellSurfDistrib(SurfMesh sm, LocalMaxwellSurfSampler sampler)
sm
- sampler
- public LocalMaxwellSurfDistrib(SurfMesh sm, Part part, float typicalFlux, float typicalTemperature)
sm
- surface meshpart
- type of particles to be generatedtypicalFlux
- typical emitted flux [#/m2/s]typicalTemperature
- typical temperature of emitted particles [eV]LocalMaxwellSurfSampler1.LocalMaxwellSurfSampler1(Part, float, float, ScalSurfField, ScalSurfField)
public LocalMaxwellSurfDistrib(SurfMesh sm, ScalSurfField flux, ScalSurfField temperature, Part part)
public LocalMaxwellSurfDistrib(SurfMesh sm, Part part)
public LocalMaxwellSurfDistrib(GlobalParameter[] globalParams, LocalParameter[] localParams, java.lang.String option, SurfMesh sm, java.lang.Integer sourceId)
globalParams
- localParams
- option
- unused for nowsm
- sourceId
- Method Detail |
public void sample(PartList pl, float dt)
sample
in class FluidSurfDistrib
SurfDistrib.sample(PartList, float)
public void getMoment(SurfField mom, int order, int charge, int mass)
getMoment
in class FluidSurfDistrib
SurfDistrib.getMoment(SurfField, int, int, int, int, int, int)
public float assessTypicalVelo()
FluidSurfDistrib
assessTypicalVelo
in class FluidSurfDistrib
public void map(SurfDistrib sd)
map
in class FluidSurfDistrib
SurfDistrib.map(spis.Surf.SurfDistrib.SurfDistrib)
public ScalSurfField getTemp()
public void setTemp(ScalSurfField temperature)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |