Searched refs:slot_lambda_element (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/dm/impls/stag/tutorials/ |
| H A D | ex6.c | 568 PetscInt slot_mu_element, slot_lambda_element, slot_mu_downleft; in UpdateStress_2d() local 593 PetscCall(DMStagGetLocationSlot(ctx->dm_lame, DMSTAG_ELEMENT, 0, &slot_lambda_element)); in UpdateStress_2d() 614 const PetscScalar L = arr_lame[ey][ex][slot_lambda_element]; in UpdateStress_2d() 615 …const PetscScalar Lp2M = arr_lame[ey][ex][slot_lambda_element] + 2 * arr_lame[ey][ex][slot_mu_elem… in UpdateStress_2d() 651 …PetscInt slot_mu_element, slot_lambda_element, slot_mu_downleft, slot_mu_backdown, sl… in UpdateStress_3d() local 681 PetscCall(DMStagGetLocationSlot(ctx->dm_lame, DMSTAG_ELEMENT, 0, &slot_lambda_element)); in UpdateStress_3d() 706 const PetscScalar L = arr_lame[ez][ey][ex][slot_lambda_element]; in UpdateStress_3d() 707 …const PetscScalar Lp2M = arr_lame[ez][ey][ex][slot_lambda_element] + 2 * arr_lame[ez][ey][ex][slot… in UpdateStress_3d()
|