Searched refs:slot_txx (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 375 PetscInt slot_txx, slot_tyy, slot_txy_downleft, slot_txy_downright, slot_txy_upleft; in UpdateVelocity_2d() local 389 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 0, &slot_txx)); in UpdateVelocity_2d() 430 …x][slot_vx_left] += B * ctx->dt * ((arr_stress[ey][ex][slot_txx] - arr_stress[ey][ex - 1][slot_txx… in UpdateVelocity_2d() 453 PetscInt slot_txx, slot_tyy, slot_tzz; in UpdateVelocity_3d() local 471 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 0, &slot_txx)); in UpdateVelocity_3d() 523 …t_vx_left] += B * ctx->dt * ((arr_stress[ez][ey][ex][slot_txx] - arr_stress[ez][ey][ex - 1][slot_t… in UpdateVelocity_3d() 569 PetscInt slot_txx, slot_tyy, slot_txy_downleft; in UpdateStress_2d() local 576 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 0, &slot_txx)); in UpdateStress_2d() 617 …arr_stress[ey][ex][slot_txx] += Lp2M * ctx->dt * (arr_velocity[ey][ex][slot_vx_right] - arr_veloci… in UpdateStress_2d() 652 …PetscInt slot_txx, slot_tyy, slot_tzz, slot_txy_downleft, slot_txz_backleft, slot_tyz… in UpdateStress_3d() local [all …]
|