|
|
| SIMSolver (T1 &s1) |
| | The constructor initializes the reference to the actual solver.
|
| |
|
virtual | ~SIMSolver () |
| | The destructor deletes the restart data handler.
|
| |
|
virtual bool | read (const char *file) |
| | Reads solver data from the specified input file.
|
| |
|
const TimeStep & | getTimePrm () const |
| | Returns a const reference to the time stepping information.
|
| |
|
bool | advanceStep () |
| | Advances the time step one step forward.
|
| |
|
virtual int | solveProblem (char *infile, const char *heading=nullptr) |
| | Solves the problem up to the final time.
|
| |
| void | handleDataOutput (const std::string &hdf5file, const ProcessAdm &modelAdm, int saveInterval=1, int restartInterval=0) |
| | Handles application data output. More...
|
| |
| virtual bool | serialize (HDF5Restart::SerializeData &data) |
| | Serialize internal state for restarting purposes. More...
|
| |
| virtual bool | deSerialize (const HDF5Restart::SerializeData &data) |
| | Set internal state from a serialized state. More...
|
| |
| int | restart (const std::string &restartFile, int restartStep) |
| | Handles application restarts by reading a serialized solver state. More...
|
| |
|
| SIMSolverStat (T1 &s1, const char *head=nullptr) |
| | The constructor initializes the reference to the actual solver.
|
| |
|
virtual | ~SIMSolverStat () |
| | The destructor deletes the results data exporter object.
|
| |
| void | handleDataOutput (const std::string &hdf5file, const ProcessAdm &modelAdm, int saveInterval=1) |
| | Handles application data output. More...
|
| |
|
virtual | ~SIMadmin () |
| | Empty destructor.
|
| |
|
virtual bool | preprocess (const IntVec &ignored={}, bool fixDup=false) |
| | Performs some pre-processing tasks on the FE model.
|
| |
|
virtual bool | preprocessC (const IntVec &, bool, double=0.0) |
| | Performs some pre-processing tasks on the FE model.
|
| |
|
const ProcessAdm & | getProcessAdm () const |
| | Returns the parallel process administrator.
|
| |
| int | getGlobalProcessID () const |
| | Returns the global process ID. More...
|
| |
|
const std::string & | getHeading () const |
| | Returns the simulator heading.
|
| |
|
void | setHeading (const std::string &heading) |
| | Defines the simulator heading.
|
| |
|
void | printHeading (int &supStep) const |
| | Prints the heading of this simulator, if any, to IFEM::cout.
|
| |
| bool | readXML (const char *fileName, bool verbose=true) |
| | Reads an XML input file. More...
|
| |
| bool | loadXML (const char *xml) |
| | Loads data from an XML-formatted text string. More...
|
| |
|
|
virtual bool | parse (char *keyw, std::istream &is) |
| | Parses a data section from an input stream.
|
| |
|
virtual bool | parse (const tinyxml2::XMLElement *elem) |
| | Parses a data section from an XML element.
|
| |
|
bool | saveState (int &geoBlk, int &nBlock, bool newMesh=false, char *infile=nullptr, bool saveRes=true) |
| | Saves geometry and results to VTF and HDF5 for current time step.
|
| |
|
void | printHeading (const char *heading) |
| | Writes an application-specific heading, if provided.
|
| |
|
| SIMadmin (const char *heading=nullptr) |
| | The default constructor initializes the process administrator.
|
| |
|
| SIMadmin (SIMadmin &anotherSIM) |
| | Copy constructor.
|
| |
| const tinyxml2::XMLElement * | loadFile (tinyxml2::XMLDocument &doc, const char *fileName, bool verbose=false) |
| | Loads an XML input file into a tinyxml2::XMLDocument object. More...
|
| |
|
virtual const char ** | getPrioritizedTags () const |
| | Returns a list of prioritized XML-tags.
|
| |
template<class T1>
class SIMSolver< T1 >
Template class for transient simulator drivers.
This template can be instantiated over any type implementing the ISolver interface. It provides a time stepping loop and restart in addition.