Searched refs:arr_velocity (Results 1 – 1 of 1) sorted by relevance
378 PetscScalar ***arr_velocity; in UpdateVelocity_2d() local403 PetscCall(DMStagVecGetArray(ctx->dm_velocity, velocity_local, &arr_velocity)); in UpdateVelocity_2d()421 …arr_velocity[ey][ex][slot_vy_down] += B * ctx->dt * ((arr_stress[ey][ex][slot_txy_downright] - arr… in UpdateVelocity_2d()430 …arr_velocity[ey][ex][slot_vx_left] += B * ctx->dt * ((arr_stress[ey][ex][slot_txx] - arr_stress[ey… in UpdateVelocity_2d()440 PetscCall(DMStagVecRestoreArray(ctx->dm_velocity, velocity_local, &arr_velocity)); in UpdateVelocity_2d()459 PetscScalar ****arr_velocity; in UpdateVelocity_3d() local493 PetscCall(DMStagVecGetArray(ctx->dm_velocity, velocity_local, &arr_velocity)); in UpdateVelocity_3d()513 …arr_velocity[ez][ey][ex][slot_vy_down] += B * ctx->dt * ((arr_stress[ez][ey][ex][slot_txy_downrigh… in UpdateVelocity_3d()523 …arr_velocity[ez][ey][ex][slot_vx_left] += B * ctx->dt * ((arr_stress[ez][ey][ex][slot_txx] - arr_s… in UpdateVelocity_3d()533 …arr_velocity[ez][ey][ex][slot_vz_back] += B * ctx->dt * ((arr_stress[ez][ey][ex][slot_txz_backrigh… in UpdateVelocity_3d()[all …]