Fracture : Fix typo when creating fracture cells for ellipse fracture

This commit is contained in:
Magne Sjaastad 2018-03-08 20:28:05 +01:00
parent 6ae619cc10
commit 7c554b8ff8

View File

@ -179,7 +179,7 @@ void RimEllipseFractureTemplate::setupFractureGridCells()
for (int i = 0; i < numberOfCellsX; i++) for (int i = 0; i < numberOfCellsX; i++)
{ {
for (int j = 0; j < numberOfCellsX; j++) for (int j = 0; j < numberOfCellsY; j++)
{ {
double X1 = - halfLength + i * cellSizeX; double X1 = - halfLength + i * cellSizeX;
double X2 = - halfLength + (i+1) * cellSizeX; double X2 = - halfLength + (i+1) * cellSizeX;