Abstract solver interface.
More...
#include <ISolver.h>
|
|
virtual const ProcessAdm & | getProcessAdm () const =0 |
| | Returns the parallel process administrator.
|
| |
| virtual bool | saveModel (char *fileName, int &geoBlk, int &nBlock)=0 |
| | Opens a new VTF-file and writes the model geometry to it. More...
|
| |
| virtual bool | saveStep (const TimeStep &tp, int &nBlock)=0 |
| | Saves the converged results of a given time step to VTF file. More...
|
| |
|
virtual bool | init (const TimeStep &tp)=0 |
| | Initializes the simulator time stepping loop.
|
| |
|
virtual bool | advanceStep (TimeStep &tp)=0 |
| | Advances the time step one step forward.
|
| |
|
virtual bool | solveStep (TimeStep &tp)=0 |
| | Computes the solution for the current time step.
|
| |
|
virtual void | registerFields (DataExporter &exporter)=0 |
| | Registers fields for output to a data exporter.
|
| |
|
virtual void | setInitialConditions ()=0 |
| | Sets initial conditions for the solution field.
|
| |
|
virtual void | setupDependencies ()=0 |
| | Initializes and sets up field dependencies.
|
| |
Abstract solver interface.
To be realized through the SIMSolver template.
◆ saveModel()
| virtual bool ISolver::saveModel |
( |
char * |
fileName, |
|
|
int & |
geoBlk, |
|
|
int & |
nBlock |
|
) |
| |
|
pure virtual |
Opens a new VTF-file and writes the model geometry to it.
- Parameters
-
| [in] | fileName | File name used to construct the VTF-file name from |
| [out] | geoBlk | Running geometry block counter |
| [out] | nBlock | Running result block counter |
◆ saveStep()
| virtual bool ISolver::saveStep |
( |
const TimeStep & |
tp, |
|
|
int & |
nBlock |
|
) |
| |
|
pure virtual |
Saves the converged results of a given time step to VTF file.
- Parameters
-
| [in] | tp | Time stepping parameters |
| [in] | nBlock | Running VTF block counter |
The documentation for this class was generated from the following file: