| /libCEED/examples/python/img/ |
| H A D | QFunctionSketch.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 17 inkscape:version="0.92.4 (fd57863, 2020-04-02)"> 39 inkscape:window-width="2410" 40 inkscape:window-height="1424" 47 inkscape:window-x="2787" 48 inkscape:window-y="537" 49 inkscape:window-maximized="0" 50 inkscape:current-layer="svg1123" /> [all …]
|
| /libCEED/doc/img/ |
| H A D | SphereSketch.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 17 inkscape:version="0.92.4 (fd57863, 2020-04-02)"> 39 inkscape:window-width="1920" 40 inkscape:window-height="2132" 47 inkscape:window-x="1920" 48 inkscape:window-y="0" 49 inkscape:window-maximized="0" 50 inkscape:current-layer="svg188" /> [all …]
|
| H A D | libceed_schematic_op_setup_mass.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 11 inkscape:version="1.1.2 (b8e25be8, 2022-02-05)" 13 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 25 inkscape:document-units="mm" 30 inkscape:window-width="1312" 31 inkscape:window-height="847" 32 inkscape:window-x="44" 33 inkscape:window-y="25" 34 inkscape:window-maximized="0" [all …]
|
| H A D | logo.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 34 style="opacity:1;stroke-width:7;stroke-miterlimit:4;stroke-dasharray:none"> 37 d="m 514.34126,114.73544 -120.83128,61.42139 120.9102,69.28288 120.76393,-69.12663 z" 38 …style="opacity:1;fill:#da5858;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;s… 41 …d="m 514.32548,385.88248 114.31843,-73.02922 6.5402,-136.54018 -89.97644,51.50353 -30.78749,17.623… 42 …style="opacity:1;fill:#f29898;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;s… 45 d="m 399.9257,312.8674 114.39978,73.01508 0.0947,-140.44277 -120.9102,-69.28288 z" 46 …style="opacity:1;fill:#881b1b;fill-opacity:1;stroke:#ffffff;stroke-width:10;stroke-linecap:round;s… 50 style="opacity:1;fill:#7c7c7c;fill-opacity:1;stroke:#ffffff;stroke-opacity:1" [all …]
|
| H A D | libceed_schematic.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 18 style="stop-color:#ff7e79;stop-opacity:1;" 22 style="stop-color:#ff7e79;stop-opacity:0;" 134 style="display:inline" 135 transform="translate(-6.1162721,-7.5779882)"> 137 …style="display:inline;opacity:0.08;fill:#ff7e79;fill-opacity:1;stroke:#ff7e79;stroke-width:0.82582… 144 …style="font-variant:normal;font-weight:normal;font-size:6.29844px;font-family:'Arial';-inkscape-fo… 151 style="stroke-width:0.114517">L-vectors</tspan></text> 153 …style="font-variant:normal;font-weight:normal;font-size:6.29844px;font-family:'Arial';-inkscape-fo… [all …]
|
| H A D | libCEEDBackends.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 2 <!-- Created with Inkscape (http://www.inkscape.org/) --> 22 style="stop-opacity:1;stop-color:#e9b7b7" 26 style="stop-opacity:1;stop-color:#e9b7b7" 30 style="stop-opacity:1;stop-color:#f1d2d2" 34 style="stop-opacity:1;stop-color:#faeded" 38 style="stop-opacity:1;stop-color:#faeded" 47 transform="matrix(1.3333333,0,0,-1.3333333,4.3786667,219.77067)" 58 style="stop-opacity:1;stop-color:#e9b7b7" 62 style="stop-opacity:1;stop-color:#e9b7b7" [all …]
|
| H A D | libCEED-decomposition.svg | 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?> 5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" 17 sodipodi:docname="libCEED-2-trim.svg" 18 inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)"><sodipodi:namedview 27 inkscape:window-width="1916" 28 inkscape:window-height="1076" 34 inkscape:window-x="0" 35 inkscape:window-y="0" 36 inkscape:window-maximized="1" [all …]
|
| H A D | T-vector.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …ox="0 0 9246 7620" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke… 13 <font id="EmbeddedFont_1" horiz-adv-x="2048"> 14 …<font-face font-family="Open Sans embedded" units-per-em="2048" font-weight="normal" font-style="n… 15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/> 16 …-adv-x="641" d="M 530,117 C 559,117 588,119 615,124 642,128 664,132 680,137 L 680,10 C 662,1 636,-… 17 …-adv-x="781" d="M 883,299 C 883,197 845,118 769,63 693,8 586,-20 449,-20 304,-20 190,3 109,49 L 10… 18 …-adv-x="621" d="M 676,1116 C 725,1116 768,1112 807,1104 L 784,950 C 739,960 699,965 664,965 575,96… 19 …-adv-x="1001" d="M 1122,549 C 1122,370 1077,231 987,131 897,30 773,-20 614,-20 516,-20 429,3 353,4… [all …]
|
| H A D | L-vector.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …ox="0 0 9754 8128" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke… 13 <font id="EmbeddedFont_1" horiz-adv-x="2048"> 14 …<font-face font-family="Open Sans embedded" units-per-em="2048" font-weight="normal" font-style="n… 15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/> 16 …-adv-x="641" d="M 530,117 C 559,117 588,119 615,124 642,128 664,132 680,137 L 680,10 C 662,1 636,-… 17 …-adv-x="781" d="M 883,299 C 883,197 845,118 769,63 693,8 586,-20 449,-20 304,-20 190,3 109,49 L 10… 18 …-adv-x="621" d="M 676,1116 C 725,1116 768,1112 807,1104 L 784,950 C 739,960 699,965 664,965 575,96… 19 …-adv-x="1001" d="M 1122,549 C 1122,370 1077,231 987,131 897,30 773,-20 614,-20 516,-20 429,3 353,4… [all …]
|
| H A D | L-vector-AMR.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …ox="0 0 9754 8128" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke… 13 <font id="EmbeddedFont_1" horiz-adv-x="2048"> 14 …<font-face font-family="Open Sans embedded" units-per-em="2048" font-weight="normal" font-style="n… 15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/> 16 …-adv-x="641" d="M 530,117 C 559,117 588,119 615,124 642,128 664,132 680,137 L 680,10 C 662,1 636,-… 17 …-adv-x="781" d="M 883,299 C 883,197 845,118 769,63 693,8 586,-20 449,-20 304,-20 190,3 109,49 L 10… 18 …-adv-x="621" d="M 676,1116 C 725,1116 768,1112 807,1104 L 784,950 C 739,960 699,965 664,965 575,96… 19 …-adv-x="1001" d="M 1122,549 C 1122,370 1077,231 987,131 897,30 773,-20 614,-20 516,-20 429,3 353,4… [all …]
|
| H A D | E-vector.svg | 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 3 …ox="0 0 9754 8128" preserveAspectRatio="xMidYMid" fill-rule="evenodd" stroke-width="28.222" stroke… 13 <font id="EmbeddedFont_1" horiz-adv-x="2048"> 14 …<font-face font-family="Open Sans embedded" units-per-em="2048" font-weight="normal" font-style="n… 15 <missing-glyph horiz-adv-x="2048" d="M 0,0 L 2047,0 2047,2047 0,2047 0,0 Z"/> 16 …-adv-x="641" d="M 530,117 C 559,117 588,119 615,124 642,128 664,132 680,137 L 680,10 C 662,1 636,-… 17 …-adv-x="781" d="M 883,299 C 883,197 845,118 769,63 693,8 586,-20 449,-20 304,-20 190,3 109,49 L 10… 18 …-adv-x="621" d="M 676,1116 C 725,1116 768,1112 807,1104 L 784,950 C 739,960 699,965 664,965 575,96… 19 …-adv-x="1001" d="M 1122,549 C 1122,370 1077,231 987,131 897,30 773,-20 614,-20 516,-20 429,3 353,4… [all …]
|
| /libCEED/doc/sphinx/source/ |
| H A D | libCEEDdev.md | 10 The basic implementation of these functions should typically be placed in `/interface/*.c` files. 12 …ED object can be added in `/include/ceed-impl.h`, with a corresponding `CEED_FTABLE_ENTRY` in `/in… 13 …n `/backends/[impl]/ceed-[impl]-[object].c`, the developer creates the backend implementation of t… 15 The basic implementation of these functions should also be placed in `/interface/*.c` files. 18 …ons, it is generally recommended to include a basic CPU default implementation in `/interface/*.c`. 27 1. Delegation - Developers may use {c:func}`CeedSetDelegate` to set a general delegate {ref}`Ceed` … 31 2. Object delegation - Developers may use {c:func}`CeedSetObjectDelegate` to set a delegate {ref}`… 35 …- Developers may use {c:func}`CeedSetOperatorFallbackCeed` to set a {ref}`Ceed` object to provide … 38 …allback, the parent backend and fallback backend must use compatible E-vector and Q-vector layouts. 55 The `/cpu/self/ref/blocked` backend updates the {ref}`CeedOperator` to use an E-vector and Q-vector… [all …]
|
| H A D | conf.py | 2 # -*- coding: utf-8 -*- 5 # sphinx-quickstart on Tue Jan 7 18:59:28 2020. 31 # -- General configuration ------------------------------------------------ 60 # The following, if true, allows figures, tables and code-blocks to be 112 # The name of the Pygments (syntax highlighting) style to use. 118 # sphinxcontrib-bibtex 2.0 requires listing all bibtex files here 134 # -- Options for HTML output ---------------------------------------------- 141 # Theme options are theme-specific and customize the look and feel of a theme 147 # Add any paths that contain custom static files (such as style sheets) here, 174 # -- Options for HTMLHelp output ------------------------------------------ [all …]
|
| H A D | releasenotes.md | 11 - Add `bool` field type for `CeedQFunctionContext` and related interfaces to use `bool` fields. 12 - `CEED_BASIS_COLLOCATED` removed; users should only use `CEED_BASIS_NONE`. 13 - Remove unneeded pointer for `CeedElemRestrictionGetELayout`. 14 - Change QFunction source include file handling in JiT compilers 15 …- Add `CEED_RUNNING_JIT_PASS` compiler definition for wrapping header files that device JiT compil… 16 …- Users should now prefer `#include <ceed/types.h>` rather than `#include <ceed.h>` in QFunction s… 17 - Require use of `Ceed*Destroy()` on Ceed objects returned from `Ceed*Get*()`. 18 - Rename `CeedCompositeOperatorCreate()` to `CeedOperatorCreateComposite()` for uniformity. 19 - Rename `CeedCompositeOperator*()` to `CeedOperatorComposite*()` for uniformity. 23 - Add `CeedOperatorCreateAtPoints` which evaluates the `CeedQFunction` at arbitrary locations in ea… [all …]
|
| /libCEED/.github/workflows/ |
| H A D | c-fortran-test-style.yml | 1 name: Style 6 - main 13 os: [ubuntu-24.04] 16 runs-on: ${{ matrix.os }} 19 - name: Environment setup 21 - name: Install clang-format 23 wget -O- https://apt.llvm.org/llvm-snapshot.gpg.key | sudo apt-key add - 24 sudo add-apt-repository 'deb http://apt.llvm.org/noble/ llvm-toolchain-noble-19 main' 25 sudo apt update && sudo apt install clang-format-19 26 - name: C style [all …]
|
| /libCEED/ |
| H A D | Doxyfile | 20 # doxygen -x [configFile] 24 # doxygen -x_noenv [configFile] 26 #--------------------------------------------------------------------------- 28 #--------------------------------------------------------------------------- 31 # file that follow. The default is UTF-8 which is also the encoding used for all 35 # The default value is: UTF-8. 37 DOXYFILE_ENCODING = UTF-8 40 # double-quotes, unless you are using Doxywizard) that should identify the 74 # sub-directories (in 2 levels) under the output directory of each output format 79 # control the number of sub-directories. [all …]
|
| H A D | README.md | 3 [![GitHub Actions][github-badge]][github-link] 4 [![GitLab-CI][gitlab-badge]][gitlab-link] 5 [![Code coverage][codecov-badge]][codecov-link] 6 [![BSD-2-Clause][license-badge]][license-link] 7 [![Documentation][doc-badge]][doc-link] 8 [![JOSS paper][joss-badge]][joss-link] 9 [![Binder][binder-badge]][binder-link] 13 libCEED provides fast algebra for element-based discretizations, designed for performance portabili… 15 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica… 17 One of the challenges with high-order methods is that a global sparse matrix is no longer a good re… [all …]
|
| H A D | Makefile | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 8 # ------------------------------------------------------------ 10 # ------------------------------------------------------------ 14 -include $(CONFIG) 18 -include $(COMMON) 23 # Cancel built-in and old-fashioned implicit rules which we don't use 29 @mkdir -p $(@D) 35 DARWIN := $(filter Darwin,$(shell uname -s)) [all …]
|
| /libCEED/examples/python/ |
| H A D | tutorial-3-basis.ipynb | 9 …ithub.com/CEED/libCEED/), the low-level API library for efficient high-order discretization method… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 29 "! python -m pip install libceed" 38 …documentation](https://libceed.org/en/latest/libCEEDapi.html#finite-element-operator-decomposition… 57 "plt.style.use('ggplot')\n", 62 " result *= np.tanh(x[d] - center)\n", 79 …"The Lagrange interpolation nodes are at the Gauss-Lobatto points, so interpolation to Gauss-Lobat… 203 " x[d*X_dim + i] = 1 if (i % (2**(dim-d))) // (2**(dim-d-1)) else -1\n", 241 " plt.scatter(x, y, c=np.array(u_array).reshape(Q, Q))\n", 242 " plt.xlim(-1, 1)\n", [all …]
|
| /libCEED/rust/libceed-sys/c-src/ |
| H A D | Makefile | 1 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 # SPDX-License-Identifier: BSD-2-Clause 8 # ------------------------------------------------------------ 10 # ------------------------------------------------------------ 14 -include $(CONFIG) 18 -include $(COMMON) 23 # Cancel built-in and old-fashioned implicit rules which we don't use 29 @mkdir -p $(@D) 35 DARWIN := $(filter Darwin,$(shell uname -s)) [all …]
|
| /libCEED/examples/fluids/src/ |
| H A D | misc.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 20 Ceed ceed = user->ceed; in ICs_FixMultiplicity() 26 …if (user->phys->ics_time_label) PetscCallCeed(ceed, CeedOperatorSetContextDouble(ceed_data->op_ics… in ICs_FixMultiplicity() 27 PetscCall(ApplyCeedOperatorLocalToGlobal(NULL, Q, ceed_data->op_ics_ctx)); in ICs_FixMultiplicity() 29 PetscCallCeed(ceed, CeedElemRestrictionCreateVector(ceed_data->elem_restr_q, &mult_vec, NULL)); in ICs_FixMultiplicity() 31 // -- Get multiplicity in ICs_FixMultiplicity() 34 PetscCallCeed(ceed, CeedElemRestrictionGetMultiplicity(ceed_data->elem_restr_q, mult_vec)); in ICs_FixMultiplicity() 41 // -- Fix multiplicity in ICs_FixMultiplicity() [all …]
|
| /libCEED/include/ceed/ |
| H A D | ceed.h | 1 /// Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 /// All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 /// SPDX-License-Identifier: BSD-2-Clause 15 /// @defgroup CeedBasis CeedBasis: fully discrete finite element-like objects 17 /// @defgroup CeedOperator CeedOperator: composed FE-type operations on vectors 29 …ended to be used by backend developers of libCEED and can generally be found in `"ceed-backend.h"`. 31 …intended to be used by library developers of libCEED and can generally be found in `"ceed-impl.h"`. 47 #define CEED_EXTERN extern "C" CEED_VISIBILITY(default) 69 /// Non-blocking Ceed interfaces return a CeedRequest. 97 /// Handle for object describing FE-type operators acting on vectors [all …]
|
| /libCEED/examples/petsc/ |
| H A D | bpsraw.c | 1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 4 // SPDX-License-Identifier: BSD-2-Clause 12 // The code is intentionally "raw", using only low-level communication primitives. 20 // ./bpsraw -problem bp1 21 // ./bpsraw -problem bp2 22 // ./bpsraw -problem bp3 23 // ./bpsraw -problem bp4 24 // ./bpsraw -problem bp5 -ceed /cpu/self 25 // ./bpsraw -problem bp6 -ceed /gpu/cuda [all …]
|