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.1rc1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88ee80cb0ca911e57dea44dd7fdca60c291e9dff4fbd7bd4e44cf5549d91d71 |
|
MD5 | 527eeec14ccf1b17157f88bf5aab1379 |
|
BLAKE2b-256 | f01807d2e7a3b069064be4648c49ce9523ad79593c7cbc94c073070c72df5c55 |
Hashes for akantu-4.0.1rc1-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c077d3211f03d9883d478c11bddbb89cb70e35fa40d28d2f55dd87bb9d10538e |
|
MD5 | 47fc0cca0544143670d06ffeb12b0c5c |
|
BLAKE2b-256 | b7898b7540ac1a80c3985a29cc331bd0d2a46dd252228f63f76de8eb4bb9462c |
Hashes for akantu-4.0.1rc1-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74e0f38f5e5a1335e5fb6d937c11fba95554e989662e80d63b229be99e63b222 |
|
MD5 | 27418db75a98af1401922c2f9823f5b6 |
|
BLAKE2b-256 | 57dc09050e8f7f24d2554bfd18b689eb3abeb4b0e2611b427cd300475c9002c5 |
Hashes for akantu-4.0.1rc1-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f364080e47f3f65983a30435e198115d0c8907cb7c333525badd6052933faf2 |
|
MD5 | dc6eeef569edfcf67d674d212b734048 |
|
BLAKE2b-256 | 855c44203dfc6e8838aa8103af339882752be42d5660ee6a14ed1a9ae9e9a81a |
Hashes for akantu-4.0.1rc1-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a71e71ae44944a743358f0e13d9be116ea3c57a7661054fdb58129d77af3bd8b |
|
MD5 | 4597a082686ca2b8336c79ab8e3910f2 |
|
BLAKE2b-256 | c26486adc783b94d8bc9bc17764d648abb4b4d85d009ac9eaa2cc78eadb1509e |