![]() |
MFEM v4.10.0
Finite element discretization library
|
\( (f, v)_{\Omega} \) for VectorFiniteElements (Nedelec, Raviart-Thomas) More...
#include <lininteg.hpp>
Classes | |
| struct | Kernels |
Public Types | |
| using | AssembleKernelType |
Public Member Functions | |
| VectorFEDomainLFIntegrator (VectorCoefficient &F, const IntegrationRule *ir=nullptr) | |
| 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. | |
| 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. | |
| MFEM_REGISTER_KERNELS (AssembleKernels, AssembleKernelType,(FiniteElement::DerivType, int, int, int)) | |
| parameters: test_fetype, ndims, test_d1d, q1d | |
| 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 ¢er) |
| Returns the center of the delta coefficient. | |
Public Member Functions inherited from mfem::LinearFormIntegrator | |
| 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 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. | |
Static Public Member Functions | |
| template<FiniteElement::DerivType TestType, int DIM, int TEST_D1D, int Q1D> | |
| static void | AddSpecialization () |
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 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. | |
Protected Attributes inherited from mfem::DeltaLFIntegrator | |
| DeltaCoefficient * | delta |
| VectorDeltaCoefficient * | vec_delta |
Protected Attributes inherited from mfem::Integrator | |
| const IntegrationRule * | IntRule |
| NURBSMeshRules * | patchRules = nullptr |
\( (f, v)_{\Omega} \) for VectorFiniteElements (Nedelec, Raviart-Thomas)
Definition at line 364 of file lininteg.hpp.
| NE | number of elements |
| markers | array where entry markers[e] == 0 to skip assembly over element e |
| jac | Spatial Jacobians evaluated at all quadrature points |
| weights | 1D quadrature weights |
| testBO | 1D open basis test functions |
| testBC | 1D closed basis test functions |
| coeff | coefficient values evaluated at quadrature points, possibly compressed. |
| y | output E-vector of assembled contributions |
| testd1d | number of 1D closed dofs |
| q1d | number of 1D quadrature points |
Definition at line 403 of file lininteg.hpp.
| mfem::VectorFEDomainLFIntegrator::VectorFEDomainLFIntegrator | ( | VectorCoefficient & | F, |
| const IntegrationRule * | ir = nullptr ) |
Definition at line 474 of file lininteg.cpp.
|
inlinestatic |
Definition at line 421 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 515 of file lininteg.cpp.
|
overridevirtual |
Method defining assembly on device.
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 87 of file lininteg_domain_vectorfe.cpp.
|
overridevirtual |
Given a particular Finite Element and a transformation (Tr) computes the element vector, elvect.
Implements mfem::LinearFormIntegrator.
Definition at line 481 of file lininteg.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 48 of file lininteg.cpp.
|
virtual |
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 51 of file lininteg.cpp.
| mfem::VectorFEDomainLFIntegrator::MFEM_REGISTER_KERNELS | ( | AssembleKernels | , |
| AssembleKernelType | , | ||
| (FiniteElement::DerivType, int, int, int) | ) |
parameters: test_fetype, ndims, test_d1d, q1d
|
inlineoverridevirtual |
Method probing for assembly on device.
Reimplemented from mfem::LinearFormIntegrator.
Definition at line 383 of file lininteg.hpp.