Skip to content
Snippets Groups Projects
Commit b2f9236d authored by Thomas Toulorge's avatar Thomas Toulorge
Browse files

Cleaned up inappropriate comments about metric intersection

parent b031c345
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ SMetric3 intersection (const SMetric3 &m1, const SMetric3 &m2)
double l2 = std::max(dot(v2,m1,v2),dot(v2,m2,v2));
// Correction from the PhD thesis of Frederic Alauzet p.16
// If m2 = alpha*m1, then take the largest metric (incoherent with definition intersection)
// If m2 = alpha*m1, then take the largest metric
static const double eps = 1.e-2; // Tolerance to detect triple eigenvalue (i.e. proportional metrics)
const double max_eig = std::max(S(0), std::max(S(1), S(2)));
const double min_eig = std::min(S(0), std::min(S(1), S(2)));
......
......@@ -400,8 +400,7 @@ double BGM_MeshSize(GEntity *ge, double U, double V,
}
// anisotropic version of the background field - for now, only works
// with bamg in 2D, work in progress
// anisotropic version of the background field
SMetric3 BGM_MeshMetric(GEntity *ge,
double U, double V,
double X, double Y, double Z)
......@@ -445,7 +444,7 @@ SMetric3 BGM_MeshMetric(GEntity *ge,
}
bool Extend1dMeshIn2dSurfaces()
{
{rm
return CTX::instance()->mesh.lcExtendFromBoundary ? true : false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment