Lines Matching refs:Ke
9 PetscErrorCode FormElementStiffness(PetscReal H, PetscScalar *Ke) in FormElementStiffness() argument
12 Ke[0] = H / 6.0; in FormElementStiffness()
13 Ke[1] = -.125 * H; in FormElementStiffness()
14 Ke[2] = H / 12.0; in FormElementStiffness()
15 Ke[3] = -.125 * H; in FormElementStiffness()
16 Ke[4] = -.125 * H; in FormElementStiffness()
17 Ke[5] = H / 6.0; in FormElementStiffness()
18 Ke[6] = -.125 * H; in FormElementStiffness()
19 Ke[7] = H / 12.0; in FormElementStiffness()
20 Ke[8] = H / 12.0; in FormElementStiffness()
21 Ke[9] = -.125 * H; in FormElementStiffness()
22 Ke[10] = H / 6.0; in FormElementStiffness()
23 Ke[11] = -.125 * H; in FormElementStiffness()
24 Ke[12] = -.125 * H; in FormElementStiffness()
25 Ke[13] = H / 12.0; in FormElementStiffness()
26 Ke[14] = -.125 * H; in FormElementStiffness()
27 Ke[15] = H / 6.0; in FormElementStiffness()
39 PetscScalar one = 1.0, Ke[16], *vals; in main() local
62 PetscCall(FormElementStiffness(h * h, Ke)); in main()
70 PetscCall(MatSetValues(C, 4, idx, 4, idx, Ke, ADD_VALUES)); in main()
85 PetscCall(MatSetValues(C, 4, idx, 4, idx, Ke, ADD_VALUES)); in main()