| /libCEED/.github/workflows/ |
| H A D | python-wheels.yml | 3 # Build on every branch push, tag push, and pull request change: 4 on: [push, pull_request] 6 # on: 11 # - published 15 name: Build wheels on ${{ matrix.os }} 16 if: >- 21 runs-on: ${{ matrix.os }} 24 # windows-2019, macos-11 25 os: [ubuntu-20.04] 28 - uses: actions/checkout@v4 [all …]
|
| H A D | rust-test-with-style.yml | 3 on: 6 - main 13 os: [ubuntu-24.04, macos-15] 16 runs-on: ${{ matrix.os }} 19 - name: Environment setup 21 - name: Rust setup 22 uses: dtolnay/rust-toolchain@master 26 components: llvm-tools-preview 27 - name: Install cargo-llvm-cov 28 uses: taiki-e/install-action@v2 [all …]
|
| H A D | c-fortan-test-ppc64le.yml | 3 on: 6 - main 13 os: [ubuntu-24.04] 18 runs-on: ${{ matrix.os }} 21 - name: Environment setup 23 - name: Hardware setup and test libCEED 24 uses: uraimo/run-on-arch-action@v3 33 apt-get -y update 34 apt-get install -y build-essential 35 apt-get install -y gfortran [all …]
|
| H A D | c-fortran-test-arm64.yml | 3 on: 6 - main 13 os: [ubuntu-24.04-arm] 16 runs-on: ${{ matrix.os }} 19 - name: Environment setup 21 - name: Build and test libCEED 27 make -j 28 make prove -j
|
| H A D | rust-documentation.yml | 3 on: 6 - main 13 os: [ubuntu-24.04] 16 runs-on: ${{ matrix.os }} 19 - name: Environment setup 21 - name: Rust setup 22 uses: dtolnay/rust-toolchain@master 25 - name: Build documentation 27 cargo +nightly doc --package libceed-sys --package libceed --no-deps
|
| H A D | release-notes.yml | 3 on: 5 branches-ignore: 6 - main 13 os: [ubuntu-24.04] 15 runs-on: ${{ matrix.os }} 18 - name: Environment setup 20 - name: Check release notes 23 if git diff origin/main --exit-code include/ceed/*; then 25 elif git diff origin/main --exit-code doc/sphinx/source/releasenotes.rst; then
|
| H A D | c-fortran-test-icc.yml | 3 on: 6 - main 10 LINUX_CPP_COMPONENTS: intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic 11 LINUX_FORTRAN_COMPONENTS: intel-oneapi-compiler-fortran 17 os: [ubuntu-24.04] 19 runs-on: ${{ matrix.os }} 22 - uses: actions/checkout@v4 23 - name: Install Intel compilers 24 uses: rscohn2/setup-oneapi@v0 29 - name: Build and test libCEED [all …]
|
| H A D | julia-documentation.yml | 3 on: 6 - main 12 runs-on: ubuntu-24.04 14 - uses: actions/checkout@v4 15 - uses: julia-actions/setup-julia@latest 16 - name: Install dependencies 19 …julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate(); Pkg.… 20 - name: Build and deploy 25 julia --project=docs/ docs/make.jl
|
| H A D | c-fortran-test-style.yml | 3 on: 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 …]
|
| H A D | c-fortran-test-linux-osx.yml | 3 on: 6 - main 13 os: [ubuntu-24.04, macos-15] 16 - os: macos-15 17 compiler: apple-clang 19 runs-on: ${{ matrix.os }} 22 - name: Environment setup 24 - name: Set compiler 28 if [[ "${{ matrix.os }}" == macos-* ]]; then 29 echo "CC=gcc-15" >> $GITHUB_ENV [all …]
|
| H A D | python-test-with-style.yml | 3 on: 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 …]
|
| H A D | julia-test-with-style.yml | 3 on: 6 - main 13 os: [ubuntu-24.04] 14 julia-version: ['1'] 16 runs-on: ${{ matrix.os }} 24 - name: Environment setup 26 - name: Julia setup 27 uses: julia-actions/setup-julia@latest 29 version: ${{ matrix.julia-version }} 30 - name: Julia test and style [all …]
|
| /libCEED/benchmarks/ |
| H A D | postprocess_base.py | 3 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 4 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 6 # SPDX-License-Identifier: BSD-2-Clause 10 # Read all input files specified on the command line, or stdin and parse 34 runs = [] 57 runs.append(data) 59 data['test'] = line.split()[-2] + " " + line.split('-- ')[1] 60 data['bp'] = data['test'].rsplit()[-1] 76 data['degree'] = int(line.split(':')[1]) - 1 105 return pd.DataFrame(runs) [all …]
|
| H A D | postprocess_plot.py | 3 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 4 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 6 # SPDX-License-Identifier: BSD-2-Clause 16 log_y = 0 # use log scale on the y-axis? 17 x_range = (1e1, 4e6) # plot range for the x-axis; comment out for auto 18 y_range = (0, 2e9) # plot range for the y-axis; comment out for auto 24 show_figures = 1 # display the figures on the screen? 27 runs = read_logs() variable 33 rcParams['font.sans-serif'].insert(0, 'Noto Sans') 34 rcParams['font.sans-serif'].insert(1, 'Open Sans') [all …]
|
| /libCEED/examples/ceed/ |
| H A D | ex1-volume.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 10 …es a simple usage of libCEED to compute the volume of a 3D body using matrix-free application of a… 13 // The example has no dependencies, and is designed to be self-contained. 16 // All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed… 20 // make ex1-volume [CEED_DIR=</path/to/libceed>] 22 // Sample runs: 24 // ./ex1-volume 25 // ./ex1-volume -ceed /cpu/self [all …]
|
| H A D | ex3-volume.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 10 …es a simple usage of libCEED to compute the volume of a 3D body using matrix-free application of a… 15 // The example has no dependencies, and is designed to be self-contained. 18 // All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed… 22 // make ex3-volume [CEED_DIR=</path/to/libceed>] 24 // Sample runs: 26 // ./ex3-volume 27 // ./ex3-volume -ceed /cpu/self [all …]
|
| H A D | ex1-volume-f.f90 | 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 10 …es a simple usage of libCEED to compute the volume of a 3D body using matrix-free application of a… 13 ! The example has no dependencies, and is designed to be self-contained. 16 ! All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed). 20 ! make ex1-volume [CEED_DIR = </path/to/libceed>] 22 ! Sample runs: 24 ! ./ex1-volume-f 25 ! ./ex1-volume-f -ceed /cpu/self [all …]
|
| H A D | ex2-surface.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 10 …imple usage of libCEED to compute the surface area of a 3D body using matrix-free application of a… 13 // The example has no dependencies, and is designed to be self-contained. 16 // All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed… 20 // make ex2-surface [CEED_DIR=</path/to/libceed>] 22 // Sample runs: 24 // ./ex2-surface 25 // ./ex2-surface -ceed /cpu/self [all …]
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.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 10 …es a simple usage of libCEED to compute the volume of a 3D body using matrix-free application of a… 13 // The example has no dependencies, and is designed to be self-contained. 16 // All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed… 20 // make ex1-volume-rust [CEED_DIR=</path/to/libceed>] 22 // Sample runs: 24 // ./ex1-volume 25 // ./ex1-volume -ceed /cpu/self [all …]
|
| /libCEED/examples/mfem/ |
| H A D | bp1.cpp | 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 example reads a mesh from a file and solves a simple linear system with a mass matrix (L2-pr… 14 // Internally, CeedMassOperator uses a CeedOperator object constructed based on an mfem::FiniteElem… 15 // All libCEED objects use a Ceed device object constructed based on a command line argument (-ceed… 24 // Sample runs: 27 // ./bp1 -ceed /cpu/self 28 // ./bp1 -ceed /gpu/cuda 29 // ./bp1 -m ../../../mfem/data/fichera.mesh [all …]
|
| H A D | bp3.cpp | 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 14 // CeedDiffusionOperator uses a CeedOperator object constructed based on an mfem::FiniteElementSpac… 15 // object constructed based on a command line argument. (-ceed). 24 // Sample runs: 27 // ./bp3 -ceed /cpu/self 28 // ./bp3 -ceed /gpu/cuda 29 // ./bp3 -m ../../../mfem/data/fichera.mesh -o 4 30 // ./bp3 -m ../../../mfem/data/square-disc-nurbs.mesh -o 6 [all …]
|
| /libCEED/examples/python/ |
| H A D | ex3_volume.py | 2 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 3 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 5 # SPDX-License-Identifier: BSD-2-Clause 11 # Sample runs: 14 # python ex3_volume -c /cpu/self 15 # python ex3_volume -c /gpu/cuda 37 int: 0 on success, error code on failure 50 print(f" Ceed specification [-c] : {args.ceed}") 51 print(f" Mesh dimension [-d] : {dim}") 52 print(f" Mesh degree [-m] : {mesh_degree}") [all …]
|
| H A D | ex1_volume.py | 2 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 3 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 5 # SPDX-License-Identifier: BSD-2-Clause 11 # Sample runs: 14 # python ex1_volume -c /cpu/self 15 # python ex1_volume -c /gpu/cuda 37 int: 0 on success, error code on failure 50 print(f" Ceed specification [-c] : {args.ceed}") 51 print(f" Mesh dimension [-d] : {dim}") 52 print(f" Mesh degree [-m] : {mesh_degree}") [all …]
|
| H A D | ex2_surface.py | 2 # Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors. 3 # All Rights Reserved. See the top-level LICENSE and NOTICE files for details. 5 # SPDX-License-Identifier: BSD-2-Clause 11 # Sample runs: 14 # python ex2_surface.py -c /cpu/self 15 # python ex2_surface.py -c /gpu/cuda 37 int: 0 on success, error code on failure 51 print(f" Ceed specification [-c] : {args.ceed}") 52 print(f" Mesh dimension [-d] : {dim}") 53 print(f" Mesh degree [-m] : {mesh_degree}") [all …]
|
| /libCEED/examples/solids/ |
| H A D | README.md | 3 This page provides a description of the solid mechanics example for the libCEED library, based on P… 5 Ratel, a more fully featured solid mechanics library, can be found on [GitLab](https://gitlab.com/m… 7 This code solves the steady-state static momentum balance equations using unstructured high-order f… 8 …ini-app, we consider three formulations used in solid mechanics applications: linear elasticity, N… 20 ./elasticity -mesh [.exo file] -degree [degree] -nu [nu] -E [E] [boundary options] -problem [proble… 25 <!-- solids-inclusion --> 27 The elasticity mini-app is controlled via command-line options, the following of which are mandator… 29 :::{list-table} Mandatory Runtime Options 30 :header-rows: 1 33 * - Option [all …]
|