![]() |
MFEM v4.8.0
Finite element discretization library
|
Class for domain integrator
#include <lininteg.hpp>
Public Member Functions | |
DomainLFGradIntegrator (VectorCoefficient &QF) | |
Constructs the domain integrator | |
bool | SupportsDevice () const override |
Method probing for assembly on device. | |
void | AssembleDevice (const FiniteElementSpace &fes, const Array< int > &markers, Vector &b) override |
Method defining assembly on device. | |
void | AssembleRHSElementVect (const FiniteElement &el, ElementTransformation &Tr, Vector &elvect) override |
void | AssembleDeltaElementVect (const FiniteElement &fe, ElementTransformation &Trans, Vector &elvect) override |
Assemble the delta coefficient at the IntegrationPoint set in Trans which is assumed to map to the delta coefficient center. | |
virtual void | AssembleRHSElementVect (const FiniteElement &el, FaceElementTransformations &Tr, Vector &elvect) |
virtual void | AssembleRHSElementVect (const FiniteElement &el1, const FiniteElement &el2, FaceElementTransformations &Tr, Vector &elvect) |
![]() | |
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 | ~LinearFormIntegrator () |
![]() | |
Integrator (const IntegrationRule *ir=NULL) | |
Create a new Integrator, optionally providing a prescribed quadrature rule to use in assembly. | |
virtual void | SetIntRule (const IntegrationRule *ir) |
Prescribe a fixed IntegrationRule to use, or set to null to let the integrator choose an appropriate rule. | |
void | SetIntegrationRule (const IntegrationRule &ir) |
Prescribe a fixed IntegrationRule to use. Sets the NURBS patch integration rule to null. | |
void | SetNURBSPatchIntRule (NURBSMeshRules *pr) |
Sets an integration rule for use on NURBS patches. | |
bool | HasNURBSPatchIntRule () const |
Check if a NURBS patch integration rule has been set. | |
const IntegrationRule * | GetIntRule () const |
Directly return the IntRule pointer (possibly null) without checking for NURBS patch rules or falling back on a default. | |
const IntegrationRule * | GetIntegrationRule () const |
Equivalent to GetIntRule, but retained for backward compatibility with applications. | |
Additional Inherited Members | |
![]() | |
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. | |
![]() | |
LinearFormIntegrator (const IntegrationRule *ir=NULL) | |
![]() | |
const IntegrationRule * | GetIntegrationRule (const FiniteElement &trial_fe, const FiniteElement &test_fe, const ElementTransformation &trans) const |
Returns an integration rule based on the arguments and internal state of the Integrator object. | |
const IntegrationRule * | GetIntegrationRule (const FiniteElement &el, const ElementTransformation &trans) const |
Returns an integration rule based on the arguments and internal state. (Version for identical trial_fe and test_fe) | |
virtual const IntegrationRule * | GetDefaultIntegrationRule (const FiniteElement &trial_fe, const FiniteElement &test_fe, const ElementTransformation &trans) const |
Subclasses should override to choose a default integration rule. | |
![]() | |
DeltaCoefficient * | delta |
VectorDeltaCoefficient * | vec_delta |
![]() | |
const IntegrationRule * | IntRule |
NURBSMeshRules * | patchRules = nullptr |
Class for domain integrator
Definition at line 142 of file lininteg.hpp.
|
inline |
Constructs the domain integrator
Definition at line 151 of file lininteg.hpp.
|
overridevirtual |
Assemble the delta coefficient at the IntegrationPoint set in Trans which is assumed to map to the delta coefficient center.
Implements mfem::DeltaLFIntegrator.
Definition at line 111 of file lininteg.cpp.
|
overridevirtual |
Method defining assembly on device.
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 318 of file lininteg_domain_grad.cpp.
|
overridevirtual |
Given a particular Finite Element and a transformation (Tr) computes the element right hand side element vector, elvect.
Implements mfem::LinearFormIntegrator.
Definition at line 79 of file lininteg.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 46 of file lininteg.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 49 of file lininteg.cpp.
|
inlineoverridevirtual |
Method probing for assembly on device.
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 154 of file lininteg.hpp.