|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectspis.Top.Top.Top
Class Name : Top
Project ref : SPIS project
File name : Top.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 : Top-most level class containing main.
It is currently used for testing, but disappears from the encapsulated code,
the calls performed here are performed at jython script level.
These calls can thus be used as basic examples to write basic jython scripts.
Versions and anomalies correction :
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
Field Summary | |
private ThreeDUnstructSurfMesh |
bdSurfMesh
the 3D untructured surface mesh, external boundary of the simulation box (not a physical surface) |
private GlobalParameter[] |
globalParameters
Global parameters (plasma density...) |
private LocalParameter[] |
localParameters
Local parameters (meterial Id...) |
private ThreeDUnstructSurfMesh |
scSurfMesh
the 3D untructured spacecraft surface mesh, (a physical surface) |
private PlasmaScSimulation |
simu
simulation object, containing everything |
private ThreeDUnstructVolMesh |
volMesh
the 3D untructured volume mesh, of the simulation box |
Constructor Summary | |
private |
Top()
|
|
Top(ThreeDUnstructVolMesh vm,
ThreeDUnstructSurfMesh bsm,
ThreeDUnstructSurfMesh scsm)
Default constructor with data passed by the framework (SPIS/UI). |
Method Summary | |
ScalVolField |
buildElectronDensity()
Returns the electron density |
static void |
buildEmptyMeshes()
Old deprecated routine, which builds 'empty' volume and surface meshes (allocated arrays but wit hzero value). |
ScalVolField |
buildIonDensity()
Returns the ion density |
ScalVolField |
buildPlasmaDensity()
Returns the plasma density |
void |
exportUIData()
exports meshes |
MmfPlasma |
getPlasma()
Returns the plasma of the simulation |
ScalVolField |
getPlasmaPotential()
Returns the plasma potential |
RCCabsSC |
getSC()
Returns the spacecraft of the simulation |
ScalSurfField |
getScPotential()
Returns the spacecraft potential |
Simulation |
getSimulation()
Returns the whole simulation object, from which everything can be extracted |
void |
importUIData()
imports meshes |
void |
importUIDataIncludingLocalParams()
imports meshes |
void |
launchMenu()
Launches the test menu for SPIS/NUM. |
static void |
main(java.lang.String[] argv)
This class can also be called as a standalone code, but no meshes are then initialised. |
void |
poissonTestCosine()
Test sequence P: quantitative testing of poisson solver. |
void |
poissonTestCosineHotStart()
Test sequence p: quantitative testing of poisson solver. |
void |
poissonTestCosineHotStart(float[] k)
Test sequence p: quantitative testing of poisson solver. |
void |
poissonTestPowerLaw()
Test sequence R: quantitative testing of poisson solver. |
void |
poissonTestPowerLawNonLinear()
Test sequence R: quantitative testing of poisson solver. |
void |
printPotentials()
|
void |
test0()
Test sequence 0: poisson solver |
void |
test1()
Test sequence 1 |
void |
test2()
Test sequence 2 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private ThreeDUnstructVolMesh volMesh
private ThreeDUnstructSurfMesh bdSurfMesh
private ThreeDUnstructSurfMesh scSurfMesh
private GlobalParameter[] globalParameters
private LocalParameter[] localParameters
private PlasmaScSimulation simu
Constructor Detail |
public Top(ThreeDUnstructVolMesh vm, ThreeDUnstructSurfMesh bsm, ThreeDUnstructSurfMesh scsm)
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
private Top()
Method Detail |
public void launchMenu()
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
public void exportUIData()
public void importUIData()
public void importUIDataIncludingLocalParams()
public void test0()
public void printPotentials()
public void poissonTestCosineHotStart()
public void poissonTestCosineHotStart(float[] k)
public void poissonTestCosine()
public void poissonTestPowerLaw()
public void poissonTestPowerLawNonLinear()
public void test1()
public void test2()
public static void buildEmptyMeshes()
Version number | Author (name, e-mail) | Corrections/Modifications |
0.1 | JF Roussel, roussel@onecert.fr | Creation |
public Simulation getSimulation()
public RCCabsSC getSC()
public MmfPlasma getPlasma()
public ScalSurfField getScPotential()
public ScalVolField getPlasmaPotential()
public ScalVolField buildPlasmaDensity()
public ScalVolField buildIonDensity()
public ScalVolField buildElectronDensity()
public static void main(java.lang.String[] argv)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |