mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
faster 2d smoothing for certain mixed meshes
don't consider quads with fixed points as "mixed mesh" (will be skipped during optimization anyway)
This commit is contained in:
parent
09188b1a73
commit
d33d38f113
@ -756,10 +756,17 @@ namespace netgen
|
||||
{
|
||||
for (auto & se : mesh.SurfaceElements())
|
||||
if (se.GetNP() != 3)
|
||||
{
|
||||
mixed = true;
|
||||
break;
|
||||
}
|
||||
{
|
||||
for(auto pi : se.PNums())
|
||||
if(mesh[pi].Type() == SURFACEPOINT)
|
||||
{
|
||||
mixed = true;
|
||||
break;
|
||||
}
|
||||
if(mixed)
|
||||
break;
|
||||
}
|
||||
|
||||
const auto & getDofs = [&] (int i)
|
||||
{
|
||||
return elementsonpoint[i+PointIndex::BASE];
|
||||
|
Loading…
Reference in New Issue
Block a user