spis.Top.Simulation
Class GeoExample2

java.lang.Object
  extended byspis.Top.Simulation.Simulation
      extended byspis.Top.Simulation.PlasmaScSimulation
          extended byspis.Top.Simulation.GeoExample2

public class GeoExample2
extends PlasmaScSimulation

Class Name : GeoExample2
Project ref : SPIS project
File name : GeoExample2.java
File type : class
Copyright : ONERA, 2 Av. E. Belin, 31055 Toulouse cedex, France http://www.onecert.fr
Status : under development
Creation : 11 mars 2004
Modification :

Description : Basic example of GEO orbit simulation.
High energy environment, PIC model of ions, Boltzmann for electrons, with photo-emission added after the regular simulation time (extra w.r.t. GeoExample)

Versions and anomalies correction :

Version numberAuthor (name, e-mail) Corrections/Modifications
0.1 JF Roussel, roussel@onecert.frCreation


Version:
0.1
Author:
JF Roussel

Constructor Summary
GeoExample2()
          temporary constructor without meshes, to allow to build this from the framework without meshes
GeoExample2(RCCabsSC spacecraft, MmfPlasma plasma)
          Constructor with spacecraft and plasma, which can only be called by the Top object, not from the framework, unless Jython code is enhanced to build a SC and a plasma.
GeoExample2(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm)
          Default constructor
GeoExample2(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm, GlobalParameter[] globalParameters)
          Constructor with global parameters
 
Method Summary
 void buildScAndPlasma()
          initialisations: builds a spacecraft and a plasma objects (and sets them in PlasmaScSimulation) and the connections between them (particle fluxes, potentials and current transfers)
 void init()
          standard initialisations: buffer allocation...
 void integrate(float duration)
          Time integration of the coupled plasma-spacecraft dynamics over the time t.
 
Methods inherited from class spis.Top.Simulation.PlasmaScSimulation
getBdSurfResults, getCurveTimePlots, getMFPlasma, getRCCabsSC, getScSurfResults, getTrajectories, getVolResults, setPlasma, setSC
 
Methods inherited from class spis.Top.Simulation.Simulation
exportUIData, getBdSurfMesh, getGlobalParameters, getResults, getScalTimePlots, getScSurfMesh, getVolMesh, importUIData, setBdSurfMesh, setDefaultInputPath, setDefaultOutputPath, setDefaultPaths, setGlobalParameters, setResults, setScSurfMesh, setVolMesh
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GeoExample2

public GeoExample2(ThreeDUnstructVolMesh vm,
                   ThreeDUnstructSurfMesh bsm,
                   ThreeDUnstructSurfMesh scsm)
Default constructor

Parameters:
vm - volume mesh
bsm - external boundary surface mesh
scsm - spacecraft surface mesh

GeoExample2

public GeoExample2(ThreeDUnstructVolMesh vm,
                   ThreeDUnstructSurfMesh bsm,
                   ThreeDUnstructSurfMesh scsm,
                   GlobalParameter[] globalParameters)
Constructor with global parameters

Parameters:
vm - volume mesh
bsm - external boundary surface mesh
scsm - spacecraft surface mesh
globalParameters -

GeoExample2

public GeoExample2(RCCabsSC spacecraft,
                   MmfPlasma plasma)
Constructor with spacecraft and plasma, which can only be called by the Top object, not from the framework, unless Jython code is enhanced to build a SC and a plasma.


GeoExample2

public GeoExample2()
temporary constructor without meshes, to allow to build this from the framework without meshes

Method Detail

init

public void init()
standard initialisations: buffer allocation...


buildScAndPlasma

public void buildScAndPlasma()
initialisations: builds a spacecraft and a plasma objects (and sets them in PlasmaScSimulation) and the connections between them (particle fluxes, potentials and current transfers)


integrate

public void integrate(float duration)
Time integration of the coupled plasma-spacecraft dynamics over the time t.
The results of this time evolution are the update of the plasma and spacecraft state variables (defined in the derived classes). It basically consists in an iteration of calls to the plasma dynamics and spacecraft potential update. Several different versions can be developed in derived classes.

Specified by:
integrate in class Simulation