MFEM  v4.6.0
Finite element discretization library
Classes | Public Member Functions | List of all members
mfem::AlgoimIntegrationRule Class Reference

#include <integ_algoim.hpp>

Public Member Functions

 AlgoimIntegrationRule (int o, const FiniteElement &el, ElementTransformation &trans, const Vector &lsfun)
 
 ~AlgoimIntegrationRule ()
 Destructor of the Algoim object. More...
 
const IntegrationRuleGetVolumeIntegrationRule ()
 
const IntegrationRuleGetSurfaceIntegrationRule ()
 

Detailed Description

Construct volumetric and surface integration rules for a given element using the Algoim library. The volume is define as the positive part of a level-set function(LSF) (lsfun argument in the constructor). The surface is defined as the zero level-set of the LSF.

Definition at line 108 of file integ_algoim.hpp.

Constructor & Destructor Documentation

◆ AlgoimIntegrationRule()

mfem::AlgoimIntegrationRule::AlgoimIntegrationRule ( int  o,
const FiniteElement el,
ElementTransformation trans,
const Vector lsfun 
)

Construct Algoim object using a finite element, its transformation and level-set function defined over the element using Lagrangian bases. The argument o provides the order of the of the 1D Gaussian integration rule used for deriving the vol/surface integration rules.

Definition at line 10 of file integ_algoim.cpp.

◆ ~AlgoimIntegrationRule()

mfem::AlgoimIntegrationRule::~AlgoimIntegrationRule ( )
inline

Destructor of the Algoim object.

Definition at line 121 of file integ_algoim.hpp.

Member Function Documentation

◆ GetSurfaceIntegrationRule()

const IntegrationRule * mfem::AlgoimIntegrationRule::GetSurfaceIntegrationRule ( )

Returns surface integration rule based on the provided level-set function.

Definition at line 78 of file integ_algoim.cpp.

◆ GetVolumeIntegrationRule()

const IntegrationRule * mfem::AlgoimIntegrationRule::GetVolumeIntegrationRule ( )

Returns volumetric integration rule based on the provided level-set function.

Definition at line 40 of file integ_algoim.cpp.


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