Searched refs:slot_buoyancy_left (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 374 PetscInt slot_vx_left, slot_vy_down, slot_buoyancy_down, slot_buoyancy_left; in UpdateVelocity_2d() local 382 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_LEFT, 0, &slot_buoyancy_left)); in UpdateVelocity_2d() 428 const PetscScalar B = arr_buoyancy[ey][ex][slot_buoyancy_left]; in UpdateVelocity_2d() 452 … slot_vx_left, slot_vy_down, slot_vz_back, slot_buoyancy_down, slot_buoyancy_left, slot_buoyan… in UpdateVelocity_3d() local 463 PetscCall(DMStagGetLocationSlot(ctx->dm_buoyancy, DMSTAG_LEFT, 0, &slot_buoyancy_left)); in UpdateVelocity_3d() 521 const PetscScalar B = arr_buoyancy[ez][ey][ex][slot_buoyancy_left]; in UpdateVelocity_3d()
|