mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Satisfy interface requirements of SimulatorBase.
This is done with dummy types since the class in question (SimulatorFullyImplicitCompressiblePolymer) does not use a Model/Solver split.
This commit is contained in:
parent
39ec480ce2
commit
8d47acd6bf
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user