|
OOFEM 3.0
|
#include <monitor.h>
Public Types | |
| enum | MonitorEvent { TimeStepTermination } |
Public Member Functions | |
| Monitor (int n) | |
| virtual | ~Monitor () |
| virtual void | initializeFrom (InputRecord &ir)=0 |
| Initializes receiver according to object description stored in input record. | |
| virtual void | update (EngngModel *eModel, TimeStep *tStep, MonitorEvent event)=0 |
| virtual const char * | giveClassName () const =0 |
| Returns class name of the receiver. | |
Protected Attributes | |
| int | number |
Class representing monitor, an abstract class inplementing solution monitor. Monitors are managed by MonitorManager and are invoked at user controlled events, such as solution step termoination. Derived classes can perform specific actions (updating model, plotting proogress, etc)
|
inline |
Definition at line 64 of file monitor.h.
Referenced by oofem::DummyMonitor::DummyMonitor().
|
pure virtual |
Returns class name of the receiver.
Implemented in oofem::DummyMonitor.
|
pure virtual |
Initializes receiver according to object description stored in input record.
Implemented in oofem::DummyMonitor.
|
pure virtual |
updates the monitor state. This can also mean updating received eModel state.
| eModel | instance of EngngModel |
| tStep | time step |
| event | event type |
Implemented in oofem::DummyMonitor.