Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c43 Vec buoyancy, lame; /* Global, but for efficiency one could store local vectors */ member
204 PetscCall(UpdateStress(&ctx, velocity, stress, ctx.lame)); in main()
216 PetscCall(VecDestroy(&ctx.lame)); in main()
231 PetscCall(DMCreateGlobalVector(ctx->dm_lame, &ctx->lame)); in CreateLame()
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()
[all …]