Skip to content
Snippets Groups Projects
Commit b62a0836 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

fedd lcMax to Netgen instead of lc: cf. explanation from pahr@ilsb.tuwien.ac.at on the mailing list

parent 91c0f025
No related branches found
No related tags found
No related merge requests found
......@@ -616,7 +616,7 @@ void meshGRegion::operator() (GRegion *gr)
meshNormalsPointOutOfTheRegion(gr);
std::vector<MVertex*> numberedV;
Ng_Mesh *ngmesh = buildNetgenStructure(gr, false, numberedV);
NgAddOn_GenerateVolumeMesh(ngmesh, CTX::instance()->lc);
NgAddOn_GenerateVolumeMesh(ngmesh, CTX::instance()->mesh.lcMax);
TransferVolumeMesh(gr, ngmesh, numberedV);
Ng_DeleteMesh(ngmesh);
Ng_Exit();
......@@ -646,7 +646,7 @@ void optimizeMeshGRegionNetgen::operator() (GRegion *gr)
deMeshGRegion dem;
dem(gr);
// optimize mesh
NgAddOn_OptimizeVolumeMesh(ngmesh, CTX::instance()->lc);
NgAddOn_OptimizeVolumeMesh(ngmesh, CTX::instance()->mesh.lcMax);
TransferVolumeMesh(gr, ngmesh, numberedV);
Ng_DeleteMesh(ngmesh);
Ng_Exit();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment