Searched refs:slot_tyy (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 390 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 1, &slot_tyy)); in UpdateVelocity_2d() 421 …ey][ex][slot_txy_downleft]) / dx + (arr_stress[ey][ex][slot_tyy] - arr_stress[ey - 1][ex][slot_tyy… in UpdateVelocity_2d() 453 PetscInt slot_txx, slot_tyy, slot_tzz; in UpdateVelocity_3d() local 472 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 1, &slot_tyy)); in UpdateVelocity_3d() 513 …][slot_txy_downleft]) / dx + (arr_stress[ez][ey][ex][slot_tyy] - arr_stress[ez][ey - 1][ex][slot_t… in UpdateVelocity_3d() 569 PetscInt slot_txx, slot_tyy, slot_txy_downleft; in UpdateStress_2d() local 577 PetscCall(DMStagGetLocationSlot(ctx->dm_stress, DMSTAG_ELEMENT, 1, &slot_tyy)); in UpdateStress_2d() 619 …arr_stress[ey][ex][slot_tyy] += Lp2M * ctx->dt * (arr_velocity[ey][ex][slot_vy_up] - arr_velocity[… in UpdateStress_2d() 652 …PetscInt slot_txx, slot_tyy, slot_tzz, slot_txy_downleft, slot_txz_backleft, slot_tyz… in UpdateStress_3d() local [all …]
|