MFEM v4.7.0
Finite element discretization library
|
Abstract class for integrators that support delta coefficients. More...
#include <lininteg.hpp>
Public Member Functions | |
bool | IsDelta () const |
Returns true if the derived class instance uses a delta coefficient. | |
void | GetDeltaCenter (Vector ¢er) |
Returns the center of the delta coefficient. | |
virtual void | AssembleDeltaElementVect (const FiniteElement &fe, ElementTransformation &Trans, Vector &elvect)=0 |
Assemble the delta coefficient at the IntegrationPoint set in Trans which is assumed to map to the delta coefficient center. | |
Public Member Functions inherited from mfem::LinearFormIntegrator | |
virtual bool | SupportsDevice () const |
Method probing for assembly on device. | |
virtual void | AssembleDevice (const FiniteElementSpace &fes, const Array< int > &markers, Vector &b) |
Method defining assembly on device. | |
virtual void | AssembleRHSElementVect (const FiniteElement &el, ElementTransformation &Tr, Vector &elvect)=0 |
virtual void | AssembleRHSElementVect (const FiniteElement &el, FaceElementTransformations &Tr, Vector &elvect) |
virtual void | AssembleRHSElementVect (const FiniteElement &el1, const FiniteElement &el2, FaceElementTransformations &Tr, Vector &elvect) |
virtual void | SetIntRule (const IntegrationRule *ir) |
const IntegrationRule * | GetIntRule () |
virtual | ~LinearFormIntegrator () |
Protected Member Functions | |
DeltaLFIntegrator (Coefficient &q, const IntegrationRule *ir=NULL) | |
This constructor should be used by derived classes that use a scalar DeltaCoefficient. | |
DeltaLFIntegrator (VectorCoefficient &vq, const IntegrationRule *ir=NULL) | |
This constructor should be used by derived classes that use a VectorDeltaCoefficient. | |
Protected Member Functions inherited from mfem::LinearFormIntegrator | |
LinearFormIntegrator (const IntegrationRule *ir=NULL) | |
Protected Attributes | |
DeltaCoefficient * | delta |
VectorDeltaCoefficient * | vec_delta |
Protected Attributes inherited from mfem::LinearFormIntegrator | |
const IntegrationRule * | IntRule |
Abstract class for integrators that support delta coefficients.
Definition at line 62 of file lininteg.hpp.
|
inlineprotected |
This constructor should be used by derived classes that use a scalar DeltaCoefficient.
Definition at line 70 of file lininteg.hpp.
|
inlineprotected |
This constructor should be used by derived classes that use a VectorDeltaCoefficient.
Definition at line 77 of file lininteg.hpp.
|
pure virtual |
Assemble the delta coefficient at the IntegrationPoint set in Trans which is assumed to map to the delta coefficient center.
Implemented in mfem::DomainLFGradIntegrator, mfem::DomainLFIntegrator, mfem::VectorDomainLFGradIntegrator, mfem::VectorDomainLFIntegrator, mfem::VectorFEDomainLFCurlIntegrator, mfem::VectorFEDomainLFDivIntegrator, and mfem::VectorFEDomainLFIntegrator.
|
inline |
Returns the center of the delta coefficient.
Definition at line 88 of file lininteg.hpp.
|
inline |
Returns true if the derived class instance uses a delta coefficient.
Definition at line 85 of file lininteg.hpp.
|
protected |
Definition at line 65 of file lininteg.hpp.
|
protected |
Definition at line 66 of file lininteg.hpp.