diff --git a/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/pressureadaptive.hh b/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/pressureadaptive.hh index 0a8bf5a15a2fd7153387965706f7280831d610c4..6ce09e210b1ce9ab73bce65d460df391101b14fb 100644 --- a/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/pressureadaptive.hh +++ b/dumux/porousmediumflow/2p/sequential/diffusion/cellcentered/pressureadaptive.hh @@ -75,17 +75,19 @@ template<class TypeTag> class FVPressure2PAdaptive: public FVPressure2P<TypeTag> wPhaseIdx = Indices::wPhaseIdx, nPhaseIdx = Indices::nPhaseIdx, numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; - enum - { - rhs = ParentType::rhs, matrix = ParentType::matrix - }; - typedef typename GridView::Intersection Intersection; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; typedef Dune::FieldMatrix<Scalar, dim, dim> FieldMatrix; +protected: + //! \cond \private typedef typename ParentType::EntryType EntryType; + enum + { + rhs = ParentType::rhs, matrix = ParentType::matrix + }; + //! \endcond public: // Function which calculates the flux entry