MFEM  v4.6.0
Finite element discretization library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
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. More...
 
virtual void AssembleDevice (const FiniteElementSpace &fes, const Array< int > &markers, Vector &b)
 Method defining assembly on device. More...
 
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]

virtual void mfem::LinearFormIntegrator::AssembleRHSElementVect ( const FiniteElement el,
ElementTransformation Tr,
Vector elvect 
)
pure virtual

◆ AssembleRHSElementVect() [2/3]

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

◆ AssembleRHSElementVect() [3/3]

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

Reimplemented in mfem::SBM2NeumannLFIntegrator, and mfem::SBM2DirichletLFIntegrator.

Definition at line 31 of file lininteg.cpp.

◆ 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: