MFEM
v4.5.2
Finite element discretization library
|
#include <mtop_integrators.hpp>
Public Member Functions | |
DiffusionObjIntegrator () | |
virtual double | GetElementEnergy (const Array< const FiniteElement *> &el, ElementTransformation &Tr, const Array< const Vector *> &elfun) override |
Returns the objective contribution at element level. More... | |
virtual void | AssembleElementVector (const Array< const FiniteElement *> &el, ElementTransformation &Tr, const Array< const Vector *> &elfun, const Array< Vector *> &elvec) override |
Returns the gradient of the objective contribution at element level. More... | |
Public Member Functions inherited from mfem::BlockNonlinearFormIntegrator | |
virtual void | AssembleFaceVector (const Array< const FiniteElement *> &el1, const Array< const FiniteElement *> &el2, FaceElementTransformations &Tr, const Array< const Vector *> &elfun, const Array< Vector *> &elvect) |
virtual void | AssembleElementGrad (const Array< const FiniteElement *> &el, ElementTransformation &Tr, const Array< const Vector *> &elfun, const Array2D< DenseMatrix *> &elmats) |
Assemble the local gradient matrix. More... | |
virtual void | AssembleFaceGrad (const Array< const FiniteElement *> &el1, const Array< const FiniteElement *> &el2, FaceElementTransformations &Tr, const Array< const Vector *> &elfun, const Array2D< DenseMatrix *> &elmats) |
virtual | ~BlockNonlinearFormIntegrator () |
Computes an example of nonlinear objective \(\int \rm{field}*\rm{field}*\rm{weight})\rm{d}\Omega_e\).
Definition at line 218 of file mtop_integrators.hpp.
|
inline |
Definition at line 222 of file mtop_integrators.hpp.
|
overridevirtual |
Returns the gradient of the objective contribution at element level.
Reimplemented from mfem::BlockNonlinearFormIntegrator.
Definition at line 342 of file mtop_integrators.cpp.
|
overridevirtual |
Returns the objective contribution at element level.
Reimplemented from mfem::BlockNonlinearFormIntegrator.
Definition at line 298 of file mtop_integrators.cpp.