Go to the documentation of this file.
52HybridEI :: ~HybridEI()
70void HybridEI :: interpLevelSet(
double &oLevelSet,
const FloatArray &iN,
const IntArray &iNodeInd)
const
73 for (
int i = 1; i <= iN.
giveSize(); i++ ) {
74 double levelSetNode = 0.0;
75 const auto &nodePos = this->
giveDomain()->giveNode(iNodeInd [ i - 1 ])->giveCoordinates();
77 oLevelSet += iN.
at(i) * levelSetNode;
82void HybridEI :: interpLevelSetTangential(
double &oLevelSet,
const FloatArray &iN,
const IntArray &iNodeInd)
const
85 for (
int i = 1; i <= iN.
giveSize(); i++ ) {
86 double levelSetNode = 0.0;
87 const auto &nodePos = this->
giveDomain()->giveNode(iNodeInd [ i - 1 ])->giveCoordinates();
89 oLevelSet += iN.
at(i) * levelSetNode;
98 if ( oGradLevelSet.
giveSize() != dim ) {
102 oGradLevelSet.
zero();
105 for (
int j = 1; j <= dim; j++ ) {
106 double levelSetNode = 0.0;
107 const auto &nodePos = this->
giveDomain()->giveNode(iNodeInd [ i - 1 ])->giveCoordinates();
109 oGradLevelSet.
at(j) += idNdX.
at(i, j) * levelSetNode;
#define REGISTER_EnrichmentItem(class)
bool evalLevelSetTangInNode(double &oLevelSet, int iNodeInd, const FloatArray &iGlobalCoord) const
bool evalLevelSetNormalInNode(double &oLevelSet, int iNodeInd, const FloatArray &iGlobalCoord) const
Domain * giveDomain() const
Index giveSize() const
Returns the size of receiver.
void zero()
Zeroes all coefficients of receiver.
int giveNumberOfColumns() const
Returns number of columns of receiver.
int giveNumberOfRows() const
Returns number of rows of receiver.
double at(std::size_t i, std::size_t j) const
void interpLevelSetTangential(double &oLevelSet, const FloatArray &iN, const IntArray &iNodeInd) const
void interpGradLevelSet(FloatArray &oGradLevelSet, const FloatMatrix &idNdX, const IntArray &iNodeInd) const
void interpLevelSet(double &oLevelSet, const FloatArray &iN, const IntArray &iNodeInd) const
This page is part of the
OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak
Bořek Patzák
Project e-mail:
oofem@fsv.cvut.cz
Generated at for OOFEM by
doxygen
1.15.0 written by Dimitri van Heesch,
© 1997-2011