Akantu: Swiss-Made Open-Source Finite-Element Library
Project description
Akantu
: Swiss-Made Open-Source Finite-Element Library
Akantu
means a little element in Kinyarwanda, a Bantu language. From now on it
is also an open- source object-oriented library which has the ambi- tion to be
generic and efficient.
Building Akantu
Dependencies
In order to compile Akantu
any compiler supporting fully C++14 should work.
In addition some libraries are required:
- CMake (>= 3.5.1)
- Boost (preprocessor and Spirit)
- zlib
- blas/lapack
For the python interface:
- Python (>=3 is recommended)
- pybind11 (if not present the build system will try to download it)
To run parallel simulations:
- MPI
- Scotch
To use the static or implicit dynamic solvers at least one of the following libraries is needed:
- MUMPS (since this is usually compiled in static you also need MUMPS dependencies)
- PETSc
To compile the tests and examples:
- Gmsh
- google-test (if not present the build system will try to download it)
On .deb
based systems
> sudo apt install cmake libboost-dev libzlib-dev liblapack3 gmsh
# For parallel
> sudo apt install mpi-default-dev libmumps-dev
# For sequential
> sudo apt install libmumps-seq-dev
Configuring and compilation
Akantu
is a CMake project, so to configure it, you can follow the usual way:
> cd akantu
> mkdir build
> cd build
> ccmake ..
[ Set the options that you need ]
> make
> make install
Using the python interface
You can install Akantu
using pip:
> pip install akantu
You can then import the package in a python script as:
import akantu
The python API is similar to the C++ one. If you encounter any problem with the python interface, you are welcome to do a merge request or post an issue on GitLab.
Tutorials with the python interface
To help getting started, multiple tutorials using the python interface are
available as notebooks with pre-installed version of Akantu
on Binder. The
following tutorials are currently available:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for akantu-4.0.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 56e2a5b59cbc365a747b050f55b99ea8fc8a08a409260f1500ac8e895281b4e7 |
|
MD5 | 979dec325d62de318d25f54083abb192 |
|
BLAKE2b-256 | 7ce520c7781384bdb3baf44e6c8b4cceb71b3324d5dbb60de76b0c7ee8b5bdf5 |
Hashes for akantu-4.0.1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c53e3c1339756586da3e3d353577875dc8a39e0a9091de0885b369d91752bc |
|
MD5 | 193aa21b860d93c5747d192e353b1798 |
|
BLAKE2b-256 | 7e5873f5b541c21ca55a48d07d5535497e0445e5aa1e50c4b1db3e65e994c381 |
Hashes for akantu-4.0.1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ab710c11f3e3e0e248df042f2e853a86902d74f322e7750398d9c0117eb4cd3 |
|
MD5 | 7963c5530bb8d6b55882288b6dfc10c2 |
|
BLAKE2b-256 | 06c4c071e84ba6312505a2363a0255548ab7ae603945469b5be3529722db946b |
Hashes for akantu-4.0.1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1336a9a6ac3e163fe9d13b14d2c2285802a5ae26f69eab3f7dd16bbf038dfb44 |
|
MD5 | d3e2fc9215f067bf0da29736f37c2de6 |
|
BLAKE2b-256 | c424b572b310a477f7e360e46fec6e18462917e3f92946d3727836011f0776fe |
Hashes for akantu-4.0.1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9415d775e7ad05e77914fcfcf292da2eb6e7b80a27d35efa26036e3ea7a3131 |
|
MD5 | 91e844efd461119603aabf4a3ca66eba |
|
BLAKE2b-256 | a127870843ef51168235762182bcb43190375d16520213f0daead3601570db12 |