mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
AquiferInterface: use Scalar type
This commit is contained in:
parent
226799ea15
commit
7e86106ecc
@ -37,6 +37,7 @@ public:
|
||||
using FluidSystem = GetPropType<TypeTag, Properties::FluidSystem>;
|
||||
using RateVector = GetPropType<TypeTag, Properties::RateVector>;
|
||||
using Simulator = GetPropType<TypeTag, Properties::Simulator>;
|
||||
using Scalar = GetPropType<TypeTag, Properties::Scalar>;
|
||||
|
||||
// Constructor
|
||||
AquiferInterface(int aqID,
|
||||
@ -58,8 +59,8 @@ public:
|
||||
|
||||
virtual data::AquiferData aquiferData() const = 0;
|
||||
|
||||
virtual void computeFaceAreaFraction(const std::vector<double>& total_face_area) = 0;
|
||||
virtual double totalFaceArea() const = 0;
|
||||
virtual void computeFaceAreaFraction(const std::vector<Scalar>& total_face_area) = 0;
|
||||
virtual Scalar totalFaceArea() const = 0;
|
||||
|
||||
template <class Context>
|
||||
void addToSource(RateVector& rates,
|
||||
|
Loading…
Reference in New Issue
Block a user