|
|||||||||||
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
Class Name : NonPICSurfDistrib
Project ref : SPIS project
File name : NonPICSurfDistrib.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : Mar 5, 2004
Modification :
Description : Not sampled distribution (simplified in "NonPIC")
The distribution is directly stored as a fluid, a global analytic function
(or maybe discretised in phase space in future)...
Sub-classes to be built from UI parameters:
to offer the possibility to be built from UI parameters (local and global
parameters, the latter including the class name in sourceType) subclasses of
this class must have a constructor with arguments:
- GlobalParameter[] globalParams,
- LocalParameter[] localParams,
- String option (unused)
- SurfMesh sm,
which is not enforced at compilation time, but must be true at execution time
when such a class is built.
Examples of such classes are: LocalMaxwellSurfDistrib and MaxwellianThruster
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
protected Part |
part
particle type |
protected SurfSampler |
sampler
the sampler needed to generate particle samples when PIC surface distributions are requested |
Fields inherited from class spis.Surf.SurfDistrib.SurfDistrib |
from, sm, to |
Constructor Summary | |
NonPICSurfDistrib(SurfMesh sm,
Part part_)
Constructor without a sampler (for sub-types and usages not needing a sampling) |
|
NonPICSurfDistrib(SurfMesh sm,
SurfSampler sampler_)
default constructor |
Method Summary | |
float |
assesMinTimeToCrossOneCell()
Assesses the minimum time to cross one cell when particles are injected from this surface distribution into volume. |
abstract float |
assessTypicalVelo()
|
abstract void |
getMoment(SurfField mom,
int order,
int charge,
int mass)
time, normalised and deviation flags omitted: they are set to their default value, 0 |
void |
getMoment(SurfField mom,
int order,
int charge,
int mass,
int time)
time flag must be = 0: time integrated flux not supported by NonPICDistrib (only by PICSurfDistrib, based on the accumulated particles) |
Part |
getPart()
|
PartList |
getSample(float dt)
Returns a sample of the surface distribution (a flux indeed) representing a flux integrated over the time dt. |
SurfSampler |
getSampler()
|
void |
sample(PartList pl,
float dt)
Provides a sample generated following this Maxwellian distribution |
void |
setPart(Part part)
|
void |
setSampler(SurfSampler sampler)
|
Methods inherited from class spis.Surf.SurfDistrib.SurfDistrib |
checkMomentConsistentWithOrder, getFrom, getMoment, getMoment, getMoment, getMoment, getSm, getTo, map, setFrom, setTo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SurfSampler sampler
protected Part part
Constructor Detail |
public NonPICSurfDistrib(SurfMesh sm, SurfSampler sampler_)
public NonPICSurfDistrib(SurfMesh sm, Part part_)
Method Detail |
public void sample(PartList pl, float dt)
sample
in class SurfDistrib
SurfDistrib.sample(PartList, float)
public PartList getSample(float dt)
getSample
in class SurfDistrib
SurfDistrib.sample(PartList, float)
public void getMoment(SurfField mom, int order, int charge, int mass, int time)
getMoment
in class SurfDistrib
mom
- order
- charge
- mass
- time
- SurfDistrib.getMoment(spis.Surf.SurfField.SurfField, int, int, int, int)
public abstract void getMoment(SurfField mom, int order, int charge, int mass)
SurfDistrib
getMoment
in class SurfDistrib
mom
- order
- charge
- mass
- SurfDistrib.getMoment(spis.Surf.SurfField.SurfField, int, int, int, int)
public float assesMinTimeToCrossOneCell()
assesMinTimeToCrossOneCell
in class SurfDistrib
SurfDistrib.assesMinTimeToCrossOneCell()
public abstract float assessTypicalVelo()
public Part getPart()
public SurfSampler getSampler()
public void setPart(Part part)
part
- particle type of this distributionpublic void setSampler(SurfSampler sampler)
sampler
- sampler to generate samples representing this distribution
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |