mfem-sys 0.2.0

Rust bindings to MFEM
Documentation

mfem-sys

Part of mfem-rs, a Rust wrapper for MFEM.

⚠️ Work in Progress ⚠️

This crate is currently under heavy development and as such, is likely unstable.
Please file an issue and bear with us while we sort things out! Thanks! :)

About

  • If you just want to use MFEM from Rust, depend on the mfem crate instead.
  • This crate is very low level and thus cumbersom to use.
  • A safe FFI (foreign-function interface) to use MFEM from Rust.
  • Uses the cxx crate to generate safe and correct bindings.
  • Encodes MFEM's ownership rules into Rust's type system.
  • Turns various MFEM int constants into type-safe Rust enums.
  • Depends on mfem-cpp.