Searched refs:arr_stress (Results 1 – 1 of 1) sorted by relevance
377 const PetscScalar ***arr_stress, ***arr_buoyancy; in UpdateVelocity_2d() local396 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() local485 PetscCall(DMStagVecGetArrayRead(ctx->dm_stress, stress_local, (void *)&arr_stress)); in UpdateVelocity_3d()513 …arr_stress[ez][ey][ex][slot_txy_downright] - arr_stress[ez][ey][ex][slot_txy_downleft]) / dx + (ar… in UpdateVelocity_3d()523 …arr_stress[ez][ey][ex][slot_txx] - arr_stress[ez][ey][ex - 1][slot_txx]) / dx + (arr_stress[ez][ey… in UpdateVelocity_3d()533 …arr_stress[ez][ey][ex][slot_txz_backright] - arr_stress[ez][ey][ex][slot_txz_backleft]) / dx + (ar… in UpdateVelocity_3d()[all …]