#wrapper #part #bundled #depend #version #sorting #mfem

mfem-cpp

Static build of MFEM for use as a Rust dependency

2 releases

0.1.1+mfem-4.6.0 May 15, 2024
0.1.0+mfem-4.6.0 May 12, 2024

#7 in #bundled

Download history 245/week @ 2024-05-12 61/week @ 2024-05-19

306 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