Home
last modified time | relevance | path

Searched +full:libceed +full:- +full:sys (Results 1 – 17 of 17) sorted by relevance

/libCEED/rust/libceed-sys/
H A DREADME.md1 # libceed-sys: unsafe bindings to libCEED
3 This is the documentation for the low level (unsafe) Rust bindings to the libCEED C interface.
4 See the [libCEED user manual](https://libceed.org) for usage information.
5 …ll prefer the higher level (safe) Rust interface in the [`libceed` crate](https://docs.rs/libceed).
7 libCEED is a low-level API for for the efficient high-order discretization methods developed by the…
8 While our focus is on high-order finite elements, the approach is mostly algebraic and thus applica…
12 To use low level libCEED bindings in a Rust package, the following `Cargo.toml` can be used.
15 libceed-sys = "0.12.0"
18 For a development version of the libCEED Rust bindings, use the following `Cargo.toml`.
21 libceed-sys = { git = "https://github.com/CEED/libCEED", branch = "main" }
[all …]
H A DCargo.toml8 name = "libceed-sys"
10 links = "libceed-sys"
12 license = "BSD-2-Clause"
13 repository = "https://github.com/CEED/libCEED"
14 documentation = "https://docs.rs/libceed-sys"
16 Low-level bindings for libCEED library.
18 keywords = ["libceed", "exascale", "high-order"]
24 "c-src/**",
32 [build-dependencies]
34 pkg-config = "0.3.19"
[all …]
/libCEED/rust/libceed/
H A DCargo.toml7 name = "libceed"
10 rust-version = "1.56"
11 license = "BSD-2-Clause"
12 repository = "https://github.com/CEED/libCEED"
13 documentation = "https://docs.rs/libceed"
15 High-level interface for libCEED - the efficient high-order discretization library developed by the…
17 keywords = ["libceed", "exascale", "high-order"]
21 libceed-sys = { version = "0.12", path = "../libceed-sys" }
24 [dev-dependencies]
25 version-sync = "0.9.2"
[all …]
/libCEED/rust/libceed-sys/tests/
H A Dversion-numbers.rs3 fn get_rel_path(rel: impl AsRef<Path>) -> PathBuf { in get_rel_path()
5 if path.ends_with("rust/libceed-sys") { in get_rel_path()
8 Path::new("rust/libceed-sys").join(rel) in get_rel_path()
/libCEED/examples/python/
H A Dex3_volume.py2 # 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
9 # libCEED example using diffusion operator to compute surface area
14 # python ex3_volume -c /cpu/self
15 # python ex3_volume -c /gpu/cuda
17 import sys
20 import libceed
50 print(f" Ceed specification [-c] : {args.ceed}")
51 print(f" Mesh dimension [-d] : {dim}")
[all …]
H A Dex1_volume.py2 # 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
9 # libCEED example using diffusion operator to compute surface area
14 # python ex1_volume -c /cpu/self
15 # python ex1_volume -c /gpu/cuda
17 import sys
20 import libceed
50 print(f" Ceed specification [-c] : {args.ceed}")
51 print(f" Mesh dimension [-d] : {dim}")
[all …]
H A Dex2_surface.py2 # 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
9 # libCEED example using diffusion operator to compute surface area
14 # python ex2_surface.py -c /cpu/self
15 # python ex2_surface.py -c /gpu/cuda
17 import sys
20 import libceed
51 print(f" Ceed specification [-c] : {args.ceed}")
52 print(f" Mesh dimension [-d] : {dim}")
[all …]
H A Dex_common.py1 # 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 import sys
14 import libceed
24 dim: Problem dimension (1-3)
33 parser = argparse.ArgumentParser(description="libCEED surface area example")
34 parser.add_argument("-c", "--ceed", default="/cpu/self",
35 help="libCEED resource specifier (default: /cpu/self)")
36 parser.add_argument("-d", "--dim", type=int, default=3,
[all …]
/libCEED/doc/sphinx/source/
H A Dconf.py2 # -*- coding: utf-8 -*-
4 # libCEED documentation build configuration file, created by
5 # sphinx-quickstart on Tue Jan 7 18:59:28 2020.
17 # add these directories to sys.path here. If the directory is relative to the
21 # import sys
22 # sys.path.insert(0, os.path.abspath('.'))
25 import sys
31 # -- General configuration ------------------------------------------------
60 # The following, if true, allows figures, tables and code-blocks to be
71 project = "libCEED"
[all …]
H A Dreleasenotes.md3 …e provide a summary of the main API changes, new features and examples for each release of libCEED.
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.
[all …]
/libCEED/
H A DRELEASING.md5 In preparing a release, create a branch to hold pre-release commits.
21 Use `git log --first-parent v0.7..` to get a sense of the pull requests that have been merged and t…
22 …ences for key features to highlight on [GitHub releases](https://github.com/CEED/libCEED/releases).
25 Use `make doc-latexpdf` to build a PDF users manual and inspect it for missing references or format…
31 … compliance checker](https://github.com/lvc/abi-compliance-checker) is a useful tool, as is `nm -D…
33 …cised in continuous integration (e.g., HPC facilities) and with users of libCEED, such as MFEM and…
34 … PR to support the new release, and it's good for quality to test before tagging a libCEED release.
38 4. Check that `spack install libceed@develop` works prior to tagging.
39 The Spack `libceed/package.py` file should be updated immediately after tagging a release.
44 1. `git commit -am'libCEED 0.8.1'`
[all …]
H A DCargo.toml3 "rust/libceed",
4 "rust/libceed-sys",
5 "examples/rust/ex1-volume",
6 "examples/rust/ex1-volume-vector",
7 "examples/rust/ex2-surface",
8 "examples/rust/ex2-surface-vector",
9 "examples/rust/ex3-volume",
10 "examples/rust/ex3-volume-vector",
13 exclude = ["examples/rust-qfunctions/ex1-volume-rs"]
/libCEED/.github/workflows/
H A Drust-documentation.yml6 - 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
/libCEED/tests/
H A Djunit.py5 def create_argparser() -> argparse.ArgumentParser:
13 '-c',
14 '--ceed-backends',
18 help='libCEED backend to use with convergence tests')
20 '-m',
21 '--mode',
26 parser.add_argument('-n', '--nproc', type=int, default=1, help='number of MPI processes')
27 …parser.add_argument('-b', '--junit-batch', type=str, default='', help='Name of JUnit batch for out…
28 …parser.add_argument('-np', '--pool-size', type=int, default=1, help='Number of test cases to run i…
29 parser.add_argument('-s', '--search', type=str, default='.*',
[all …]
H A Djunit_common.py14 import sys
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)
[all …]
/libCEED/python/
H A Dceed.py1 # 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
9 import sys
24 # ------------------------------------------------------------------------------
32 # libCEED object
35 # libCEED call
57 # libCEED call
72 """Check return code and retrieve error message for non-zero code"""
76 raise Exception(ffi.string(message[0]).decode("UTF-8"))
[all …]
/libCEED/backends/cuda/
H A Dceed-cuda-compile.cpp1 // 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 #include "ceed-cuda-compile.h"
12 #include <ceed/jit-tools.h>
19 #include <sys/stat.h>
20 #include <sys/types.h>
28 #include "ceed-cuda-common.h"
44 //------------------------------------------------------------------------------
46 //------------------------------------------------------------------------------
[all …]