public class SimulationResultXML extends Object implements SimulationResultListener
Modifier and Type | Field and Description |
---|---|
protected Writer |
out |
protected File |
outFilename |
Constructor and Description |
---|
SimulationResultXML() |
SimulationResultXML(File outfilename) |
Modifier and Type | Method and Description |
---|---|
void |
addResult(SimulationContext context,
TimeStep step,
String name,
org.nuiton.math.matrix.MatrixND mat) |
void |
afterSimulation(SimulationContext context)
called after simulation
|
void |
beforeSimulation(SimulationContext context)
called before simulation
|
File |
getOutFilename() |
void |
setOutFilename(File outfilename) |
void |
stepChange(SimulationContext context,
TimeStep step)
Receive event when simulation change step
|
public SimulationResultXML()
public SimulationResultXML(File outfilename)
public void setOutFilename(File outfilename)
outfilename
- The outfilename to set.public File getOutFilename()
public void afterSimulation(SimulationContext context)
SimulationListener
afterSimulation
in interface SimulationListener
public void beforeSimulation(SimulationContext context)
SimulationListener
beforeSimulation
in interface SimulationListener
public void addResult(SimulationContext context, TimeStep step, String name, org.nuiton.math.matrix.MatrixND mat) throws IsisFishException
addResult
in interface SimulationResultListener
IsisFishException
public void stepChange(SimulationContext context, TimeStep step)
SimulationListener
stepChange
in interface SimulationListener
step
- new StepCopyright © 1999–2020 CodeLutin. All rights reserved.