... | ... | @@ -74,7 +74,7 @@ export PYTHONPATH=$PYTHONPATH:/home/andreas/Dune/build-release/duneuro-py/src |
|
|
```
|
|
|
Note that you need to modify the above path to your local directory.
|
|
|
|
|
|
Withon the python script, we use `numpy` to perform error calculations. To install it, call
|
|
|
Within the python script, we use `numpy` to perform error calculations. To install it, call
|
|
|
```bash
|
|
|
pip install --user numpy
|
|
|
```
|
... | ... | @@ -86,4 +86,8 @@ Finally, we can run the script: |
|
|
```bash
|
|
|
python sphere.py
|
|
|
```
|
|
|
The last line of the output should give you the relative errors in percent for this specific (very coarse) sphere model and (simple) finite element method that was used. |
|
|
\ No newline at end of file |
|
|
The last line of the output should give you the relative errors in percent for this specific (very coarse) sphere model and (simple) finite element method that was used.
|
|
|
|
|
|
## Other example scripts
|
|
|
|
|
|
[[https://gitlab.dune-project.org/duneuro/duneuro-py/snippets | Here]] you will find other example scripts in python and matlab. |
|
|
\ No newline at end of file |