Fix error in OldBcdInput.
Optimization of DarcyFlow gravity vector.

- use non-static variable for this vector
- allow specification at input