| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex40.c | 19 PetscInt start, n, n_extra, N, dof[2]; in FormFunction1DNoCoupling() local 28 PetscCall(DMStagGetCorners(dm, &start, NULL, NULL, &n, NULL, NULL, &n_extra, NULL, NULL)); in FormFunction1DNoCoupling() 31 for (PetscInt e = start; e < start + n + n_extra; ++e) { in FormFunction1DNoCoupling() 65 PetscInt start, n, n_extra, N, dof[2]; in FormJacobian1DNoCoupling() local 74 PetscCall(DMStagGetCorners(dm, &start, NULL, NULL, &n, NULL, NULL, &n_extra, NULL, NULL)); in FormJacobian1DNoCoupling() 77 for (PetscInt e = start; e < start + n + n_extra; ++e) { in FormJacobian1DNoCoupling() 115 PetscInt dim, stencil_width, start, n, n_extra, N, dof[2]; in FormFunction1D() local 130 PetscCall(DMStagGetCorners(dm, &start, NULL, NULL, &n, NULL, NULL, &n_extra, NULL, NULL)); in FormFunction1D() 136 for (PetscInt e = start; e < start + n + n_extra; ++e) { in FormFunction1D() 232 PetscInt dim, stencil_width, start, n, n_extra, N, dof[2]; in FormJacobian1D() local [all …]
|
| H A D | ex43.c | 9 PetscInt start[3], n[3], n_extra[3]; in AssembleSystem() local 14 …(dm, &start[0], &start[1], &start[2], &n[0], &n[1], &n[2], &n_extra[0], &n_extra[1], &n_extra[2])); in AssembleSystem() 54 for (PetscInt k = start[2]; k < start[2] + n[2] + n_extra[2]; ++k) { in AssembleSystem() 55 for (PetscInt j = start[1]; j < start[1] + n[1] + n_extra[1]; ++j) { in AssembleSystem() 56 for (PetscInt i = start[0]; i < start[0] + n[0] + n_extra[0]; ++i) { in AssembleSystem()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex8.c | 67 PetscInt start, n, n_extra, N; in AssembleSystem1DVertexCentered() local 74 PetscCall(DMStagGetCorners(dm, &start, NULL, NULL, &n, NULL, NULL, &n_extra, NULL, NULL)); in AssembleSystem1DVertexCentered() 78 for (PetscInt e = start; e < start + n + n_extra; ++e) { in AssembleSystem1DVertexCentered()
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 523 PetscInt dof[2], start, n, n_extra, stencil_width, N, epe; in DMCreateMatrix_Stag_1D_AIJ_Assemble() local 530 PetscCall(DMStagGetCorners(dm, &start, NULL, NULL, &n, NULL, NULL, &n_extra, NULL, NULL)); in DMCreateMatrix_Stag_1D_AIJ_Assemble() 550 for (PetscInt e = start; e < start + n + n_extra; ++e) { in DMCreateMatrix_Stag_1D_AIJ_Assemble() 593 for (PetscInt e = start; e < start + n + n_extra; ++e) { in DMCreateMatrix_Stag_1D_AIJ_Assemble()
|
| H A D | stag2d.c | 1303 …Int entries, dof[DMSTAG_MAX_STRATA], epe, stencil_width, N[2], start[2], n[2], n_extra[2]; in DMCreateMatrix_Stag_2D_AIJ_Assemble() local 1313 …tagGetCorners(dm, &start[0], &start[1], NULL, &n[0], &n[1], NULL, &n_extra[0], &n_extra[1], NULL)); in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1345 for (PetscInt ey = start[1]; ey < start[1] + n[1] + n_extra[1]; ++ey) { in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1346 for (PetscInt ex = start[0]; ex < start[0] + n[0] + n_extra[0]; ++ex) { in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1436 for (PetscInt ey = start[1]; ey < start[1] + n[1] + n_extra[1]; ++ey) { in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1437 for (PetscInt ex = start[0]; ex < start[0] + n[0] + n_extra[0]; ++ex) { in DMCreateMatrix_Stag_2D_AIJ_Assemble()
|
| H A D | stag3d.c | 3395 PetscInt dof[DMSTAG_MAX_STRATA], epe, stencil_width, N[3], start[3], n[3], n_extra[3]; in DMCreateMatrix_Stag_3D_AIJ_Assemble() local 3406 …(dm, &start[0], &start[1], &start[2], &n[0], &n[1], &n[2], &n_extra[0], &n_extra[1], &n_extra[2])); in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3462 for (PetscInt ez = start[2]; ez < start[2] + n[2] + n_extra[2]; ++ez) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3463 for (PetscInt ey = start[1]; ey < start[1] + n[1] + n_extra[1]; ++ey) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3464 for (PetscInt ex = start[0]; ex < start[0] + n[0] + n_extra[0]; ++ex) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3640 for (PetscInt ez = start[2]; ez < start[2] + n[2] + n_extra[2]; ++ez) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3641 for (PetscInt ey = start[1]; ey < start[1] + n[1] + n_extra[1]; ++ey) { in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3642 for (PetscInt ex = start[0]; ex < start[0] + n[0] + n_extra[0]; ++ex) { in DMCreateMatrix_Stag_3D_AIJ_Assemble()
|