| /libCEED/.github/workflows/ |
| H A D | python-test-with-style.yml | 1 name: Python 6 - main 13 os: [ubuntu-24.04] 15 python-version: ['3.x'] 17 runs-on: ${{ matrix.os }} 20 - name: Environment setup 22 - name: Python setup 23 uses: actions/setup-python@v5 25 python-version: ${{ matrix.python-version }} 26 - name: Python dependencies [all …]
|
| /libCEED/tests/junit-xml/ |
| H A D | README.rst | 1 python-junit-xml 3 .. image:: https://travis-ci.org/kyrus/python-junit-xml.png?branch=master 6 ----- 8 A Python module for creating JUnit XML test result documents that can be 10 test suite written in Python and want to take advantage of Jenkins' or Bamboo's 21 ------------ 27 pip install junit-xml 29 easy_install junit-xml 35 git clone https://github.com/kyrus/python-junit-xml.git 36 python setup.py install [all …]
|
| /libCEED/ |
| H A D | setup.py | 2 # the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 6 # libraries and APIs for efficient high-order finite element and spectral 10 # The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 16 # pylint: disable=no-name-in-module,import-error,unused-variable 21 # ------------------------------------------------------------------------------ 23 # ------------------------------------------------------------------------------ 26 def version(): function 28 ceed_version = [line.split("Version:", 1)[1].strip() for line in template if 29 line.startswith("Version: ")] 53 '-j{}'.format(nproc), [all …]
|
| H A D | .readthedocs.yml | 2 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details 5 version: 2 8 os: ubuntu-24.04 10 python: "3.13" 13 - librsvg2-bin 16 - npx playwright install 17 - npm install -g @mermaid-js/mermaid-cli 26 - pdf 28 # Optionally set the version of Python and requirements required to build your docs 29 python: [all …]
|
| H A D | RELEASING.md | 5 In preparing a release, create a branch to hold pre-release commits. 11 Some minor bookkeeping updates are needed when releasing a new version of the core library. 13 The version number must be updated in 21 Use `git log --first-parent v0.7..` to get a sense of the pull requests that have been merged and t… 25 Use `make doc-latexpdf` to build a PDF users manual and inspect it for missing references or format… 31 …[ABI compliance checker](https://github.com/lvc/abi-compliance-checker) is a useful tool, as is `n… 44 1. `git commit -am'libCEED 0.8.1'` 45 More frequently, this is amending the commit message on an in-progress commit, after rebasing if ap… 47 3. `git switch main && git merge --ff-only HEAD@{1}` fast-forward merge into `main` 48 4. `git tag --sign -m'libCEED 0.8.1'` [all …]
|
| H A D | CITATION.cff | 1 cff-version: 1.2.0 3 version: 0.12.0 4 date-released: 2023-10-31 5 license: BSD-2-Clause 8 - family-names: Brown 9 given-names: Jed 10 orcid: 0000-0002-9945-0639 11 - family-names: Abdelfattah 12 given-names: Ahmad 13 orcid: 0000-0001-5054-4784 [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… 14 It offers a C99 interface as well as bindings for Fortran, Python, Julia, and Rust. 15 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica… [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 …]
|
| 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 48 # could be handy for archiving the generated documentation or if some version 74 # sub-directories (in 2 levels) under the output directory of each output format [all …]
|
| /libCEED/examples/python/ |
| H A D | tutorial-0-ceed.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python" 25 "Install libCEED for Python by running" 34 "! python -m pip install libceed" 108 "display_name": "Python 3", 109 "language": "python", 115 "version": 3 118 "mimetype": "text/x-python", [all …]
|
| H A D | tutorial-4-qfunction.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python\n", 20 "Install libCEED for Python by running" 29 "! python -m pip install libceed" 38 …-wise functions describing the physics at the quadrature points (see [the API documentation](https… 42 …"[QFunctionSchematic]: ./img/QFunctionSketch.svg \"Schematic of point-wise QFunctions, defined at … 49 …espectively, of the mass operator in 1D) from the gallery of available built-in QFunctions in libC… 74 "* In the following example, we create and evaluate a built-in identity QFunction." [all …]
|
| H A D | tutorial-1-vector.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python\n", 20 "Install libCEED for Python by running" 29 "! python -m pip install libceed" 168 " b[3] = -3.14;\n", 191 " a[i] *= -1\n", 232 "display_name": "Python 3", 233 "language": "python", [all …]
|
| H A D | tutorial-5-operator.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python\n", 20 "Install libCEED for Python by running" 29 "! python -m pip install libceed" 38 …documentation](https://libceed.org/en/latest/libCEEDapi.html#finite-element-operator-decomposition… 45 …ute the length of this 1D domain, similar to Ex1-Volume in the [tutorial-6-shell tutorial](./tutor… 63 "num_u = num_elem*(p-1) + 1\n", 69 " x_array[i] = i / (num_x - 1.0)\n", [all …]
|
| H A D | tutorial-3-basis.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python\n", 20 "Install libCEED for Python by running" 29 "! python -m pip install libceed" 38 …documentation](https://libceed.org/en/latest/libCEEDapi.html#finite-element-operator-decomposition… 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", [all …]
|
| H A D | tutorial-2-elemrestriction.ipynb | 7 "# libCEED for Python examples\n", 9 …Python interface for [libCEED](https://github.com/CEED/libCEED/), the low-level API library for ef… 11 …"While libCEED's focus is on high-order finite/spectral element method implementations, the approa… 18 "## Setting up libCEED for Python\n", 20 "Install libCEED for Python by running" 29 "! python -m pip install libceed" 38 …documentation](https://libceed.org/en/latest/libCEEDapi.html#finite-element-operator-decomposition… 55 "# x -- x -- x -- x\n", 56 "# 10 -- 11 -- 12 -- 13\n", 59 "# x -- x | x -- x | x -- x\n", [all …]
|
| H A D | tutorial-6-shell.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… 21 "uses high-order finite elements/spectral elements, namely, the high-order Lagrange\n", 22 "polynomials defined over $P$ non-uniformly spaced nodes, the\n", 23 "Gauss-Legendre-Lobatto (GLL) points, and quadrature points $\\{q_i\\}_{i=1}^Q$, with\n", 25 "or Gauss-Lobatto quadratures, that are built in the library).\n", 34 "$\\boldsymbol{X}=(X,Y,Z) \\equiv (X_1,X_2,X_3) \\in I=[-1,1]^3$\n", 37 "### Ex1-Volume\n", 42 "simple usage of libCEED to compute the volume of a given body using a matrix-free\n", 167 "Now run `ex1-volume` by running" [all …]
|
| /libCEED/doc/sphinx/source/ |
| H A D | conf.py | 2 # -*- coding: utf-8 -*- 5 # sphinx-quickstart on Tue Jan 7 18:59:28 2020. 31 # -- General configuration ------------------------------------------------ 33 # If your documentation needs a minimal Sphinx version, state it here. 60 # The following, if true, allows figures, tables and code-blocks to be 77 # The version info for the project you're documenting, acts as replacement for 78 # |version| and |release|, also used in various other places throughout the 81 # The short X.Y version. 85 if line.startswith("Version:"): 88 version = pkgconf_version variable [all …]
|
| H A D | precision.md | 8 :end-at: "#include \"ceed-f64.h\"" 10 :start-at: "#include \"ceed-f64.h\"" 13 to include {code}`ceed-f32.h` instead, then recompile the library. 16 ## Language-specific notes 18 …- **C**: {code}`CEED_SCALAR_TYPE` will be defined to match one of the values of the {code}`CeedSca… 20 …- **Fortran**: There is no definition of {code}`CeedScalar` available in the Fortran header. The … 22 …- **Julia**: After compiling the single precision version of libCEED, instruct LibCEED.jl to use t… 24 …- **Python**: Make sure to replace the {code}`ceed-f64.h` inclusion rather than commenting it out,… 28 - **Rust**: The {code}`Scalar` type corresponds to {code}`CeedScalar`. 30 …y to use single precision is an initial step in ongoing development of mixed-precision support in …
|
| 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/doc/papers/joss/ |
| H A D | paper.bib | 6 Title = {Efficient Nonlinear Solvers for Nodal High-Order Finite Elements in 3D}, 8 doi = {10.1007/s10915-010-9396-8}, 11 @misc{C99-lang, 12 title={ISO/IEC 9899: 1999 Programming Languages-C}, 18 @article{CEED-ECP-paper, 31 Camier, Jean-Sylvain and 37 Lan, Yu-Hsiang and 49 title = {Efficient Exascale Discretizations: High-Order Finite Element Methods}, 88 Camier, Jean-Sylvain and 112 capabilities of CEED-enabled ECP applications on [all …]
|
| /libCEED/tests/junit-xml/junit_xml/ |
| H A D | __init__.py | 1 #!/usr/bin/env python 2 # -*- coding: UTF-8 -*- 13 # Python 2 16 # Python 3 22 <?xml version="1.0" encoding="utf-8"?> 25 package="testdb" tests="4" timestamp="2012-11-15T01:02:29"> 27 <property name="assert-passed" value="1"/> 29 <testcase classname="testdb.directory" name="1-passed-test" time="10"/> 30 <testcase classname="testdb.directory" name="2-failed-test" time="20"> 35 <testcase classname="package.directory" name="3-errord-test" time="15"> [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/tests/ |
| H A D | junit_common.py | 19 sys.path.insert(0, str(Path(__file__).parent / "junit-xml")) 65 csv_rtol: float = -1 66 csv_ztol: float = -1 67 cgns_tol: float = -1 88 def get_source_path(self, test: str) -> Path: 100 def get_run_path(self, test: str) -> Path: 112 def get_output_path(self, test: str, output_file: str) -> Path: 125 def test_failure_artifacts_path(self) -> Path: 132 return getattr(self, '_cgns_tol', 1.0e-12) 141 return getattr(self, '_csv_ztol', 3e-10) [all …]
|