2 unstable releases

0.6.0 Oct 16, 2024
0.5.0 Aug 30, 2024

#1001 in Data structures

Download history 134/week @ 2024-08-26 4/week @ 2024-09-02 17/week @ 2024-09-16 6/week @ 2024-09-23 4/week @ 2024-09-30 174/week @ 2024-10-14 4/week @ 2024-10-21 9/week @ 2024-11-04

187 downloads per month

MIT/Apache

400KB
6K SLoC

Honeycomb

Current Version GitHub commits since latest release Build Status Rust Tests codecov

Honeycomb aims to provide a safe, efficient and scalable implementation of combinatorial maps for meshing applications. More specifically, the goal is to converge towards a (or multiple) structure(s) adapted to algorithms exploiting GPUs and many-core architectures.

The current objective is to profile and benchmark performance of our structure in the context of our kernels' implementations, and start introducing concurrency into our code.

Quickstart

You can add honeycomb as a dependency of your project by adding the following lines to its Cargo.toml:

# [dependencies]
honeycomb = { git = "https://github.com/LIHPC-Computational-Geometry/honeycomb", tag = "0.6.0"} # remove tag for master branch build

Alternatively, you can add the sub-crates that are currently published on crates.io:

# [dependencies]
honeycomb-core = "0.6.0"
honeycomb-kernels = "0.6.0"
honeycomb-render = "0.6.0"

Project content

Rust

The content of each member is described in their respective Rust Doc as well as in the user guide. The following crates are published:

  • Core Version docs.rs core structures
  • Kernels Version docs.rs meshing kernels
  • Render Version docs.rs visualizing tool

The repository also hosts these members:

  • Benchmarks are grouped in the honeycomb-benches crate (Rust Doc)
  • Examples are grouped in the honeycomb-examples crate (Rust Doc)

User guide

The user guide provides an overview of everything available in the project as well as usage instructions. It can be generated offline using mdbook. Note that generating the doc using a stable toolchain is possible, the features just won't be documented as clearly.

# Serve the doc on a local server
mdbook serve --open -d ../target/doc/ user-guide/ &
cargo +nightly doc --all --all-features --no-deps
# Kill the local server
kill $(pidof mdbook) 

# Without pidof
kill $(ps -e | awk '/mdbook/ {print $1}')

Contributing

Contributions are welcome and accepted as pull requests on GitHub. Feel free to use issues to report bugs, missing documentation or suggest improvements of the project.

Note that a most of the code possess documentation, including private modules / items / sections. You can generate the complete documentation by using the instructions above and passing the option --document-private-items to cargo doc.

License

Licensed under either of

at your preference.

The SPDX license identifier for this project is MIT OR Apache-2.0.

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~2–3MB
~54K SLoC