| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex8.c | 20 PetscInt startx, starty, startz, nx, ny, nz, ex, ey, ez, nExtrax, nExtray, nExtraz; in main() local 44 …PetscCall(DMStagGetCorners(dmSol, &startx, &starty, &startz, &nx, &ny, &nz, &nExtrax, &nExtray, &n… in main() 52 for (ez = startz; ez < startz + nz + nExtraz; ++ez) { in main() 61 if (ex < startx + nx && ey < starty + ny && ez < startz + nz) { in main() 125 …PetscInt startx, starty, startz, nx, ny, nz, nExtrax, nExtray, nExtraz, ex, ey, ez, idxP, i… in ApplyOperator() local 134 …PetscCall(DMStagGetCorners(dm, &startx, &starty, &startz, &nx, &ny, &nz, &nExtrax, &nExtray, &nExt… in ApplyOperator() 147 for (ez = startz; ez < startz + nz + nExtraz; ++ez) { in ApplyOperator() 152 for (ez = startz; ez < startz + nz + nExtraz; ++ez) { in ApplyOperator() 157 for (ez = startz; ez < startz + nz + nExtraz; ++ez) { in ApplyOperator() 162 for (ez = startz; ez < startz + nz + nExtraz; ++ez) { in ApplyOperator() [all …]
|
| H A D | ex9.c | 10 …PetscInt startx, starty, startz, nx, ny, nz, i, j, k, d, is, js, ks, dof0, dof1, dof2, dof3,… in main() local 38 PetscCall(DMStagGetCorners(dm, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in main() 41 for (k = startz; k < startz + nz; ++k) { in main()
|
| H A D | ex13.c | 306 …PetscInt i, j, k, startx, starty, startz, nx, ny, nz, nExtrax, nExtray, nExtraz, dof0, dof1… in Test2_3d() local 312 …PetscCall(DMStagGetCorners(dm, &startx, &starty, &startz, &nx, &ny, &nz, &nExtrax, &nExtray, &nExt… in Test2_3d() 327 for (k = startz; k < startz + nz + nExtraz; ++k) { in Test2_3d() 334 if (k < startz + nz) { in Test2_3d() 352 if (j < starty + ny && k < startz + nz) { in Test2_3d() 358 if (i < startx + nx && k < startz + nz) { in Test2_3d() 370 if (i < startx + nx && j < starty + ny && k < startz + nz) { in Test2_3d() 386 for (k = startz; k < startz + nz + nExtraz; ++k) { in Test2_3d() 394 if (k < startz + nz) { in Test2_3d() 433 if (j < starty + ny && k < startz + nz) { in Test2_3d() [all …]
|
| H A D | ex7.c | 10 …PetscInt startx, starty, startz, nx, ny, nz, i, j, k, d, is, js, ks, dof0, dof1, dof2, dof3,… in main() local 38 PetscCall(DMStagGetCorners(dm, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in main() 41 for (k = startz; k < startz + nz; ++k) { in main() 76 for (k = startz; k < startz + nz; ++k) { in main()
|
| H A D | ex30.c | 66 PetscInt startx, starty, startz, N[3], nx, ny, nz, ex, ey, ez, d; in CreateMat() local 76 PetscCall(DMStagGetCorners(dmSol, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in CreateMat() 97 for (ez = startz; ez < startz + nz; ++ez) { in CreateMat() 1633 PetscInt startx, starty, startz, N[3], nx, ny, nz, ex, ey, ez, d; in CheckMat() local 1642 PetscCall(DMStagGetCorners(dmSol, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in CheckMat() 1663 for (ez = startz; ez < startz + nz; ++ez) { in CheckMat()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 228 PetscInt N[3], ex, ey, ez, startx, starty, startz, nx, ny, nz, extrax, extray, extraz; in CreateLame() local 233 …PetscCall(DMStagGetCorners(ctx->dm_buoyancy, &startx, &starty, &startz, &nx, &ny, &nz, &extrax, &e… in CreateLame() 266 for (ez = startz; ez < startz + nz; ++ez) { in CreateLame() 287 for (ez = startz; ez < startz + nz + extraz; ++ez) { in CreateLame() 450 PetscInt ex, ey, ez, startx, starty, startz, nx, ny, nz; in UpdateVelocity_3d() local 502 …PetscCall(DMStagGetCorners(ctx->dm_velocity, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL,… in UpdateVelocity_3d() 503 for (ez = startz; ez < startz + nz; ++ez) { in UpdateVelocity_3d() 648 PetscInt ex, ey, ez, startx, starty, startz, nx, ny, nz; in UpdateStress_3d() local 697 …PetscCall(DMStagGetCorners(ctx->dm_velocity, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL,… in UpdateStress_3d() 698 for (ez = startz; ez < startz + nz; ++ez) { in UpdateStress_3d() [all …]
|
| H A D | ex4.c | 994 PetscInt ex, ey, ez, startx, starty, startz, nx, ny, nz; in CreateSystem3d() local 1023 PetscCall(DMStagGetCorners(dm_main, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in CreateSystem3d() 1045 for (ez = startz; ez < startz + nz; ++ez) { in CreateSystem3d() 1861 PetscInt ex, ey, ez, startx, starty, startz, nx, ny, nz; in PopulateCoefficientData() local 1882 PetscCall(DMStagGetGhostCorners(dm_coefficients, &startx, &starty, &startz, &nx, &ny, &nz)); in PopulateCoefficientData() 1912 for (ez = startz; ez < startz + nz; ++ez) { in PopulateCoefficientData() 1967 PetscInt dim, ex, ey, ez, startx, starty, startz, nx, ny, nz; in OperatorInsertInverseViscosityPressureTerms() local 1974 PetscCall(DMStagGetCorners(dm, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in OperatorInsertInverseViscosityPressureTerms() 1976 startz = 0; in OperatorInsertInverseViscosityPressureTerms() 1979 for (ez = startz; ez < startz + nz; ++ez) { in OperatorInsertInverseViscosityPressureTerms() [all …]
|
| H A D | ex3.c | 170 PetscInt startx, starty, startz, N[3], nx, ny, nz, ex, ey, ez, d; in CreateSystem() local 182 PetscCall(DMStagGetCorners(dmSol, &startx, &starty, &startz, &nx, &ny, &nz, NULL, NULL, NULL)); in CreateSystem() 203 …for (ez = startz; ez < startz + nz; ++ez) { /* With DMStag, always iterate x fastest, y second fas… in CreateSystem()
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex59.c | 44 PetscInt startx, starty, startz; member 303 kg = dd.startz + k; in ComputeMapping() 694 dd->startz = 0; in DomainDecomposition() 700 dd->startz = dd->startz + k * dd->p; in DomainDecomposition() 1015 printf("STARTS: %d %d %d\n", dd.startx, dd.starty, dd.startz); in main()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag3d.c | 829 …ceRow, PetscInt globalOffset, PetscInt startx, PetscInt starty, PetscInt startz, PetscInt startGho… in DMStagSetUpBuildScatterPopulateIdx_3d() argument 836 const PetscInt k = kg - startGhostz + startz; in DMStagSetUpBuildScatterPopulateIdx_3d() 910 const PetscInt k = endGhostz - startGhostz + startz; in DMStagSetUpBuildScatterPopulateIdx_3d()
|