|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Top.Simulation.Simulation
spis.Top.Simulation.PlasmaScSimulation
spis.Top.Simulation.SimulationFromUIParams
Class Name : Simulation (generic Simulation class)
Project ref : SPIS project
File name : Simulation.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France
http://www.onecert.fr
Status : under development
Creation : 25/04/2003
Modification :
Description : Simulation class, based on UI-defined parameters.
This is the class called by SPIS framework (JyTop4.py).
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private ScalSurfField |
collectedCurrent
collected current on SC |
private int |
electricCircuitIntegrate
electric circuit integration flag |
private ScalSurfField |
emittedCurrent
emitted current from SC |
private Environment |
environment
UI-defined environement |
private ElecSuperNodeMonitor |
esnMonitor
monitor for data on electric super nodes |
private FieldMonitor |
fieldMonitor
monitor for surface and volume fields |
private float |
initPot
global initial potential |
private int |
initPotFlag
flag for potential initialisation |
private LocalParameter[] |
localParameters
Local parameters (material type...) |
private ScalSurfField |
netCurrent
net current onto SC |
private float |
particleTrajectoriesNb
number of particle trajectories per PIC population |
Fields inherited from class spis.Top.Simulation.PlasmaScSimulation |
bdSurfMesh, plasma, sc, scSurfMesh, volMesh |
Fields inherited from class spis.Top.Simulation.Simulation |
results |
Constructor Summary | |
SimulationFromUIParams(ThreeDUnstructVolMesh vm,
ThreeDUnstructSurfMesh bsm,
ThreeDUnstructSurfMesh scsm,
GlobalParameter[] globalParameters,
LocalParameter[] localParameters_)
Default constructor |
|
SimulationFromUIParams(ThreeDUnstructVolMesh vm,
ThreeDUnstructSurfMesh bsm,
ThreeDUnstructSurfMesh scsm,
GlobalParameter[] globalParameters,
LocalParameter[] localParameters_,
java.lang.String outPath)
Constructor with the default output path to write files |
|
SimulationFromUIParams(ThreeDUnstructVolMesh vm,
ThreeDUnstructSurfMesh bsm,
ThreeDUnstructSurfMesh scsm,
GlobalParameter[] globalParameters,
LocalParameter[] localParameters_,
java.lang.String outPath,
java.lang.String inPath)
Constructor with the default output and input path to write/read files |
Method Summary | |
private void |
addData(java.lang.Object data,
java.lang.String name,
float t)
Stores data for postprocessing |
private ScalSurfField |
computeRnOverR2()
Computes and returns r.n/(r.r), where r is the vector field of bd mesh surface positions (centres) with origin the SC mesh barycentre, and n is the vector field of the (outgoing) normals to the external boundary mesh. |
void |
init()
Initialisation: build objects for the simulation (SC, plasma...). |
void |
integrate()
Time integration of of the SC-plasma dynamics over the UI-defined duration t |
void |
integrate(float duration)
Time integration of the SC-plasma dynamics over the duration t |
Methods inherited from class spis.Top.Simulation.PlasmaScSimulation |
getBdSurfResults, getCurveTimePlots, getMFPlasma, getRCCabsSC, getScSurfResults, getTrajectories, getVolResults, selectSurfResults, setPlasma, setSC |
Methods inherited from class spis.Top.Simulation.Simulation |
exportUIData, getBdSurfMesh, getGlobalParameters, getResults, getScalTimePlots, getScSurfMesh, getVolMesh, importUIData, selectResults, setBdSurfMesh, setDefaultInputPath, setDefaultOutputPath, setDefaultPaths, setGlobalParameters, setResults, setScSurfMesh, setVolMesh |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private LocalParameter[] localParameters
private Environment environment
private FieldMonitor fieldMonitor
private ElecSuperNodeMonitor esnMonitor
private float particleTrajectoriesNb
private int electricCircuitIntegrate
private int initPotFlag
private float initPot
private ScalSurfField collectedCurrent
private ScalSurfField emittedCurrent
private ScalSurfField netCurrent
Constructor Detail |
public SimulationFromUIParams(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm, GlobalParameter[] globalParameters, LocalParameter[] localParameters_)
vm
- - the volume meshbsm
- - the external boundary surface meshscsm
- - the spacecraft surface meshglobalParameters
- - the global parameters coming from UIlocalParameters_
- - the local parameters coming from UIpublic SimulationFromUIParams(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm, GlobalParameter[] globalParameters, LocalParameter[] localParameters_, java.lang.String outPath)
vm
- - the volume meshbsm
- - the external boundary surface meshscsm
- - the spacecraft surface meshglobalParameters
- - the global parameters coming from UIlocalParameters_
- - the local parameters coming from UIoutPath
- - path of the directory where to write filespublic SimulationFromUIParams(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm, GlobalParameter[] globalParameters, LocalParameter[] localParameters_, java.lang.String outPath, java.lang.String inPath)
vm
- - the volume meshbsm
- - the external boundary surface meshscsm
- - the spacecraft surface meshglobalParameters
- - the global parameters coming from UIlocalParameters_
- - the local parameters coming from UIoutPath
- - path of the directory where to write filesinPath
- - path of the directory where to read files fromMethod Detail |
public void init()
public void integrate(float duration)
integrate
in class Simulation
private void addData(java.lang.Object data, java.lang.String name, float t)
data
- name
- t
- time of creation of this datapublic void integrate()
private ScalSurfField computeRnOverR2()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |