OP2/PyOP2 — pull request #33 by gsigms (2012-08-13 16:23:00+00:00)
Title: configuration : initial

addresses issues:
- https://github.com/OP2/PyOP2/issues/23
- https://github.com/OP2/PyOP2/issues/21

add configuration support to op2 (see pyop2/configuration.py)
add support code for argument parsing in demos (see pyop2/utils.py)
parametrize backend for generated code dumping to file
parametrize demos for backend selection
```
python demo/airfoil.py --backend opencl
python demo/airfoil.py --opconfig openmp-config.yaml
```
As an example, it parametrizes Jacobi demo for
- single/double precision
- parametrize Jacobi demo for variable iteration count

```
python demo/jacobi.py --backend opencl --single -n 10
```