MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
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.
 
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 118 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 19 of file integ_algoim.cpp.

◆ ~AlgoimIntegrationRule()

mfem::AlgoimIntegrationRule::~AlgoimIntegrationRule ( )
inline

Destructor of the Algoim object.

Definition at line 131 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 86 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 48 of file integ_algoim.cpp.


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