Skip to content
Snippets Groups Projects
Commit aad598dd authored by Stéphane Del Pino's avatar Stéphane Del Pino
Browse files

Fix face area/length calculation (used the obsolete L2Norm function)

parent 5c31fcfb
No related branches found
No related tags found
1 merge request!109Fix face area/length calculation (used the obsolete L2Norm function)
...@@ -85,7 +85,7 @@ class MeshData : public IMeshData ...@@ -85,7 +85,7 @@ class MeshData : public IMeshData
FaceValue<double> ll{m_mesh.connectivity()}; FaceValue<double> ll{m_mesh.connectivity()};
parallel_for( parallel_for(
m_mesh.numberOfFaces(), PUGS_LAMBDA(FaceId face_id) { ll[face_id] = L2Norm(Nl[face_id]); }); m_mesh.numberOfFaces(), PUGS_LAMBDA(FaceId face_id) { ll[face_id] = l2Norm(Nl[face_id]); });
m_ll = ll; m_ll = ll;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment