20 #ifndef OPM_TRANSPORTSOLVERTWOPHASEAD_HEADER_INCLUDED
21 #define OPM_TRANSPORTSOLVERTWOPHASEAD_HEADER_INCLUDED
25 #include <opm/core/transport/TransportSolverTwophaseInterface.hpp>
28 struct UnstructuredGrid;
33 class IncompPropertiesInterface;
34 class LinearSolverInterface;
35 namespace parameter {
class ParameterGroup; }
49 const IncompPropertiesInterface& props,
50 const LinearSolverInterface& linsolver,
51 const double* gravity,
52 const parameter::ParameterGroup& param);
65 virtual void solve(
const double* porevolume,
68 TwophaseState& state);
76 const UnstructuredGrid& grid_;
77 const IncompPropertiesInterface& props_;
78 const LinearSolverInterface& linsolver_;
83 std::vector<int> allcells_;
89 #endif // OPM_TRANSPORTSOLVERTWOPHASEAD_HEADER_INCLUDED
Eigen::Array< Scalar, Eigen::Dynamic, 1 > V
Underlying type for values.
Definition: AutoDiffBlock.hpp:98
Definition: AdditionalObjectDeleter.hpp:22
TransportSolverTwophaseAd(const UnstructuredGrid &grid, const IncompPropertiesInterface &props, const LinearSolverInterface &linsolver, const double *gravity, const parameter::ParameterGroup ¶m)
Definition: AutoDiffMatrix.hpp:43
virtual void solve(const double *porevolume, const double *source, const double dt, TwophaseState &state)
Definition: AutoDiffHelpers.hpp:40
virtual ~TransportSolverTwophaseAd()
Definition: TransportSolverTwophaseAd.hpp:39