| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex15.c | 148 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &val, INSERT_VALUES)); in CreateSystem1d() 183 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 5, col, val, INSERT_VALUES)); in CreateSystem1d() 195 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &val, INSERT_VALUES)); in CreateSystem1d() 209 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &val, INSERT_VALUES)); in CreateSystem1d() 229 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 2, col, val, INSERT_VALUES)); in CreateSystem1d() 269 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem2d() 282 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem2d() 296 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem2d() 414 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem2d() 428 PetscCall(DMStagMatSetValuesStencil(dm, *A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem2d() [all …]
|
| H A D | ex40.c | 87 …PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_vertex, 1, &row_vertex, &val, INSERT_VALUES)… in FormJacobian1DNoCoupling() 99 …PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_element, 1, &row_element, &val, INSERT_VALUE… in FormJacobian1DNoCoupling() 275 … PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_vertex, 1, &col, &val, ADD_VALUES)); in FormJacobian1D() 293 … PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_vertex, 1, &col, &val, ADD_VALUES)); in FormJacobian1D() 312 … PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_element, 1, &col, &val, ADD_VALUES)); in FormJacobian1D() 330 … PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row_element, 1, &col, &val, ADD_VALUES)); in FormJacobian1D() 448 PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row, 1, &row, &val, INSERT_VALUES)); in FormJacobian2DNoCoupling() 461 PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row, 1, &row, &val, INSERT_VALUES)); in FormJacobian2DNoCoupling() 475 PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row, 1, &row, &val, INSERT_VALUES)); in FormJacobian2DNoCoupling() 489 PetscCall(DMStagMatSetValuesStencil(dm, Amat, 1, &row, 1, &row, &val, INSERT_VALUES)); in FormJacobian2DNoCoupling() [all …]
|
| H A D | ex41.c | 41 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &col, &value, INSERT_VALUES)); in main()
|
| H A D | ex18.c | 303 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 318 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 334 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 463 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 479 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 613 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 654 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 5, col, valA, INSERT_VALUES)); in CreateSystem()
|
| H A D | ex43.c | 61 … PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row[e], 1, &row[e], &val[e], INSERT_VALUES)); in AssembleSystem()
|
| H A D | ex30.c | 109 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 120 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 131 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 144 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 605 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateMat() 618 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 1079 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateMat() 1092 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateMat() 1553 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateMat() 1606 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 7, col, valA, INSERT_VALUES)); in CreateMat()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex8.c | 90 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 1, &row, &val, INSERT_VALUES)); in AssembleSystem1DVertexCentered() 101 … PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row_extra, 1, &row_extra, &val, INSERT_VALUES)); in AssembleSystem1DVertexCentered() 120 PetscCall(DMStagMatSetValuesStencil(dm, A, 1, &row, 3, col, val, INSERT_VALUES)); in AssembleSystem1DVertexCentered()
|
| H A D | ex2.c | 191 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 204 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 218 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 336 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 350 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 473 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 489 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 522 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 5, col, valA, INSERT_VALUES)); in CreateSystem()
|
| H A D | ex1.c | 245 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &val, INSERT_VALUES)); in main() 276 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 3, col, val, INSERT_VALUES)); in main() 288 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &val, INSERT_VALUES)); in main() 320 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 3, col, val, INSERT_VALUES)); in main()
|
| H A D | ex4.c | 632 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem2d() 646 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem2d() 774 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, count, col, val_A, INSERT_VALUES)); in CreateSystem2d() 789 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem2d() 802 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem2d() 916 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, count, col, val_A, INSERT_VALUES)); in CreateSystem2d() 937 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem2d() 970 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 5, col, val_A, INSERT_VALUES)); in CreateSystem2d() 1071 PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem3d() 1090 … PetscCall(DMStagMatSetValuesStencil(dm_main, A, 1, &row, 1, &row, &val_A, INSERT_VALUES)); in CreateSystem3d() [all …]
|
| H A D | ex3.c | 216 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 230 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 244 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 260 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 723 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 739 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 1202 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 1218 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() 1681 … PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, nEntries, col, valA, INSERT_VALUES)); in CreateSystem() 1698 PetscCall(DMStagMatSetValuesStencil(dmSol, A, 1, &row, 1, &row, &valA, INSERT_VALUES)); in CreateSystem() [all …]
|
| /petsc/src/dm/impls/stag/ |
| H A D | stag1d.c | 553 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[0], row_vertex, dof[0], row_vertex, NULL, INSERT_VA… in DMCreateMatrix_Stag_1D_AIJ_Assemble() 557 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_element, dof[1], row_element, NULL, INSERT_… in DMCreateMatrix_Stag_1D_AIJ_Assemble() 605 PetscCall(DMStagMatSetValuesStencil(dm, A, epe, row, epe, col, NULL, INSERT_VALUES)); in DMCreateMatrix_Stag_1D_AIJ_Assemble()
|
| H A D | stag2d.c | 1352 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[0], row_vertex, dof[0], row_vertex, NULL, INSERT_VA… in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1359 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_face_down, dof[1], row_face_down, NULL, INS… in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1366 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_face_left, dof[1], row_face_left, NULL, INS… in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1373 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[2], row_element, dof[2], row_element, NULL, INSERT_… in DMCreateMatrix_Stag_2D_AIJ_Assemble() 1456 PetscCall(DMStagMatSetValuesStencil(dm, A, epe, row, epe, col, NULL, INSERT_VALUES)); in DMCreateMatrix_Stag_2D_AIJ_Assemble()
|
| H A D | stagstencil.c | 344 PetscErrorCode DMStagMatSetValuesStencil(DM dm, Mat mat, PetscInt nRow, const DMStagStencil *posRow… in DMStagMatSetValuesStencil() function
|
| H A D | stag3d.c | 3470 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[0], row_vertex, dof[0], row_vertex, NULL, INSERT_VA… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3478 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_edge_down_left, dof[1], row_edge_down_left,… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3487 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_edge_back_left, dof[1], row_edge_back_left,… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3496 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[1], row_edge_back_down, dof[1], row_edge_back_down,… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3505 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[2], row_face_left, dof[2], row_face_left, NULL, INS… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3514 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[2], row_face_down, dof[2], row_face_down, NULL, INS… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3523 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[2], row_face_back, dof[2], row_face_back, NULL, INS… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3532 …PetscCall(DMStagMatSetValuesStencil(dm, A, dof[3], row_element, dof[3], row_element, NULL, INSERT_… in DMCreateMatrix_Stag_3D_AIJ_Assemble() 3666 … PetscCall(DMStagMatSetValuesStencil(dm, A, epe, row, epe, col, NULL, INSERT_VALUES)); in DMCreateMatrix_Stag_3D_AIJ_Assemble()
|
| /petsc/doc/manual/ |
| H A D | dmbase.md | 47 use `MatSetValuesStencil()` and for `DMSTAG` with `DMStagMatSetValuesStencil()`.
|
| H A D | dmstag.md | 93 the idea. For more, see the manual page for `DMStagMatSetValuesStencil()`. 96 :end-at: PetscCall(DMStagMatSetValuesStencil
|
| /petsc/include/ |
| H A D | petscdmstag.h | 120 PETSC_EXTERN PetscErrorCode DMStagMatSetValuesStencil(DM, Mat, PetscInt, const DMStagStencil *, Pet…
|