Go to the documentation of this file.
70double MeshQualityErrorEstimator :: computeTriangleRadiusError(
Element *elem)
80 return a * b * c / ( ( b + c - a ) * ( a + c - b ) * ( a + b - c ) ) - 1.0;
88 double min_rcond = 1.0,
rcond;
91 for (
auto &gp: ir ) {
94 if (
rcond < min_rcond ) {
98 return min_rcond < 1e-6 ? 1e6 : 1.0 / min_rcond;
104 for (
auto &elem : this->
domain->giveElements() ) {
106 if ( temp > error ) {
120 ErrorEstimator :: initializeFrom(ir);
const FloatArray & giveCoordinates() const
Node * giveNode(int i) const
virtual FEInterpolation * giveInterpolation() const
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
virtual Element_Geometry_Type giveGeometryType() const =0
virtual void giveJacobianMatrixAt(FloatMatrix &jacobianMatrix, const FloatArray &lcoords, const FEICellGeometry &cellgeo) const
Domain * domain
Link to domain object, useful for communicating with other FEM components.
double computeReciprocalCondition(char p='1') const
double giveDeterminant() const
static double computeJacobianError(FEInterpolation &fei, IntegrationRule &ir, Element *elem)
double giveElementError(EE_ErrorType type, Element *elem, TimeStep *tStep) override
static double computeTriangleRadiusError(Element *elem)
double rcond(const FloatMatrixF< N, N > &mat, int p=1)
double sgn(double i)
Returns the signum of given value (if value is < 0 returns -1, otherwise returns 1).
double distance(const FloatArray &x, const FloatArray &y)
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