public class RestartModule extends CommandModule
has_started
Constructor and Description |
---|
RestartModule() |
Modifier and Type | Method and Description |
---|---|
void |
exit()
function called prior to program exit
|
void |
init()
function called prior to start of processing input file
|
void |
load() |
protected void |
loadRestartData()
loads restart data
At present only loads particle positions
TODO: non-kinetic mats
|
void |
process(org.w3c.dom.Element element)
reads element data and performs appropriate action
|
void |
save() |
void |
save(boolean ignore_it) |
protected void |
saveRestartData()
saves restart data
At present only saves particle positions
TODO: add save for fields and fluid materials
|
void |
start()
function called prior to main loop
|
finish
public void init()
CommandModule
init
in class CommandModule
public void process(org.w3c.dom.Element element)
CommandModule
process
in class CommandModule
element
- XML element containing data objectspublic void start()
CommandModule
start
in class CommandModule
public void exit()
CommandModule
exit
in class CommandModule
public void save()
public void save(boolean ignore_it)
ignore_it
- public void load()
protected void saveRestartData() throws java.io.IOException
java.io.IOException
protected void loadRestartData() throws java.io.IOException
java.io.IOException