https://github.com/spirit-code/spinview
GUI for post-processing of spin simulations
https://github.com/spirit-code/spinview
Last synced: about 1 year ago
JSON representation
GUI for post-processing of spin simulations
- Host: GitHub
- URL: https://github.com/spirit-code/spinview
- Owner: spirit-code
- License: mit
- Created: 2018-10-15T14:10:24.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-10-09T15:44:17.000Z (over 6 years ago)
- Last Synced: 2025-04-13T20:45:42.513Z (about 1 year ago)
- Language: Python
- Size: 30.3 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# spinView
GUI for post-processing of spin simulations
## Dependencies
* [NanoGUI](https://github.com/wjakob/nanogui)
* [VFRendering](https://pypi.org/project/pyVFRendering/)
* [OVF parser](https://pypi.org/project/ovf/)
## How to build
While VFRendering and OVF both have Python packages available, nanogui currently
needs to be built and so one can just as well build them all.
```bash
# VFRendering
git clone --recurse-submodules https://github.com/FlorianRhiem/VFRendering
cd VFRendering && mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_BINDINGS=ON
cmake --build . --config Release
cd ../..
# Nanogui
git clone --recurse-submodules https://github.com/wjakob/nanogui
cd nanogui && mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DNANOGUI_BUILD_EXAMPLE=OFF -DNANOGUI_BUILD_SHARED=OFF
cmake --build . --config Release
cd ../..
# OVF
git clone https://github.com/spirit-code/ovf
cd ovf && mkdir -p build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release -DOVF_BUILD_PYTHON_BINDINGS=ON -DOVF_BUILD_TEST=OFF
cmake --build . --config Release
cd ../..
```