Lines Matching +full:- +full:m
2 -m <size> : problem size\n\
3 -x1, -x2 <size> : no of subdomains in x and y directions\n\n";
11 Ke[1] = -.125 * H; in FormElementStiffness()
13 Ke[3] = -.125 * H; in FormElementStiffness()
14 Ke[4] = -.125 * H; in FormElementStiffness()
16 Ke[6] = -.125 * H; in FormElementStiffness()
19 Ke[9] = -.125 * H; in FormElementStiffness()
21 Ke[11] = -.125 * H; in FormElementStiffness()
22 Ke[12] = -.125 * H; in FormElementStiffness()
24 Ke[14] = -.125 * H; in FormElementStiffness()
45 PetscInt i, m = 2, N, M, idx[4], Nsub1, Nsub2, ol = 1, x1, x2; in main() local
53 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main()
54 N = (m + 1) * (m + 1); /* dimension of matrix */ in main()
55 M = m * m; /* number of elements */ in main()
56 h = 1.0 / m; /* mesh width */ in main()
57 x1 = (m + 1) / 2; in main()
59 PetscCall(PetscOptionsGetInt(NULL, NULL, "-x1", &x1, NULL)); in main()
60 PetscCall(PetscOptionsGetInt(NULL, NULL, "-x2", &x2, NULL)); in main()
66 for (i = 0; i < M; i++) { in main()
68 idx[0] = (m + 1) * (i / m) + (i % m); in main()
70 idx[2] = idx[1] + m + 1; in main()
71 idx[3] = idx[2] - 1; in main()
77 for (ol = 0; ol < m + 2; ++ol) { in main()
78 PetscCall(PCASMCreateSubdomains2D(m + 1, m + 1, x1, x2, 1, 0, &Nsub1, &is1, &islocal1)); in main()
80 PetscCall(PCASMCreateSubdomains2D(m + 1, m + 1, x1, x2, 1, ol, &Nsub2, &is2, &islocal2)); in main()
107 args: -m 7