Package fr.ifremer.isisfish.simulator
Class SimulationResultXML
java.lang.Object
fr.ifremer.isisfish.simulator.SimulationResultXML
- All Implemented Interfaces:
SimulationListener
,SimulationResultListener
<!ELEMENT outData (m,d,i,s)*>
<!ELEMENT m (dim+, (d|i|s)+)>
<!ELEMENT dim (label)+)>
<!ELEMENT d (#PCDATA)>
<!ELEMENT i (#PCDATA)>
<!ELEMENT s (#PCDATA)>
<!ATTLIST m
name CDATA #REQUIRED
step CDATA #IMPLIED>
<!ATTLIST dim
name CDATA #REQUIRED
size CDATA #REQUIRED>
<!ATTLIST d
step CDATA #IMPLIED>
<!ATTLIST i
step CDATA #IMPLIED>
<!ATTLIST s
step CDATA #IMPLIED>
- Author:
- poussin
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addResult
(SimulationContext context, TimeStep step, String name, org.nuiton.math.matrix.MatrixND mat) void
afterSimulation
(SimulationContext context) called after simulationvoid
beforeSimulation
(SimulationContext context) called before simulationvoid
setOutFilename
(File outfilename) void
stepChange
(SimulationContext context, TimeStep step) Receive event when simulation change step
-
Field Details
-
out
-
outFilename
-
-
Constructor Details
-
SimulationResultXML
public SimulationResultXML() -
SimulationResultXML
-
-
Method Details
-
setOutFilename
- Parameters:
outfilename
- The outfilename to set.
-
getOutFilename
- Returns:
- Returns the outfilename.
-
afterSimulation
Description copied from interface:SimulationListener
called after simulation- Specified by:
afterSimulation
in interfaceSimulationListener
-
beforeSimulation
Description copied from interface:SimulationListener
called before simulation- Specified by:
beforeSimulation
in interfaceSimulationListener
-
addResult
public void addResult(SimulationContext context, TimeStep step, String name, org.nuiton.math.matrix.MatrixND mat) throws IsisFishException - Specified by:
addResult
in interfaceSimulationResultListener
- Throws:
IsisFishException
-
stepChange
Description copied from interface:SimulationListener
Receive event when simulation change step- Specified by:
stepChange
in interfaceSimulationListener
step
- new Step
-