Lines Matching refs:libceed
11 …o other discretizations in factored form, as explained in the [user manual](https://libceed.org/)."
29 "! python -m pip install libceed"
38 …illustrate the `libceed.Vector` class. In libCEED, CeedVectors constitute the main data structure …
40 …"We illustrate the simple creation of a `libceed.Vector`, how to specify its size, and how to read…
49 "import libceed\n",
51 "ceed = libceed.Ceed()\n",
77 …e, we associate the data stored in a `libceed.Vector` with a `numpy.array` and use it to set and r…
88 "ceed = libceed.Ceed()\n",
92 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
102 …he following example, we set all entries to the same value and then visualize the `libceed.Vector`"
111 "ceed = libceed.Ceed()\n",
132 "ceed = libceed.Ceed()\n",
139 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
142 " y.set_array(x_array, cmode=libceed.USE_POINTER)\n",
152 "* In the following example, we access and modify only one entry of the `libceed.Vector`"
165 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
176 …le, we compute the $L_1$, $L_2$ (default), and $L_{\\infty}$ norms of a `libceed.Vector` (keeping …
192 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
194 "norm_1 = x.norm(normtype=libceed.NORM_1)\n",
200 "norm_max = x.norm(normtype=libceed.NORM_MAX)\n",
208 …d Numba, you can use device memory in your `libceed.Vector`s. In the following example, we create …
217 "ceed_gpu = libceed.Ceed('/gpu/cuda')\n",
223 "x.set_array(a, cmode=libceed.USE_POINTER)\n",
225 "with x.array_read(memtype=libceed.MEM_DEVICE) as device_array:\n",