rAKA/dc73cc98c872features/contact…
features/contact-unification vs master
Commit | Author | Details | Committed | ||||
---|---|---|---|---|---|---|---|
e3fbf158ae88 | ploumhans | WIP contact detector unification | Nov 1 2022 | ||||
721b8275b4bc | ploumhans | Add back contact checks on the slave side | Oct 12 2022 | ||||
38baae6176d4 | ploumhans | Remove try/catch for sparse access | Oct 11 2022 | ||||
a7295315d214 | FMatti | Add constants to function arguments | Oct 11 2022 | ||||
556e668524cf | Bruno Ploumhans | Remove useless variables | Oct 10 2022 | ||||
a3ac634f3e61 | FMatti | Adress review comments and minor bug fix | Oct 6 2022 | ||||
5fffc8c03704 | Bruno Ploumhans | Move matrix assemblt to assembleInternodesMatrix | Oct 6 2022 | ||||
2a7946c5a084 | Bruno Ploumhans | Remove allocation inside computeDistancesToRefNode | Oct 6 2022 | ||||
80134dae7fd9 | richart | Merge branch 'master' into features/40-contact-using-the-internodes-method | Jun 30 2022 | ||||
d7b1e0587b76 | waldleben | more comments and cleaning for internodes | Jun 24 2022 |
/
README.md
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
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
Configuring and compilation
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
Using the python interface
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.
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: