Merge branch 'bugfixes/version-detection-in-ci' into 'master'
Debugging the version detection in the CI
Merge branch 'bugfixes/create_matrices_if_needed_by_user' into 'master'
Merge branch 'bugfixes/multiple_small_bug_in_contact_mechanics' into 'master'
keeping old version but marking it deprecated
Changing the version from real to int to avoid exact real comparaison
extanding python group interface
Setting properly the model type in contact coupler
Bu fix in the material selector
Creating submodule for debug and cleaning debug code
Merge branch 'features/structural_mechanics_lumped_mass' into 'master'
Running clang-format for code quality checks
Merge branch 'features/structural_mechanics_lumped_mass' of gitlab.com…
Merge branch 'master' into 'features/structural_mechanics_lumped_mass'
Update .gitlab-ci.yml file
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.
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)
For the python interface:
- Python (>=3 is recommended)
- pybind11 (if not present the build system will try to download it)
To run parallel simulations:
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)
To compile the tests and examples:
- google-test (if not present the build system will try to download it)
sh > 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
Akantu is a CMake project, so to configure it, you can follow the usual way:
sh > cd akantu > mkdir build > cd build > ccmake .. [ Set the options that you need ] > make > make install
You can install `Akantu` using pip:
sh > pip install akantu
You can then import the package in a python script as:
python 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.
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: