blattms/opm-autodiff — pull request #2 by bska (2014-04-10 10:32:36+00:00)
Title: Fix build in !HAVE_DUNE_CORNERPOINT case

This change-set is a roll-up of the modifications I had to do make the "refactor-for-cpgrid-support" branch build *without* dune-cornerpoint support.

Commit 688d65e fixes a real problem. The nesting of a namespace-closing brace was wrong with respect to an "#endif" statement. Similarly, commit 0f98ce7 fixes a simple syntax error--possibly arising as a result of a mismerge. Commits 897a33c and fdca540 bring new features. The former adds support for older versions of Dune (e.g., 2.2.1) and the latter ports "sim_fibo_ad_cp.cpp" completely to the new parser in module "opm-parser" by using the "GridManager"'s `createGrdecl()` function to build the intermediate information required by `CpGrid::processEclipseFormat()`. Finally, commit 1cbffa0 fixes a memory leak I introduced when converting to use the `createGrdecl()` function.