Mentions légales du service

Skip to content
Snippets Groups Projects
README.md 862 B
Newer Older
Martin Genet's avatar
Martin Genet committed
# dolfin_dic
A set of FEniCS- and VTK-based python tools for Finite Element Digital Image Correlation.
Martin Genet's avatar
Martin Genet committed
### Requirements
First you need to install [myPythonLibrary](https://gitlab.inria.fr/mgenet/myPythonLibrary) as well as [myVTKPythonLibrary](https://gitlab.inria.fr/mgenet/myVTKPythonLibrary). You also need a working installation of FEniCS (including DOLFIN python interface) & VTK (also including python interface).
Martin Genet's avatar
Martin Genet committed
### Installation
Get the code:
```
git clone https://gitlab.inria.fr/mgenet/dolfin_dic.git
Martin Genet's avatar
Martin Genet committed
```
To be able to load the library within python, the simplest is to add the folder containing `dolfin_dic` to the `PYTHONPATH` environment variable:
Martin Genet's avatar
Martin Genet committed
```
export PYTHONPATH=$PYTHONPATH:/path/to/folder
Martin Genet's avatar
Martin Genet committed
```
Martin Genet's avatar
Martin Genet committed
(To make this permanent, add the line to `~/.bashrc`.)
Then you should be able to load the library within python:
Martin Genet's avatar
Martin Genet committed
```
Martin Genet's avatar
Martin Genet committed
import dolfin_dic as ddic