From 5d8d405c339c5f60bedf75a9631b6878326696f1 Mon Sep 17 00:00:00 2001 From: Ishaan Desai Date: Thu, 31 Oct 2024 14:10:33 +0100 Subject: [PATCH] Add CHANGELOG enty and a small comment in the pyFANS test script --- CHANGELOG.md | 4 ++++ test/test_pyfans/run_fans_as_library.py | 10 +++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d3656e..3d696c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # FANS Changelog +## latest + +- Build FANS as a library to be coupled to a macro-scale simulation via preCICE and the Micro Manager https://github.com/DataAnalyticsEngineering/FANS/pull/23 + ## v0.3.0 - Added Linear thermal and mechanical triclinic material models https://github.com/DataAnalyticsEngineering/FANS/pull/32 diff --git a/test/test_pyfans/run_fans_as_library.py b/test/test_pyfans/run_fans_as_library.py index 31f6c5b..4df20af 100644 --- a/test/test_pyfans/run_fans_as_library.py +++ b/test/test_pyfans/run_fans_as_library.py @@ -1,15 +1,11 @@ +""" +Run FANS as a Python callable library. +""" import PyFANS as fans import numpy as np # from mpi4py import MPI -""" -Run FANS from python. For mechanical simulations, import PyFANS. For thermal simulations, use PyFANSTHERMAL. -To be able to run the code, the python bindings must be compiled with the correct flags to initialize MPI. -Move to a build directory and run cmake with the following flags: -cmake -DUSE_MPI=ON .. -""" - # MPI.Init() micro = fans.MicroSimulation(1)