MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::LinearFormIntegrator Class Referenceabstract

Abstract base class LinearFormIntegrator. More...

#include <lininteg.hpp>

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

Public Member Functions

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 IntegrationRuleGetIntRule ()
 
virtual ~LinearFormIntegrator ()
 

Protected Member Functions

 LinearFormIntegrator (const IntegrationRule *ir=NULL)
 

Protected Attributes

const IntegrationRuleIntRule
 

Detailed Description

Abstract base class LinearFormIntegrator.

Definition at line 24 of file lininteg.hpp.

Constructor & Destructor Documentation

◆ LinearFormIntegrator()

mfem::LinearFormIntegrator::LinearFormIntegrator ( const IntegrationRule * ir = NULL)
inlineprotected

Definition at line 29 of file lininteg.hpp.

◆ ~LinearFormIntegrator()

virtual mfem::LinearFormIntegrator::~LinearFormIntegrator ( )
inlinevirtual

Definition at line 57 of file lininteg.hpp.

Member Function Documentation

◆ AssembleDevice()

void mfem::LinearFormIntegrator::AssembleDevice ( const FiniteElementSpace & fes,
const Array< int > & markers,
Vector & b )
virtual

◆ AssembleRHSElementVect() [1/3]

◆ AssembleRHSElementVect() [2/3]

◆ AssembleRHSElementVect() [3/3]

◆ GetIntRule()

const IntegrationRule * mfem::LinearFormIntegrator::GetIntRule ( )
inline

Definition at line 55 of file lininteg.hpp.

◆ SetIntRule()

virtual void mfem::LinearFormIntegrator::SetIntRule ( const IntegrationRule * ir)
inlinevirtual

Reimplemented in mfem::QuadratureLFIntegrator, and mfem::VectorQuadratureLFIntegrator.

Definition at line 54 of file lininteg.hpp.

◆ SupportsDevice()

virtual bool mfem::LinearFormIntegrator::SupportsDevice ( ) const
inlinevirtual

Member Data Documentation

◆ IntRule

const IntegrationRule* mfem::LinearFormIntegrator::IntRule
protected

Definition at line 27 of file lininteg.hpp.


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