Lines Matching refs:dim
40 dim = args.dim
45 ncomp_x = dim # Number of coordinate components
69 dim, ncomp_x, mesh_degree + 1, num_qpts, libceed.GAUSS)
73 dim, 1, sol_degree + 1, num_qpts, libceed.GAUSS)
77 num_xyz = common.get_cartesian_mesh_size(dim, sol_degree, problem_size)
80 if dim > 1:
82 if dim > 2:
87 num_q_comp = 1 + dim * (dim + 1) // 2
89 ceed, dim, num_xyz, mesh_degree, ncomp_x, num_q_comp, num_qpts, create_qdata=False)
91 ceed, dim, num_xyz, sol_degree, 1, num_q_comp, num_qpts, create_qdata=True)
94 print("Number of mesh nodes : %d" % (mesh_size // dim))
99 common.set_cartesian_mesh_coords(ceed, dim, num_xyz, mesh_degree, mesh_coords)
100 exact_volume, _ = common.transform_mesh_coords(dim, mesh_size, mesh_coords)
104 ctx_data = np.array([dim, dim], dtype=np.int32)
115 qf_build.add_input("dx", dim * dim, libceed.EVAL_GRAD)
134 qf_apply.add_input("du", dim, libceed.EVAL_GRAD)
137 qf_apply.add_output("dv", dim, libceed.EVAL_GRAD)
169 tol = 200 * libceed.EPSILON if dim == 1 else 1e-5