Lines Matching refs:libceed
20 import libceed
59 ceed = libceed.Ceed(args.ceed)
64 dim, ncomp_x, mesh_degree + 1, num_qpts, libceed.GAUSS)
68 dim, 1, sol_degree + 1, num_qpts, libceed.GAUSS)
111 qf_build.add_input("dx", dim * dim, libceed.EVAL_GRAD)
112 qf_build.add_input("weights", 1, libceed.EVAL_WEIGHT)
113 qf_build.add_output("qdata", num_q_comp, libceed.EVAL_NONE)
118 op_build.set_field("dx", mesh_restriction, mesh_basis, libceed.VECTOR_ACTIVE)
119 op_build.set_field("weights", libceed.ELEMRESTRICTION_NONE, mesh_basis, libceed.VECTOR_NONE)
120 op_build.set_field("qdata", q_data_restriction, libceed.BASIS_NONE, libceed.VECTOR_ACTIVE)
140 qf_mass.add_input("u", 1, libceed.EVAL_INTERP)
141 qf_mass.add_input("qdata", num_q_comp, libceed.EVAL_NONE)
142 qf_mass.add_output("v", 1, libceed.EVAL_INTERP)
147 op_mass.set_field("u", solution_restriction, solution_basis, libceed.VECTOR_ACTIVE)
148 op_mass.set_field("qdata", q_data_restriction, libceed.BASIS_NONE, q_data)
149 op_mass.set_field("v", solution_restriction, solution_basis, libceed.VECTOR_ACTIVE)
172 tol = 200 * libceed.EPSILON if dim == 1 else 1e-5