*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
user avatar
authored

ngMultiScale

Documentation

link to documentation

Dependency

ngsolve link

    pip install ngsolve

Getting started with the Netgen/NGSolve extension

Ubuntu

  1. download the files

     git clone https://gitlab.tuwien.ac.at/valentin.hanser/ngmultiscale.git
  2. run

     cd ngmultiscale
     ./install.sh
  3. (if only some parts are needed edit the options in ./C++/cmake/CMakeList )

  4. run an example

    python3 ./python/pythonExamples/MS_linear3d/exp_A_linear_3d.py

Windows

  1. download the files

     git clone https://gitlab.tuwien.ac.at/valentin.hanser/ngmultiscale.git
  2. run

     cd ngmultiscale/C++/cmake
     mkdir build
     cd build
     cmake .. 
     make 
     make install
  3. (if only some parts are needed edit the options in ./C++/cmake/CMakeList )

  4. run an example

    python3 ./python/pythonExamples/MS_linear3d/exp_A_linear_3d.py

Using the Preisach models as libary for C++

  1. download the files
  2. add "../C++/preiasch" to PATH variable
  3. write a minimal C++ program #include "preisachScalar/preisach.h" #include int main(){ ev = return 0; }