Mesh: remove problematic method MeshGrid::Rebuild(unsigned long, unsigned long)

and MeshGrid::CalculateGridLength(unsigned long, unsigned long)

For almost flat meshes CalculateGridLength may compute a grid with a huge amount of cells that allocates the whole RAM of the system while for an exactly flat mesh a grid with a sensible number of cells is computed.

Use the overloaded methods of MeshGrid::Rebuild(unsigned long) and MeshGrid::CalculateGridLength(unsigned long) instead
This commit is contained in:
wmayer
2024-03-29 17:03:36 +01:00
committed by wwmayer
parent 67ba197d9c
commit a79eef0a39
3 changed files with 4 additions and 82 deletions

View File

@@ -177,11 +177,6 @@ public:
}
protected:
void CalculateGridLength(unsigned long /*ulCtGrid*/, unsigned long /*ulMaxGrids*/) override
{
// do nothing
}
void CalculateGridLength(int /*iCtGridPerAxis*/) override
{
// do nothing