Merge pull request #125 from atgeirr/add-dummy-types

Satisfy interface requirements of SimulatorBase.
This commit is contained in:
Bård Skaflestad 2015-06-10 13:52:28 +02:00
commit bfd9071307
2 changed files with 8 additions and 0 deletions

View File

@ -88,6 +88,9 @@ namespace Opm {
int newtonIterations() const;
int linearIterations() const;
/// Not used by this class except to satisfy interface requirements.
typedef parameter::ParameterGroup SolverParameters;
private:
typedef AutoDiffBlock<double> ADB;
typedef ADB::V V;

View File

@ -79,6 +79,11 @@ namespace Opm
typedef BlackoilOutputWriter OutputWriter;
typedef GridT Grid;
typedef FullyImplicitCompressiblePolymerSolver Solver;
/// Dummy class, this Solver does not use a Model.
struct Model
{
typedef parameter::ParameterGroup ModelParameters;
};
};
/// Class collecting all necessary components for a two-phase simulation.