![]() |
MFEM
v4.5.2
Finite element discretization library
|
#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 IntegrationRule * | GetVolumeIntegrationRule () |
const IntegrationRule * | GetSurfaceIntegrationRule () |
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.
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.
|
inline |
Destructor of the Algoim object.
Definition at line 121 of file integ_algoim.hpp.
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.
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.