MFEM  v3.3
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::NonlinearFormIntegrator Class Referenceabstract

#include <nonlininteg.hpp>

Inheritance diagram for mfem::NonlinearFormIntegrator:
[legend]

Public Member Functions

virtual void AssembleElementVector (const FiniteElement &el, ElementTransformation &Tr, const Vector &elfun, Vector &elvect)=0
 Perform the local action of the NonlinearFormIntegrator. More...
 
virtual void AssembleElementGrad (const FiniteElement &el, ElementTransformation &Tr, const Vector &elfun, DenseMatrix &elmat)
 Assemble the local gradient matrix. More...
 
virtual double GetElementEnergy (const FiniteElement &el, ElementTransformation &Tr, const Vector &elfun)
 Compute the local energy. More...
 
virtual ~NonlinearFormIntegrator ()
 

Detailed Description

The abstract base class NonlinearFormIntegrator is used to express the local action of a general nonlinear finite element operator. In addition it may provide the capability to assemble the local gradient operator and to compute the local energy.

Definition at line 26 of file nonlininteg.hpp.

Constructor & Destructor Documentation

virtual mfem::NonlinearFormIntegrator::~NonlinearFormIntegrator ( )
inlinevirtual

Definition at line 44 of file nonlininteg.hpp.

Member Function Documentation

void mfem::NonlinearFormIntegrator::AssembleElementGrad ( const FiniteElement el,
ElementTransformation Tr,
const Vector elfun,
DenseMatrix elmat 
)
virtual

Assemble the local gradient matrix.

Reimplemented in mfem::HyperelasticNLFIntegrator, and mfem::BilinearFormIntegrator.

Definition at line 17 of file nonlininteg.cpp.

virtual void mfem::NonlinearFormIntegrator::AssembleElementVector ( const FiniteElement el,
ElementTransformation Tr,
const Vector elfun,
Vector elvect 
)
pure virtual
double mfem::NonlinearFormIntegrator::GetElementEnergy ( const FiniteElement el,
ElementTransformation Tr,
const Vector elfun 
)
virtual

Compute the local energy.

Reimplemented in mfem::VectorCurlCurlIntegrator, and mfem::HyperelasticNLFIntegrator.

Definition at line 25 of file nonlininteg.cpp.


The documentation for this class was generated from the following files: