About
This is a 2D and 3D anisotropic mesh adaptation library based on Four-Dimensional Anisotropic Mesh Adaptation for Spacetime Numerical Simulations by Philip Claude Caplan.
Dependencies
Required dependencied
- libOL is required and must be installed before building this library. It may be installed with:
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
make -j install
Optional dependencies
- libMeshb is optional and used to enable benchmarks with reference codes. It may be installed with:
cmake .. -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
make -j install
- NLOpt can be used for smoothing, but the current implementation is quite inefficient
- Different LAPACK versions (Accelerate, MKL) may be used if available
Building
libOL
(and optionallylibMeshb
) location may need to be declared using environment variables. This can be done in.cargo/config.toml
, for example:
[env]
LIBOL_DIR="/path/to/libOL_prefix"
LIBMESHB_DIR="/path/to/libMeshb_prefix"
See https://github.com/xgarnaud/libmeshb-sys and https://github.com/jeromerobert/marechal-libol-sys.git for other possible environment variables.
- Optional features are
- nlopt to enable smoothing with NLOpt
Render doc
RUSTDOCFLAGS="--html-in-header katex.html" cargo doc --no-deps --document-private-items