IFEM  90A354
Public Member Functions | List of all members
ISolver Class Referenceabstract

Abstract solver interface. More...

#include <ISolver.h>

Public Member Functions

virtual const ProcessAdmgetProcessAdm () 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.
 

Detailed Description

Abstract solver interface.

To be realized through the SIMSolver template.

Member Function Documentation

◆ 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]fileNameFile name used to construct the VTF-file name from
[out]geoBlkRunning geometry block counter
[out]nBlockRunning 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]tpTime stepping parameters
[in]nBlockRunning VTF block counter

The documentation for this class was generated from the following file: