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
Branches
Tags
No related merge requests found
...@@ -37,7 +37,7 @@ SMetric3 intersection (const SMetric3 &m1, const SMetric3 &m2) ...@@ -37,7 +37,7 @@ SMetric3 intersection (const SMetric3 &m1, const SMetric3 &m2)
double l2 = std::max(dot(v2,m1,v2),dot(v2,m2,v2)); double l2 = std::max(dot(v2,m1,v2),dot(v2,m2,v2));
// Correction from the PhD thesis of Frederic Alauzet p.16 // 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) 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 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))); 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, ...@@ -400,8 +400,7 @@ double BGM_MeshSize(GEntity *ge, double U, double V,
} }
// anisotropic version of the background field - for now, only works // anisotropic version of the background field
// with bamg in 2D, work in progress
SMetric3 BGM_MeshMetric(GEntity *ge, SMetric3 BGM_MeshMetric(GEntity *ge,
double U, double V, double U, double V,
double X, double Y, double Z) double X, double Y, double Z)
...@@ -445,7 +444,7 @@ SMetric3 BGM_MeshMetric(GEntity *ge, ...@@ -445,7 +444,7 @@ SMetric3 BGM_MeshMetric(GEntity *ge,
} }
bool Extend1dMeshIn2dSurfaces() bool Extend1dMeshIn2dSurfaces()
{ {rm
return CTX::instance()->mesh.lcExtendFromBoundary ? true : false; 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