|
|||||||||||
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
Class Name : FluidSurfDistrib
Project ref : SPIS project
File name : FluidSurfDistrib.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 : Simplest Fluid Surface Distribution.
Only the zero order flux moment is stored, more is stored in derived classes.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Constructor Summary | |
FluidSurfDistrib(SurfMesh sm,
Part part)
Constructor with minimal data (in particuler without sampler: can only be used for distributions which do not need to produce samples). |
|
FluidSurfDistrib(SurfMesh sm,
ScalSurfField flux_,
LocalMaxwellSurfSampler sampler)
Constructor with flux and sampler. |
|
FluidSurfDistrib(SurfMesh sm,
ScalSurfField flux_,
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, which should indeed rather be LocalMaxwellSurfDistrib-utions to have a temperature) |
|
FluidSurfDistrib(SurfMesh sm,
SurfSampler sampler)
Constructor with sampler only, default initialisation of surface fields is performed: a surface-centered flux Field is generated This ScalSurfField flux is set as the sampler's flux, if it is a LocalMaxwellSurfSampler. |
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! |
ScalSurfField |
getFlux()
|
void |
getMoment(SurfField mom,
int order,
int charge,
int mass)
The getMoment version (with order, charge and mass flags/parameters) that must be implemented by this FluidSurfDistrib and overriden by its derived classes for which higher moments are availabel |
void |
map(SurfDistrib sd)
Maps the SurfDistrib passed, sd, into this SurfDistrib. |
void |
sample(PartList pl,
float dt)
Provides a sample generated following this Maxwellian distribution |
void |
setFlux(ScalSurfField flux_)
|
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 FluidSurfDistrib(SurfMesh sm, ScalSurfField flux_, Part part)
public FluidSurfDistrib(SurfMesh sm, Part part)
FluidSurfDistrib#FluidSurfDistrib(SurfMesh, ScalSurfField)
public FluidSurfDistrib(SurfMesh sm, ScalSurfField flux_, LocalMaxwellSurfSampler sampler)
public FluidSurfDistrib(SurfMesh sm, SurfSampler sampler)
Method 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 sample(PartList pl, float dt)
NonPICSurfDistrib
sample
in class NonPICSurfDistrib
SurfDistrib.sample(spis.Util.List.PartList, float)
public void map(SurfDistrib sd)
SurfDistrib
map
in class SurfDistrib
SurfDistrib.map(spis.Surf.SurfDistrib.SurfDistrib)
public float assessTypicalVelo()
assessTypicalVelo
in class NonPICSurfDistrib
public ScalSurfField getFlux()
public void setFlux(ScalSurfField flux_)
flux_
- the flux describing this basic fluid distribution
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |