Added abstract class BlackoilPropsAdInterface.

Also made BlackoilPropsAd (the class wrapping opm-core BlackoilPropertiesInterface)
inherit from it.
This commit is contained in:
Atgeirr Flø Rasmussen
2013-05-22 10:56:14 +02:00
parent f2f83fee32
commit 27cd7cf19e
4 changed files with 275 additions and 1 deletions
+2 -1
View File
@@ -20,6 +20,7 @@
#ifndef OPM_BLACKOILPROPSAD_HEADER_INCLUDED
#define OPM_BLACKOILPROPSAD_HEADER_INCLUDED
#include <opm/autodiff/BlackoilPropsAdInterface.hpp>
#include <opm/autodiff/AutoDiffBlock.hpp>
#include <opm/core/props/BlackoilPhases.hpp>
@@ -37,7 +38,7 @@ namespace Opm
/// taking an AD type and returning the same. Derivatives are not
/// returned separately by any method, only implicitly with the AD
/// version of the methods.
class BlackoilPropsAd
class BlackoilPropsAd : public BlackoilPropsAdInterface
{
public:
/// Constructor wrapping an opm-core black oil interface.