Home
last modified time | relevance | path

Searched refs:lame_local (Results 1 – 1 of 1) sorted by relevance

/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c564 Vec velocity_local, stress_local, lame_local; in UpdateStress_2d() local
596 PetscCall(DMGetLocalVector(ctx->dm_lame, &lame_local)); in UpdateStress_2d()
597 PetscCall(DMGlobalToLocal(ctx->dm_lame, lame, INSERT_VALUES, lame_local)); in UpdateStress_2d()
598 PetscCall(DMStagVecGetArrayRead(ctx->dm_lame, lame_local, (void *)&arr_lame)); in UpdateStress_2d()
639 PetscCall(DMStagVecRestoreArrayRead(ctx->dm_lame, lame_local, (void *)&arr_lame)); in UpdateStress_2d()
640 PetscCall(DMRestoreLocalVector(ctx->dm_lame, &lame_local)); in UpdateStress_2d()
647 Vec velocity_local, stress_local, lame_local; in UpdateStress_3d() local
686 PetscCall(DMGetLocalVector(ctx->dm_lame, &lame_local)); in UpdateStress_3d()
687 PetscCall(DMGlobalToLocal(ctx->dm_lame, lame, INSERT_VALUES, lame_local)); in UpdateStress_3d()
688 PetscCall(DMStagVecGetArrayRead(ctx->dm_lame, lame_local, (void *)&arr_lame)); in UpdateStress_3d()
[all …]