Top level class for WARPXM simulations.
More...
#include <wmsimulation.h>
Top level class for WARPXM simulations.
This class does all the setup of the simulation and runs it to completion.
|
| WxObject () |
| Create object, that will be initialized subsequently.
|
|
| WxObject (const std::string &name) |
| Create object with given name bypassing object setup phase Protected because there is no reason to have a WxObject directly, as it is meant to be a parent class.
|
|
◆ WmSimulation() [1/2]
WmSimulation::WmSimulation |
( |
| ) |
|
Construct a new simulation object.
◆ WmSimulation() [2/2]
WmSimulation::WmSimulation |
( |
MPI_Comm |
comm | ) |
|
constructs a WmSimulation with a given MPI Communicator.
Note: this will create a duplicate of comm
◆ ~WmSimulation()
virtual WmSimulation::~WmSimulation |
( |
| ) |
|
|
virtual |
◆ get_solver()
◆ getInpFileName()
const std::string & WmSimulation::getInpFileName |
( |
| ) |
const |
Return name of input file including absolute or relative path as specified.
- Returns
- Name of input file
◆ getInputFileText()
const std::string & WmSimulation::getInputFileText |
( |
| ) |
const |
Get string representing the input file contents used to build this simulation.
Useful for archival purposes.
- Returns
- String representing the input file contents.
◆ getMsg()
◆ getRestartFile()
std::string WmSimulation::getRestartFile |
( |
| ) |
const |
|
inline |
Get file from which to restart the simulation.
- Parameters
-
◆ getRestartFrame()
int WmSimulation::getRestartFrame |
( |
| ) |
const |
|
inline |
Get frame from which to restart the simulation.
- Parameters
-
◆ getRunName()
const std::string & WmSimulation::getRunName |
( |
| ) |
const |
|
inline |
Return name of run.
- Returns
- Name of run
◆ isRestarting()
bool WmSimulation::isRestarting |
( |
| ) |
const |
|
inline |
Return true if we are restarting simulation.
- Returns
- true if we are restarting simulation
◆ parseCmdLine()
bool WmSimulation::parseCmdLine |
( |
| ) |
|
Parse command line parameters.
◆ setInputFileText()
void WmSimulation::setInputFileText |
( |
const std::string & |
str | ) |
|
Set string representing the input file contents used to build this simulation.
Useful for archival purposes.
- Parameters
-
str | String representing the input file contents. |
◆ setup()
virtual void WmSimulation::setup |
( |
const WxCryptSet & |
wmc | ) |
|
|
virtual |
Setup simulation using supplied crypset.
- Parameters
-
wmc | Cryptset using which the object is set up. |
Reimplemented from WxObject.
◆ simulate()
void WmSimulation::simulate |
( |
| ) |
|
The documentation for this class was generated from the following file: