#include "modules/PanNDE/include/Model.hpp"
Public Member Functions | |
virtual double | solve (int nsteps=1)=0 |
virtual std::shared_ptr< PanNDE::FieldBundle > | getStates ()=0 |
defines expected interactions for model/solver implementations. Currently, the class contains a minimal set of methods, as are minimally necessary for the execution of a model. As future model implementations are derived from this interface, new methods likely will be added for improved general functionality of this interface (adherence to: Open-Closed Principle).
|
pure virtual |
get current solution variables for the simulation
Implemented in HostSolver::HostRSGTDUT.
|
pure virtual |
execute a model step. The return value should be a meaningful indicator of model progress, e.g.:
nsteps | number of model steps to take |
Implemented in HostSolver::HostRSGTDUT.