Lines Matching full:libceed

7     "# libCEED for Python examples\n",
9 …ustrate the main feautures of the Python interface for [libCEED](https://github.com/CEED/libCEED/)…
11libCEED's focus is on high-order finite/spectral element method implementations, the approach is m…
18 "## Setting up libCEED for Python\n",
20 "Install libCEED for Python by running"
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",
208libCEED with CUDA support and Numba, you can use device memory in your `libceed.Vector`s. In the f…
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",