| /petsc/src/dm/impls/stag/tests/ |
| H A D | ex40.c | 41 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction1DNoCoupling() 53 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction1DNoCoupling() 161 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row_vertex, &val, ADD_VALUES)); in FormFunction1D() 179 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row_vertex, &val, ADD_VALUES)); in FormFunction1D() 198 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row_element, &val, ADD_VALUES)); in FormFunction1D() 216 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row_element, &val, ADD_VALUES)); in FormFunction1D() 370 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction2DNoCoupling() 383 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction2DNoCoupling() 397 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction2DNoCoupling() 411 PetscCall(DMStagVecSetValuesStencil(dm, f, 1, &row, &val, INSERT_VALUES)); in FormFunction2DNoCoupling() [all …]
|
| H A D | ex15.c | 136 PetscCall(DMStagVecSetValuesStencil(dm, *b, idxLoc, pos, val, INSERT_VALUES)); in CreateSystem1d() 271 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 284 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 298 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 416 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 430 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 552 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 568 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d() 602 PetscCall(DMStagVecSetValuesStencil(dm, *b, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem2d()
|
| H A D | ex18.c | 306 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 321 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 337 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 466 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 482 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 616 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 657 PetscCall(DMStagVecSetValuesStencil(dm, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem()
|
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex2.c | 193 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 206 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 220 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 338 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 352 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 475 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 491 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 524 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem()
|
| H A D | ex6.c | 244 …PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->lambda, INSERT_VALUES)… in CreateLame() 249 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 261 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 276 …PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->lambda, INSERT_VALUES)… in CreateLame() 282 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 298 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 306 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 314 … PetscCall(DMStagVecSetValuesStencil(ctx->dm_lame, ctx->lame, 1, &pos, &ctx->mu, INSERT_VALUES)); in CreateLame() 347 PetscCall(DMStagVecSetValuesStencil(ctx->dm_stress, stress, 1, &pos, &val, INSERT_VALUES)); in ForceStress() 353 PetscCall(DMStagVecSetValuesStencil(ctx->dm_stress, stress, 1, &pos, &val, INSERT_VALUES)); in ForceStress() [all …]
|
| H A D | ex4.c | 633 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 647 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 775 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 790 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 803 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 917 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 938 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 971 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem2d() 1072 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem3d() 1091 …if (build_rhs) PetscCall(DMStagVecSetValuesStencil(dm_main, rhs, 1, &row, &val_rhs, INSERT_VALUES)… in CreateSystem3d() [all …]
|
| H A D | ex8.c | 130 PetscCall(DMStagVecSetValuesStencil(dm, b, 1, &row, &f, INSERT_VALUES)); in AssembleSystem1DVertexCentered()
|
| H A D | ex3.c | 218 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 232 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 246 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 262 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 725 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 741 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 1204 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 1220 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 1683 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() 1700 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, 1, &row, &valRhs, INSERT_VALUES)); in CreateSystem() [all …]
|
| H A D | ex1.c | 226 PetscCall(DMStagVecSetValuesStencil(dmSol, rhs, idxLoc, pos, val, INSERT_VALUES)); in main()
|
| /petsc/include/ |
| H A D | petscdmstag.h | 144 PETSC_EXTERN PetscErrorCode DMStagVecSetValuesStencil(DM, Vec, PetscInt, const DMStagStencil *, con…
|
| /petsc/src/dm/impls/stag/ |
| H A D | stagstencil.c | 492 PetscErrorCode DMStagVecSetValuesStencil(DM dm, Vec vec, PetscInt n, const DMStagStencil *pos, cons… in DMStagVecSetValuesStencil() function
|