mirror of
https://github.com/NGSolve/netgen.git
synced 2025-04-24 20:02:03 +05:00
something
This commit is contained in:
parent
855ee34224
commit
f97aafb162
@ -1872,7 +1872,7 @@ struct GrowthVectorLimiter {
|
|||||||
if(is_boundary_moved.Test(sel.GetIndex()))
|
if(is_boundary_moved.Test(sel.GetIndex()))
|
||||||
{
|
{
|
||||||
for(auto& p : mesh[si].PNums())
|
for(auto& p : mesh[si].PNums())
|
||||||
if(hasMoved(p))
|
if(hasMoved(p))
|
||||||
p = newPoint(p);
|
p = newPoint(p);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -2206,20 +2206,14 @@ struct GrowthVectorLimiter {
|
|||||||
// mesh.Save("before_insert.vol");
|
// mesh.Save("before_insert.vol");
|
||||||
|
|
||||||
InsertNewElements(segmap, in_surface_direction);
|
InsertNewElements(segmap, in_surface_direction);
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
|
|
||||||
SetDomInOut();
|
SetDomInOut();
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
AddSegments();
|
AddSegments();
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
|
|
||||||
mesh.CalcSurfacesOfNode();
|
mesh.CalcSurfacesOfNode();
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
topo.SetBuildVertex2Element(true);
|
topo.SetBuildVertex2Element(true);
|
||||||
mesh.UpdateTopology();
|
mesh.UpdateTopology();
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
InterpolateGrowthVectors();
|
InterpolateGrowthVectors();
|
||||||
cout << "growthvectors " << __LINE__ << endl << growthvectors << endl;
|
|
||||||
|
|
||||||
// cout << "growthvectors before " << endl<< growthvectors << endl;
|
// cout << "growthvectors before " << endl<< growthvectors << endl;
|
||||||
// cout << "growthvectors after " << endl << growthvectors << endl;
|
// cout << "growthvectors after " << endl << growthvectors << endl;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user