| /libCEED/ |
| H A D | Cargo.toml | 3 "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", 11 "examples/rust/mesh", 13 exclude = ["examples/rust-qfunctions/ex1-volume-rs"]
|
| H A D | .gitignore | 42 # Rust 45 rust.lcov
|
| H A D | RELEASING.md | 52 8. Publish Julia, Python, and Rust packages. 163 ## Rust section in Release Procedures 165 The Rust crates for libCEED are split into 166 …ding/finding the `libceed.so` or `libceed.a` library and providing unsafe Rust bindings (one to on… 167 2. [`libceed`](https://crates.io/crates/libceed) containing the safe and idiomatic Rust bindings.
|
| /libCEED/.github/workflows/ |
| H A D | rust-test-with-style.yml | 1 name: Rust 21 - name: Rust setup 22 uses: dtolnay/rust-toolchain@master 31 - name: Rust test with coverage 53 - name: Rust setup 54 uses: dtolnay/rust-toolchain@master 59 - name: Rust style
|
| H A D | rust-documentation.yml | 1 name: Rust Documentation 21 - name: Rust setup 22 uses: dtolnay/rust-toolchain@master
|
| /libCEED/rust/libceed-sys/ |
| H A D | README.md | 3 This is the documentation for the low level (unsafe) Rust bindings to the libCEED C interface. 5 Note that most Rust users will prefer the higher level (safe) Rust interface in the [`libceed` crat… 12 To use low level libCEED bindings in a Rust package, the following `Cargo.toml` can be used. 18 For a development version of the libCEED Rust bindings, use the following `Cargo.toml`. 30 To develop libCEED, use `cargo build` in the `rust/libceed-sys` directory to install a local copy a… 54 …H` workarounds will become unnecessary if [this issue](https://github.com/rust-lang/cargo/issues/1…
|
| /libCEED/rust/libceed/ |
| H A D | README.md | 3 …CEED/libCEED/actions/workflows/rust-test-with-style.yml/badge.svg)](https://github.com/CEED/libCEE… 14 To call libCEED from a Rust package, the following `Cargo.toml` can be used. 20 For a development version of the libCEED Rust bindings, use the following `Cargo.toml`. 26 ```rust 44 …d in the [libCEED repository](https://github.com/CEED/libCEED) under the `examples/rust` directory.
|
| H A D | Cargo.toml | 10 rust-version = "1.56"
|
| /libCEED/doc/sphinx/source/ |
| H A D | ffi.md | 1 # Julia, Python, and Rust Interfaces 3 libCEED provides high-level interfaces using the Julia, Python, and Rust programming languages. 10 More information about the Rust interface can be found at the [Rust interface documentation](https:…
|
| H A D | precision.md | 28 - **Rust**: The {code}`Scalar` type corresponds to {code}`CeedScalar`.
|
| /libCEED/rust/libceed/tests/ |
| H A D | version-numbers.rs | 13 version_sync::assert_markdown_deps_updated!(if path.ends_with("rust/libceed") { in test_readme_deps() 22 if path.ends_with("rust/libceed") { in get_rel_path() 25 Path::new("rust/libceed").join(rel) in get_rel_path()
|
| /libCEED/rust/libceed-sys/tests/ |
| H A D | version-numbers.rs | 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/rust-qfunctions/ |
| H A D | ex1-volume.h | 15 // References the rust file for the qfunction named build_mass_rs 18 // References the rust file for the qfunction named apply_mass_rs
|
| H A D | Makefile | 27 # Special build rule for example 1 (rust) 30 …) $(CEED_LDFLAGS) $(abspath $<) -o $@ $(CEED_LIBS) -L$(CEED_DIR)/examples/rust-qfunctions/ex1-volu…
|
| /libCEED/backends/cuda/ |
| H A D | ceed-cuda-compile.cpp | 90 using_clang ? "Compiling CUDA with Clang backend (with Rust QFunction support)" in CeedCompileCore_Cuda() 91 …: "Compiling CUDA with NVRTC backend (without Rust QFunction support).\nTo use the Clang backend, … in CeedCompileCore_Cuda() 251 // Get rust crate directories in CeedCompileCore_Cuda() 276 // Compile Rust crate(s) needed in CeedCompileCore_Cuda() 282 CeedCallSystem(ceed, command.c_str(), "build Rust crate"); in CeedCompileCore_Cuda() 291 CeedDebug(ceed, "Attempting to detect Rust LLVM version.\ncommand:\n$ %s", command.c_str()); in CeedCompileCore_Cuda() 294 …CeedCheck(output_stream != nullptr, ceed, CEED_ERROR_BACKEND, "Failed to detect Rust LLVM version"… in CeedCompileCore_Cuda() 303 …CeedCheck(pclose(output_stream) == 0, ceed, CEED_ERROR_BACKEND, "Failed to detect Rust LLVM versio… in CeedCompileCore_Cuda() 315 CeedDebug(ceed, "Rust LLVM version number: %d\n", llvm_version); in CeedCompileCore_Cuda() 334 // Find Rust's llvm-link tool and run it in CeedCompileCore_Cuda() [all …]
|
| /libCEED/doc/papers/joss/ |
| H A D | paper.md | 77 …g], Fortran77 [@Fortran77-lang], Python [@Python-lang], Julia [@Julia-lang], and Rust [@Rust-lang]. 131 `libCEED` provides high-level interfaces in Python, Julia, and Rust, each of which is maintained an… 137 The Rust interface also wraps automatically-generated bindings from the `libCEED` C header files, o…
|
| /libCEED/examples/rust/mesh/ |
| H A D | Cargo.toml | 10 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex3-volume-vector/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex3-volume/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex1-volume/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex2-surface/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex1-volume-vector/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust/ex2-surface-vector/ |
| H A D | Cargo.toml | 11 libceed = { path = "../../../rust/libceed" }
|
| /libCEED/examples/rust-qfunctions/ex1-volume-rs/src/ |
| H A D | lib.rs | 39 /* The no_mangle is required because rust "mangles" names (changes them to prevent namespace confli… 96 /* The no_mangle is required because rust "mangles" names (changes them to prevent namespace confli…
|
| /libCEED/examples/ |
| H A D | README.md | 85 ## libCEED Rust Examples 87 The basic libCEED C examples in `/ceed` folder are also available as Rust examples.
|