Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c42 DM dm_buoyancy, dm_lame; member
137 PetscCall(DMStagCreateCompatibleDMStag(ctx.dm_velocity, 0, 1, 0, 0, &ctx.dm_buoyancy)); in main()
141 PetscCall(DMStagCreateCompatibleDMStag(ctx.dm_velocity, 0, 0, 1, 0, &ctx.dm_buoyancy)); in main()
146 PetscCall(DMSetUp(ctx.dm_buoyancy)); in main()
183 PetscCall(DMCreateGlobalVector(ctx.dm_buoyancy, &ctx.buoyancy)); in main()
220 PetscCall(DMDestroy(&ctx.dm_buoyancy)); in main()
233 …PetscCall(DMStagGetCorners(ctx->dm_buoyancy, &startx, &starty, &startz, &nx, &ny, &nz, &extrax, &e… in CreateLame()
382 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_LEFT, 0, &slot_buoyancy_left)); in UpdateVelocity_2d()
383 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_DOWN, 0, &slot_buoyancy_down)); in UpdateVelocity_2d()
384 PetscCall(DMGetLocalVector(ctx->dm_buoyancy, &buoyancy_local)); in UpdateVelocity_2d()
[all …]