Lines Matching refs:P
95 " P=4, # number of basis functions (nodes) per dimension\n",
114 "P = b.get_num_nodes()\n",
116 "basis_viz = ceed.BasisTensorH1Lagrange(1, 1, P, Q_viz, libceed.GAUSS_LOBATTO)\n",
118 "# Construct P \"elements\" with one node activated\n",
119 "I = ceed.Vector(P * P)\n",
120 "with I.array_write(P, P) as x:\n",
121 " x[...] = np.eye(P)\n",
123 "basis_fns = ceed.Vector(P * Q_viz)\n",
127 "with basis_fns.array_read(Q_viz, P) as B_array:\n",
131 "nodes, _ = ceed.lobatto_quadrature(P)\n",
151 "with basis_fns.array_read(Q_viz, P) as B_array:\n",
154 "qpts, _ = ceed.gauss_quadrature(P)\n",
261 " P, Q = 8, 10\n",
262 " P_dim = P**dim\n",
286 " basis_x_lobatto = ceed.BasisTensorH1Lagrange(dim, dim, 2, P, libceed.GAUSS_LOBATTO)\n",
299 " basis_u_gauss = ceed.BasisTensorH1Lagrange(dim, 1, P, Q, libceed.GAUSS)\n",