mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
adding WellModel as template class for BlackoilModelBase
the compilation and running of flow are recovered. Conflicts: opm/autodiff/BlackoilModelBase_impl.hpp
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include <opm/autodiff/BlackoilModelBase.hpp>
|
||||
#include <opm/core/simulator/BlackoilState.hpp>
|
||||
#include <opm/autodiff/WellStateFullyImplicitBlackoil.hpp>
|
||||
#include <opm/autodiff/StandardWells.hpp>
|
||||
#include <opm/autodiff/BlackoilModelParameters.hpp>
|
||||
|
||||
namespace Opm {
|
||||
@@ -40,10 +41,10 @@ namespace Opm {
|
||||
/// It uses automatic differentiation via the class AutoDiffBlock
|
||||
/// to simplify assembly of the jacobian matrix.
|
||||
template<class Grid>
|
||||
class BlackoilModel : public BlackoilModelBase<Grid, BlackoilModel<Grid> >
|
||||
class BlackoilModel : public BlackoilModelBase<Grid, BlackoilModel<Grid>, StandardWells>
|
||||
{
|
||||
public:
|
||||
typedef BlackoilModelBase<Grid, BlackoilModel<Grid> > Base;
|
||||
typedef BlackoilModelBase<Grid, BlackoilModel<Grid>, StandardWells> Base;
|
||||
|
||||
/// Construct the model. It will retain references to the
|
||||
/// arguments of this functions, and they are expected to
|
||||
|
||||
Reference in New Issue
Block a user