Lines Matching refs:lastGridIndex
397 Int lastGridIndex; in findGridChains() local
402 lastGridIndex = 0; in findGridChains()
404 …lastGridIndex = (Int) ((botV->head()[1] - grid->get_v_min()) / (grid->get_v_max() - grid->get_v_m… in findGridChains()
407 Int *leftGridIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in findGridChains()
409 Int *rightGridIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in findGridChains()
411 Int *leftGridInnerIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in findGridChains()
413 Int *rightGridInnerIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in findGridChains()
416 …findLeftGridIndices(topV, firstGridIndex, lastGridIndex, grid, leftGridIndices, leftGridInnerIndi… in findGridChains()
418 …findRightGridIndices(topV, firstGridIndex, lastGridIndex, grid, rightGridIndices, rightGridInnerI… in findGridChains()
420 …leftGridChain = new gridBoundaryChain(grid, firstGridIndex, firstGridIndex-lastGridIndex+1, leftG… in findGridChains()
422 …rightGridChain = new gridBoundaryChain(grid, firstGridIndex, firstGridIndex-lastGridIndex+1, right… in findGridChains()
974 void findLeftGridIndices(directedLine* topEdge, Int firstGridIndex, Int lastGridIndex, gridWrap* gr… in findLeftGridIndices() argument
990 Real *uintercBuf = (Real *) malloc (sizeof(Real) * (firstGridIndex-lastGridIndex+1)); in findLeftGridIndices()
1001 for(k=0, i=firstGridIndex; i>=lastGridIndex; i--, k++) in findLeftGridIndices()
1066 for(k=0, i=firstGridIndex; i>=lastGridIndex; i--, k++) in findLeftGridIndices()
1092 void findRightGridIndices(directedLine* topEdge, Int firstGridIndex, Int lastGridIndex, gridWrap* g… in findRightGridIndices() argument
1108 Real *uintercBuf = (Real *) malloc (sizeof(Real) * (firstGridIndex-lastGridIndex+1)); in findRightGridIndices()
1118 for(k=0, i=firstGridIndex; i>=lastGridIndex; i--, k++) in findRightGridIndices()
1192 for(k=0, i=firstGridIndex; i>=lastGridIndex; i--, k++) in findRightGridIndices()
1323 Int lastGridIndex; in sampleMonoPoly() local
1325 …lastGridIndex = (Int) ((botV->head()[1] - grid->get_v_min()) / (grid->get_v_max() - grid->get_v_m… in sampleMonoPoly()
1329 Int *leftGridIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in sampleMonoPoly()
1331 Int *rightGridIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in sampleMonoPoly()
1333 Int *leftGridInnerIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in sampleMonoPoly()
1335 Int *rightGridInnerIndices = (Int*) malloc(sizeof(Int) * (firstGridIndex - lastGridIndex +1)); in sampleMonoPoly()
1338 …findLeftGridIndices(topV, firstGridIndex, lastGridIndex, grid, leftGridIndices, leftGridInnerIndi… in sampleMonoPoly()
1340 …findRightGridIndices(topV, firstGridIndex, lastGridIndex, grid, rightGridIndices, rightGridInnerI… in sampleMonoPoly()
1342 …gridBoundaryChain leftGridChain(grid, firstGridIndex, firstGridIndex-lastGridIndex+1, leftGridIndi… in sampleMonoPoly()
1344 …gridBoundaryChain rightGridChain(grid, firstGridIndex, firstGridIndex-lastGridIndex+1, rightGridIn… in sampleMonoPoly()