INMOST
A toolkit for distributed mathematical modeling
|
This can be used to abstract implementation of particular scalar functions, that depend on mesh data and variables of the models. More...
#include <inmost_model.h>
Public Member Functions | |
virtual bool | Initialize (Model &P)=0 |
Initialize coupling and dependent unknowns. | |
virtual bool | SetupCoupling (Model &P) |
Setup coupling with unknowns of otheer models. | |
virtual variable | Evaluate (const Storage &e) const =0 |
The main function provided by operator. More... | |
virtual bool | PrepareIterations () |
This functions might be not necessary: More... | |
virtual bool | UpdateTimeStep () |
Update time step. | |
virtual bool | SetTimeStep (double dt) |
Provide time step. | |
virtual bool | SetTime (double t) |
Provide current time. | |
virtual bool | RestoreTimeStep () |
Roll back to previous step. | |
virtual double | UpdateMultiplier (const Sparse::Vector &sol) const |
Calculate multiplier for update for this function. Can simply return 1. | |
virtual double | AdjustTimeStep (double dt) const |
Calculate time step for this model. Can simply return dt. | |
This can be used to abstract implementation of particular scalar functions, that depend on mesh data and variables of the models.
Definition at line 116 of file inmost_model.h.
The main function provided by operator.
e | Element on which operator is evaluated. |
|
inlinevirtual |
This functions might be not necessary:
Initialize data needed for FillResidual. Called once before nonlinear iterations.
Definition at line 134 of file inmost_model.h.