Searched refs:idxLeft (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex13.c | 138 PetscInt i, startx, nx, nExtrax, dof0, dof1, c, idxLeft, idxElement; in Test2_1d() local 148 if (dof0 > 0) PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxLeft)); in Test2_1d() 152 const PetscScalar valRef = TEST_FUNCTION(i, 0, 0, idxLeft, c); in Test2_1d() 153 arr[i][idxLeft + c] = valRef; in Test2_1d() 171 const PetscScalar valRef = TEST_FUNCTION(i, 0, 0, idxLeft, c); in Test2_1d() 172 const PetscScalar val = arr[i][idxLeft + c]; in Test2_1d() 199 …PetscInt i, j, startx, starty, nx, ny, nExtrax, nExtray, dof0, dof1, dof2, c, idxLeft, idxDo… in Test2_2d() local 211 PetscCall(DMStagGetLocationSlot(dm, DMSTAG_LEFT, 0, &idxLeft)); in Test2_2d() 223 const PetscScalar valRef = TEST_FUNCTION(i, j, 0, idxLeft, c); in Test2_2d() 224 arr[j][i][idxLeft + c] = valRef; in Test2_2d() [all …]
|