Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build FANS as a library to be coupled to a macro-scale simulation via…
… preCICE and the Micro Manager (#23) * add new features to CMakeLists.txt and adapt modern best practices * Add Language C to project to allow HDF5 to compile its C parts * Add autoformat file for CMake, Presets and a Doxyfile * remove unnecessary includes and links, replace linker flag by cmake command for GNU math lib * replace -fopenmp by modern CMake way * move compiler options to target based locations * Use FFTW3 find script and find_package(MPI) * add FindFFTW3.cmake (was hidden by .git ignore before) * change output name of shared lib from libFANS_FANS.so to libFANS.so * ignore .cmake folder generated by CLion * Dockerfile for containerized build and publishable standalone selfcontained FANS container * add another container stage for dev-env, add docker.yaml github action and update readme accordingly. * fix typo * fix missing CMD start command for container dev-env * Make use of auto-determined dependencies in runtime docker image (reduces size from 495MB to 161MB). Also add dev deps to dev package explicitly. And update docker.yaml workflow * Set up cross-compilation for arm64 using Docker buildx * fix COMPONENT_PACKAGE_DEPENDS (needs to be uppercase), and add openmpi-bin to runtime deps * rename packages and edit descriptions * Add CI workflow to build and package FANS * update version of publish artifacts action * Add remaining dependencies to FANSConfig.cmake and include FindFFTW3.cmake in install step * run autoformat * Reoarganize CMake files, fix install calls, add found message * remove COMPONENT statement in install(TARGETS ... INCLUDES) since that's not supported there and erraneously add include paths called COMPONENT * cmake overhaul * Add Docker images for building FANS and instructions in the README.md * clean up comments * Add Github Actions workflow to build and publish docker images fans-ci and fans-dev * upgrade to latest LTS ubuntu * rename docker github action yaml + fix dockerfile * add workflow to build FANS * Rename build workflow to CI and add a job for packaging FANS * instead of putting the FANS executable in the test/ dir, just symlink it * temporarily disable arm64 support since it takes super long to run * add debug output * use just one job to avoid complicated data exchange between jobs * add fans docker image + github actions workflow * make build variable dir in actions + streamline dockerfile of fans image * add support for older ubuntu versions * escape & sign in Dockerfile RUN command * fix typo * add support for different ubuntu LTS versions * use matrix also for arch in docker helpers workflow * put variables in brackets * also use matrix.arch in fans docker image * fix weird escape error that occurs when switching ubuntu versions * fix comment * remove focal as it causes some CPack error * use correct variable substitution syntax * variable substitution * add ubuntu version to name of artifact * make detection if project is top level compatible with older CMake versions * reactivate focal again after fix * use explicit path instead of dot * Make IPO handling compatible with CMake 3.0 * Add max version to cmake_mininum_required() to indicate that we don't rely on old behaviour but support old versions * make detection if project is top level compatible with older CMake versions * fix RPATH settings * update README.md * fix link * remove commas in package lists * restructure Installation section and add link to prebuilt packages * move docker section of README.md into docker/ dir * add section part to link * replace multiple docker run commands by docker create + docker exec * fix docker exec call * updated h5 to xdmf viz pipeline * Fix path to filename in 3d0_MFL * small changes * can provide keyword for temporal dataset group names * Adapt FANS for MM initial commit * Adapt FANS further * fix quotation mark * fix quotation mark * provide users with a cache option for enabling packaging * Micro manager python bindings * add symlink to test directory for convenience * Move Micro Manager input files * Add Micro Manager input files * Little tweaks on the MM version * Running Micro Manager version of FANS * Change Class descriptions * Clean up * Fix building of bindings * CMake edit temporarily * Formatting * restructure micromanager part of CMakeLists.txt file * Align with current state on develop branch * Remove unnecessary code and get homogenized stress only by access * Remove thermal micro simulation code as it is just a copy of the mechanics code * Remove duplicate micro.hpp from include/ * Remove more redundant code and fix types * Streamline code in micro.hpp and micro.cpp * A first implementation of numerically calculating the tangent stiffness matrix. NOT WORKING * First working version with logically correct stiffness matrix C * Bump clang-format version in pre-commit config * Formatting * Rename folder with content for micro library to pyfans * Remove files related to thermal test of micro simulation library * Replace Eigen Matrix row.begin and row.end with simpler functionality * Remove MPI initialization * Initial restructuring of pyfans test, and remove the numerical computation of the material tangent in the lib files * Remove h5 file and revert inadvertant changes to input file * Add documentation and test CI for pyFANS * Working GitHub Action to test pyFANS * Add CHANGELOG enty and a small comment in the pyFANS test script * Remove stale input.json from test/ * Explicitly mention what type of FANS library is being compiled Co-authored-by: Moritz Sigg <[email protected]> * Incorporate review comments * Remove unnecessary parts from pyfans/CmakeLists.txt * Hardcode mechanical model and solver because delaying variable definitions are hacky * Incorporate feedback regarding the test * Remove unnecessary code * One empty entry in macroscale_loading should be sufficient --------- Co-authored-by: Moritz Sigg <[email protected]> Co-authored-by: Moritz Sigg <[email protected]> Co-authored-by: ac133718 <[email protected]> Co-authored-by: Torben Schiz <[email protected]> Co-authored-by: Sanath Keshav <[email protected]>
- Loading branch information