|
OOFEM 3.0
|
A advection equation term $T=(\grad N)^T N$. More...
#include <termlibrary4.h>
Public Member Functions | |
| dnTaN (const Variable *testField, const Variable *unknownField, FieldPtr velocity) | |
| 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) |
Protected Attributes | |
| FieldPtr | velocity |
Additional Inherited Members | |
| Public Attributes inherited from oofem::Term | |
| const Variable * | field |
| const Variable * | testField |
| MaterialMode | mode |
A advection equation term $T=(\grad N)^T N$.
Definition at line 77 of file termlibrary4.h.
| oofem::dnTaN::dnTaN | ( | const Variable * | testField, |
| const Variable * | unknownField, | ||
| FieldPtr | velocity ) |
Definition at line 67 of file termlibrary4.C.
References oofem::Term::Term(), oofem::Term::testField, and velocity.
|
overridevirtual |
Evaluates Internal forces vector, i.e. $w^T(\grad N)^T f(p)$.
| cell | |
| coords |
Implements oofem::Term.
Definition at line 89 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 69 of file termlibrary4.C.
References oofem::FloatArray::at(), oofem::FloatMatrix::at(), oofem::FloatMatrix::beProductOf(), oofem::Term::field, oofem::FloatMatrix::fromArray(), gc, oofem::Element::getGeometryInterpolation(), oofem::Element::giveGeometryType(), oofem::GaussPoint::giveNaturalCoordinates(), oofem::FEInterpolation::local2global(), oofem::Term::testField, and velocity.
Referenced by evaluate().
|
overridevirtual |
Implements oofem::Term.
Definition at line 97 of file termlibrary4.C.
|
overridevirtual |
Implements oofem::Term.
Definition at line 102 of file termlibrary4.C.
|
protected |
Definition at line 79 of file termlibrary4.h.
Referenced by dnTaN(), and evaluate_lin().