mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-24 03:40:34 +05:00
Merge branch 'boundarylayer_fixes' into 'master'
Boundarylayer fixes See merge request ngsolve/netgen!566
This commit is contained in:
commit
9ed534c301
@ -654,7 +654,7 @@ namespace netgen
|
||||
else
|
||||
point_fixed = true;
|
||||
}
|
||||
if(point_moved && point_fixed)
|
||||
if(point_moved && !moved_surfaces.Test(facei))
|
||||
{
|
||||
int new_si = mesh.GetNFD()+1;
|
||||
const auto& fd = mesh.GetFaceDescriptor(facei);
|
||||
|
@ -395,6 +395,7 @@ namespace netgen
|
||||
|
||||
PrintMessage (3, mesh.GetNP(), " points, ",
|
||||
mesh.GetNE(), " elements");
|
||||
mesh.FindOpenElements(domain);
|
||||
}
|
||||
|
||||
Box<3> domain_bbox( Box<3>::EMPTY_BOX );
|
||||
@ -408,8 +409,6 @@ namespace netgen
|
||||
}
|
||||
domain_bbox.Increase (0.01 * domain_bbox.Diam());
|
||||
|
||||
mesh.FindOpenElements(domain);
|
||||
|
||||
int cntsteps = 0;
|
||||
int meshed;
|
||||
if (mesh.GetNOpenElements())
|
||||
@ -532,6 +531,7 @@ namespace netgen
|
||||
return;
|
||||
}
|
||||
|
||||
mesh.VolumeElements().DeleteAll();
|
||||
for(auto & m_ : md)
|
||||
{
|
||||
auto first_new_pi = m_.pmap.Range().Next();
|
||||
|
Loading…
Reference in New Issue
Block a user