ngMultiScale
Documentation
Dependency
ngsolve link
pip install ngsolve
Getting started with the Netgen/NGSolve extension
Ubuntu
-
download the files
git clone https://gitlab.tuwien.ac.at/valentin.hanser/ngmultiscale.git
-
run
cd ngmultiscale ./install.sh
-
(if only some parts are needed edit the options in ./C++/cmake/CMakeList )
-
run an example
python3 ./python/pythonExamples/MS_linear3d/exp_A_linear_3d.py
Windows
-
download the files
git clone https://gitlab.tuwien.ac.at/valentin.hanser/ngmultiscale.git
-
run
cd ngmultiscale/C++/cmake mkdir build cd build cmake .. make make install
-
(if only some parts are needed edit the options in ./C++/cmake/CMakeList )
-
run an example
python3 ./python/pythonExamples/MS_linear3d/exp_A_linear_3d.py
Using the Preisach models as libary for C++
- download the files
- add "../C++/preiasch" to PATH variable
- write a minimal C++ program #include "preisachScalar/preisach.h" #include int main(){ ev = return 0; }