#wrapper #unstable #part #bundled #version #called #mfem

mfem-cpp

Static build of MFEM for use as a Rust dependency

3 unstable releases

new 0.2.0+mfem-4.6.0 Oct 19, 2024
0.1.1+mfem-4.6.0 May 15, 2024
0.1.0+mfem-4.6.0 May 12, 2024

#199 in Science

Download history 13/week @ 2024-07-24 6/week @ 2024-07-31 1/week @ 2024-09-11 15/week @ 2024-09-18 11/week @ 2024-09-25 2/week @ 2024-10-09 126/week @ 2024-10-16

152 downloads per month
Used in mfem-sys

MIT license

13MB
349K SLoC

C++ 305K SLoC // 0.1% comments GLSL 44K SLoC Shell 730 SLoC // 0.0% comments Jupyter Notebooks 35 SLoC // 0.3% comments Rust 17 SLoC Python 7 SLoC // 0.2% comments

mfem-cpp

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.
  • Provides a specific version of MFEM (currently 4.6.0).
  • The version of MFEM is part of the package version, e.g.
    mfem-cpp = "0.1.0+mfem-4.6.0"
  • Has a feature called bundled.
    • on: Build MFEM from bundled source code.
    • off: Find (with CMake) MFEM installed on the system.
  • The lib.rs provides mfem_path() to be used by mfem-sys.

Credits

No runtime deps