Home
last modified time | relevance | path

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

/petsc/src/dm/impls/stag/tutorials/
H A Dex6.c377 const PetscScalar ***arr_stress, ***arr_buoyancy; in UpdateVelocity_2d() local
396 PetscCall(DMStagVecGetArrayRead(ctx->dm_stress, stress_local, (void *)&arr_stress)); in UpdateVelocity_2d()
421 …ctx->dt * ((arr_stress[ey][ex][slot_txy_downright] - arr_stress[ey][ex][slot_txy_downleft]) / dx +… in UpdateVelocity_2d()
430 …B * ctx->dt * ((arr_stress[ey][ex][slot_txx] - arr_stress[ey][ex - 1][slot_txx]) / dx + (arr_stres… in UpdateVelocity_2d()
438 PetscCall(DMStagVecRestoreArrayRead(ctx->dm_stress, stress_local, (void *)&arr_stress)); in UpdateVelocity_2d()
458 const PetscScalar ****arr_stress, ****arr_buoyancy; in UpdateVelocity_3d() local
485 PetscCall(DMStagVecGetArrayRead(ctx->dm_stress, stress_local, (void *)&arr_stress)); in UpdateVelocity_3d()
513arr_stress[ez][ey][ex][slot_txy_downright] - arr_stress[ez][ey][ex][slot_txy_downleft]) / dx + (ar… in UpdateVelocity_3d()
523arr_stress[ez][ey][ex][slot_txx] - arr_stress[ez][ey][ex - 1][slot_txx]) / dx + (arr_stress[ez][ey… in UpdateVelocity_3d()
533arr_stress[ez][ey][ex][slot_txz_backright] - arr_stress[ez][ey][ex][slot_txz_backleft]) / dx + (ar… in UpdateVelocity_3d()
[all …]