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