|
OOFEM 3.0
|
Advection problem mass matrix $S=(N)^T N$. More...
#include <termlibrary4.h>
Public Member Functions | |
| NTN (const Variable *testField, const Variable *unknownField) | |
| void | evaluate_lin (FloatMatrix &answer, MPElement &e, GaussPoint *gp, TimeStep *tstep) const override |
| Evaluates the linearization of term (the lhs contribution). | |
| void | evaluate (FloatArray &, MPElement &cell, GaussPoint *gp, TimeStep *tstep) const override |
| Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$. | |
| void | getDimensions (Element &cell) const override |
| void | initializeCell (Element &cell) const override |
| Public Member Functions inherited from oofem::Term | |
| Term () | |
| Term (const Variable *testField, const Variable *unknownField, MaterialMode m=MaterialMode::_Unknown) | |
| virtual IntegrationRule * | giveElementIntegrationRule (Element *e) const |
| virtual void | initializeFrom (InputRecord &ir, EngngModel *problem) |
Additional Inherited Members | |
| Public Attributes inherited from oofem::Term | |
| const Variable * | field |
| const Variable * | testField |
| MaterialMode | mode |
Advection problem mass matrix $S=(N)^T N$.
Definition at line 49 of file termlibrary4.h.
Definition at line 43 of file termlibrary4.C.
References oofem::Term::Term(), and oofem::Term::testField.
|
overridevirtual |
Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.
| cell | |
| coords |
Implements oofem::Term.
Definition at line 51 of file termlibrary4.C.
References oofem::FloatArray::beProductOf(), evaluate_lin(), oofem::Term::field, oofem::MPElement::getUnknownVector(), and S.
|
overridevirtual |
Evaluates the linearization of term (the lhs contribution).
| answer | |
| e | |
| coords |
Implements oofem::Term.
Definition at line 45 of file termlibrary4.C.
References oofem::FloatMatrix::beDyadicProductOf(), oofem::Term::field, and oofem::GaussPoint::giveNaturalCoordinates().
Referenced by evaluate().
|
overridevirtual |
Implements oofem::Term.
Definition at line 59 of file termlibrary4.C.
|
overridevirtual |
Implements oofem::Term.
Definition at line 64 of file termlibrary4.C.