Merge pull request #6 from laods/master

Fix documentation of IncompFlowSolverHybrid::solve()
Change solve() methods' argument order.

The new arguments added for better control of the linear solver were not placed
last in the argument list, rendering some existing calls incorrect. Argument
order is now restored so that the majority of calls are correct again.

The only known call rendered incorrect by this is in opm-upscaling, and is handled
in that repository.
Merge pull request #9 from atgeirr/master

Change argument order of solve() methods
Bugfix: Moved scoped_ptr from method to class

Previously calling the linear iterative solve with the samematrix flag set
to true crashed in an assertion within boost, because the pointer was null.
Making the variable a class variable fixes this.
Use a typedef with name PrecondBase (instead of Precond) in the class scope to make the difference
to the typedef with name Precond in the local functions more apparent.
Use dynamic_cast for improved type checking.
Merge pull request #10 from blattms/amg-scoped-ptr

Bugfix: Moved scoped_ptr variable from method to class to prevent crash
Set beta to a very low value. The beta threshold is used to identify
isolated vertices. Having to many of these breaks the coarse grid
approximation property. An alternative would be to used skipIsolated in the
AMG criterion, but there is a bug in the dune-istl release.

Using the above approach has nearly the same effect and make upscale_perm a
lot faster for the problems provided by Lars.
Merge pull request #11 from blattms/amg-beta-skip

Improve handling of isolated nodes
Add writing of EGRID file from setupGridsAndProps().

Only writes EGRID if parameter output_ecl is true.
Will abort if used without ERT support in opm-core.
Merge pull request #12 from atgeirr/master

Write EGRID from setupGridAndProps.
Changed use of boost filesystem lib for backwards compatibility.

The current version should compile and work with v2 and v3 of Boost.Filesystem.
Notes:
 - There is a bug in replace_extension() for v3, one must include the '.' in
   the extension. Worked around by using ".FEGRID" (which includes the dot).
 - v2 is no longer available since Boost 1.48 and cannot be used.
 - v3 is available starting from 1.44, and default from 1.46.
 - We do not need to define the BOOST_FILESYSTEM_VERSION macro, since the
   syntax chosen works with both v2 and v2.
 - In the future, we may need to use v3 features, and support Boost 1.44 and
   1.45 by defining the version macro. This will drop support for 1.43 and lower.
Merge pull request #14 from atgeirr/master

Change use of Boost.Filesystem
change namespace from Dune to Opm
fix some fallout of the Dune->Opm conversion

the class->struct change avoids a CLang warning, the second change is
a class that is not tested within opm-porsol but required for opm-upscaling.
Merge pull request #18 from andlaus/fix_fallout

fix some fallout of the Dune->Opm conversion
Use path references from the root of the project

It becomes harder to move the directory around, but it now works equally
well with both recursive and non-recursive build systems.
Move test programs out of the source tree
Import cmake/ from commit 5f82198c in opm-core
Remove opm-core specific customizations
Search and replace opm-core with dune-cornerpoint

Add dependencies that are specific for this library as well as doing
the textual replacement in the configuration file.