Searched refs:dm_lame (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 42 DM dm_buoyancy, dm_lame; member 151 PetscCall(DMStagCreateCompatibleDMStag(ctx.dm_velocity, 1, 0, 2, 0, &ctx.dm_lame)); in main() 155 PetscCall(DMStagCreateCompatibleDMStag(ctx.dm_velocity, 0, 1, 0, 2, &ctx.dm_lame)); in main() 160 PetscCall(DMSetUp(ctx.dm_lame)); in main() 221 PetscCall(DMDestroy(&ctx.dm_lame)); in main() 231 PetscCall(DMCreateGlobalVector(ctx->dm_lame, &ctx->lame)); in CreateLame() 232 PetscCall(DMStagGetGlobalSizes(ctx->dm_lame, &N[0], &N[1], &N[2])); 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() [all …]
|