something

This commit is contained in:
Matthias Hochsteger 2024-02-28 15:24:09 +01:00
parent 855ee34224
commit f97aafb162

View File

@ -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;