OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
The base class for all primary unknowns mappers. More...
#include <primaryunknownmapper.h>
Public Member Functions | |
PrimaryUnknownMapper () | |
Constructor. More... | |
virtual | ~PrimaryUnknownMapper () |
Destructor. More... | |
virtual int | mapAndUpdate (FloatArray &answer, ValueModeType mode, Domain *oldd, Domain *newd, TimeStep *tStep)=0 |
Maps and updates the vector(s) of primary unknowns from old mesh oldd to new mesh newd. More... | |
virtual int | evaluateAt (FloatArray &answer, IntArray &dofMask, ValueModeType mode, Domain *oldd, FloatArray &coords, IntArray ®List, TimeStep *tStep)=0 |
Evaluates the vector of primary unknowns, determined by domain, at given point. More... | |
Protected Member Functions | |
std::string | errorInfo (const char *func) const |
Returns string for prepending output (used by error reporting macros). More... | |
The base class for all primary unknowns mappers.
The basic task is to map the primary unknowns from one (old) mesh to the new one. If this task requires the special element algorithms, these should be included using interface concept.
Definition at line 57 of file primaryunknownmapper.h.
|
inline |
Constructor.
Definition at line 61 of file primaryunknownmapper.h.
|
inlinevirtual |
|
protected |
Returns string for prepending output (used by error reporting macros).
Definition at line 41 of file primaryunknownmapper.C.
|
pure virtual |
Evaluates the vector of primary unknowns, determined by domain, at given point.
The physical meaning of primary unknowns mapped is determined by background. element containing given point.
answer | Contains evaluated unknown vector. |
dofMask | Parameter containing dofIDs of mapped values. |
mode | Determines the type of mode of unknown. |
oldd | Old mesh reference (mesh with unknown field). |
coords | Coordinates of point of interest. |
regList | List of regions where to search, if empty all region search performed. |
tStep | Solution step. |
Implemented in oofem::EIPrimaryUnknownMapper.
|
pure virtual |
Maps and updates the vector(s) of primary unknowns from old mesh oldd to new mesh newd.
The result is stored in answer array. The interpolation of the primary unknowns is determined by element interpolation. The physical meaning of primary unknowns is determined by DofManagers. The ordering of unknowns in answer is determined by code numbers of new mesh dofmanagers.
answer | Resulting array with primary unknowns. |
mode | Determines the mode of unknown. |
oldd | Old mesh reference. |
newd | New mesh reference. |
tStep | Time step. |
Implemented in oofem::EIPrimaryUnknownMapper.