mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-26 12:50:34 +05:00
periodic identification doesn't count for prism meshing
This commit is contained in:
parent
884a70319c
commit
95efdd212d
@ -145,9 +145,18 @@ namespace netgen
|
|||||||
for (PointIndex pi = mesh3d.Points().Begin(); pi < mesh3d.Points().End(); pi++)
|
for (PointIndex pi = mesh3d.Points().Begin(); pi < mesh3d.Points().End(); pi++)
|
||||||
meshing.AddPoint (mesh3d[pi], pi);
|
meshing.AddPoint (mesh3d[pi], pi);
|
||||||
|
|
||||||
|
/*
|
||||||
mesh3d.GetIdentifications().GetPairs (0, connectednodes);
|
mesh3d.GetIdentifications().GetPairs (0, connectednodes);
|
||||||
for (int i = 1; i <= connectednodes.Size(); i++)
|
for (int i = 1; i <= connectednodes.Size(); i++)
|
||||||
meshing.AddConnectedPair (connectednodes.Get(i));
|
meshing.AddConnectedPair (connectednodes.Get(i));
|
||||||
|
*/
|
||||||
|
for (int nr = 1; nr <= mesh3d.GetIdentifications().GetMaxNr(); nr++)
|
||||||
|
if (mesh3d.GetIdentifications().GetType(nr) != Identifications::PERIODIC)
|
||||||
|
{
|
||||||
|
mesh3d.GetIdentifications().GetPairs (nr, connectednodes);
|
||||||
|
for (auto pair : connectednodes)
|
||||||
|
meshing.AddConnectedPair (pair);
|
||||||
|
}
|
||||||
|
|
||||||
for (int i = 1; i <= mesh3d.GetNOpenElements(); i++)
|
for (int i = 1; i <= mesh3d.GetNOpenElements(); i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user