spis.Util.Monitor
Class FieldMonitor

java.lang.Object
  extended byspis.Util.Monitor.FieldMonitor

public class FieldMonitor
extends java.lang.Object

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

Description : Monitors surface and volume fields: densities, potentials and currents.
They are stored with predefined time steps. The monitor method must be invoked more often than the time steps, and the storage is done only if needed.
Another version with averaging of these values between each storage can be envisaged.

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
FieldMonitor(MmfPlasma plasma, RCCabsSC sc, ThreeDUnstructVolMesh volMesh, ThreeDUnstructSurfMesh scSurfMesh, ThreeDUnstructSurfMesh bdSurfMesh, float scPotMapMonitorStep, float scCurrentMapMonitorStep, float plasmaPotMapMonitorStep, float densitiesMapsMonitorStep)
           
 
Method Summary
 java.util.Vector getResults()
           
 void monitor(float t, ScalSurfField collectedCurrent, ScalSurfField emittedCurrent, ScalSurfField netCurrent)
          Stores extra data at time t for monitoring if needed.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldMonitor

public FieldMonitor(MmfPlasma plasma,
                    RCCabsSC sc,
                    ThreeDUnstructVolMesh volMesh,
                    ThreeDUnstructSurfMesh scSurfMesh,
                    ThreeDUnstructSurfMesh bdSurfMesh,
                    float scPotMapMonitorStep,
                    float scCurrentMapMonitorStep,
                    float plasmaPotMapMonitorStep,
                    float densitiesMapsMonitorStep)
Method Detail

monitor

public void monitor(float t,
                    ScalSurfField collectedCurrent,
                    ScalSurfField emittedCurrent,
                    ScalSurfField netCurrent)
Stores extra data at time t for monitoring if needed. Currents are to be passed to this method because they are not stored in permanent objects (plasma, SC) passed to this monitor constructor (contrarily to densities and potentials)

Parameters:
t -
collectedCurrent -
emittedCurrent -
netCurrent -

getResults

public java.util.Vector getResults()
Returns:
Returns the results of the monitoring (fields stored at the defined times)