MFEM v4.8.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::VectorFEDomainLFCurlIntegrator Class Reference

\( (Q, \mathrm{curl}(v))_{\Omega} \) for Nedelec Elements More...

#include <lininteg.hpp>

Inheritance diagram for mfem::VectorFEDomainLFCurlIntegrator:
[legend]
Collaboration diagram for mfem::VectorFEDomainLFCurlIntegrator:
[legend]

Public Member Functions

 VectorFEDomainLFCurlIntegrator (VectorCoefficient &F)
 Constructs the domain integrator \((Q, \mathrm{curl}(v)) \).
 
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)
 
- Public Member Functions inherited from mfem::DeltaLFIntegrator
bool IsDelta () const
 Returns true if the derived class instance uses a delta coefficient.
 
void GetDeltaCenter (Vector &center)
 Returns the center of the delta coefficient.
 
- 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 ~LinearFormIntegrator ()
 
- Public Member Functions inherited from mfem::Integrator
 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 IntegrationRuleGetIntRule () const
 Directly return the IntRule pointer (possibly null) without checking for NURBS patch rules or falling back on a default.
 
const IntegrationRuleGetIntegrationRule () const
 Equivalent to GetIntRule, but retained for backward compatibility with applications.
 

Additional Inherited Members

- Protected Member Functions inherited from mfem::DeltaLFIntegrator
 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 Member Functions inherited from mfem::Integrator
const IntegrationRuleGetIntegrationRule (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 IntegrationRuleGetIntegrationRule (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 IntegrationRuleGetDefaultIntegrationRule (const FiniteElement &trial_fe, const FiniteElement &test_fe, const ElementTransformation &trans) const
 Subclasses should override to choose a default integration rule.
 
- Protected Attributes inherited from mfem::DeltaLFIntegrator
DeltaCoefficientdelta
 
VectorDeltaCoefficientvec_delta
 
- Protected Attributes inherited from mfem::Integrator
const IntegrationRuleIntRule
 
NURBSMeshRulespatchRules = nullptr
 

Detailed Description

\( (Q, \mathrm{curl}(v))_{\Omega} \) for Nedelec Elements

Definition at line 372 of file lininteg.hpp.

Constructor & Destructor Documentation

◆ VectorFEDomainLFCurlIntegrator()

mfem::VectorFEDomainLFCurlIntegrator::VectorFEDomainLFCurlIntegrator ( VectorCoefficient & F)
inline

Constructs the domain integrator \((Q, \mathrm{curl}(v)) \).

Definition at line 381 of file lininteg.hpp.

Member Function Documentation

◆ AssembleDeltaElementVect()

void mfem::VectorFEDomainLFCurlIntegrator::AssembleDeltaElementVect ( const FiniteElement & fe,
ElementTransformation & Trans,
Vector & elvect )
overridevirtual

Assemble the delta coefficient at the IntegrationPoint set in Trans which is assumed to map to the delta coefficient center.

Note
This method should be called for one mesh element only, including in parallel, even when the center of the delta coefficient is shared by multiple elements.

Implements mfem::DeltaLFIntegrator.

Definition at line 536 of file lininteg.cpp.

◆ AssembleRHSElementVect() [1/3]

void mfem::VectorFEDomainLFCurlIntegrator::AssembleRHSElementVect ( const FiniteElement & el,
ElementTransformation & Tr,
Vector & elvect )
overridevirtual

Given a particular Finite Element and a transformation (Tr) computes the element vector, elvect.

Implements mfem::LinearFormIntegrator.

Definition at line 504 of file lininteg.cpp.

◆ AssembleRHSElementVect() [2/3]

void mfem::LinearFormIntegrator::AssembleRHSElementVect ( const FiniteElement & el,
FaceElementTransformations & Tr,
Vector & elvect )
virtual

Reimplemented from mfem::LinearFormIntegrator.

Definition at line 46 of file lininteg.cpp.

◆ AssembleRHSElementVect() [3/3]

void mfem::LinearFormIntegrator::AssembleRHSElementVect ( const FiniteElement & el1,
const FiniteElement & el2,
FaceElementTransformations & Tr,
Vector & elvect )
virtual

Reimplemented from mfem::LinearFormIntegrator.

Definition at line 49 of file lininteg.cpp.


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