jabble
Class ResultStore
java.lang.Object
jabble.ResultStore
public class ResultStore
- extends java.lang.Object
Saves and loads the results of a simulation.
|
Constructor Summary |
ResultStore(java.lang.String filename,
boolean overwrite)
Creates a new ResultStore. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResultStore
public ResultStore(java.lang.String filename,
boolean overwrite)
- Creates a new ResultStore.
- Parameters:
filename - the name of the fileoverwrite - if true, the file is going to be overwritten
refresh
public void refresh()
reloadMetadata
public void reloadMetadata()
setLastVariableName
public void setLastVariableName(java.lang.String name)
setFieldsToSave
public void setFieldsToSave(java.lang.String... fields)
getNSlices
public int getNSlices()
addSlice
public void addSlice(Slice slice)
getSlice
public Slice getSlice(int nSlice)
getField
public Field getField(java.lang.String fieldName,
int nSlice)
getField
public Field getField(Field field,
java.lang.String fieldName,
int nSlice)
getIndicatorValue
public double getIndicatorValue(java.lang.String indicatorName,
int nSlice)
getEquationSet
public EquationSet getEquationSet()
getIndicatorNames
public java.util.List<java.lang.String> getIndicatorNames()
getFieldNames
public java.util.List<java.lang.String> getFieldNames()
main
public static void main(java.lang.String[] args)
close
public void close()