diff --git a/dumux/decoupled/2p2c/fvtransport2p2c.hh b/dumux/decoupled/2p2c/fvtransport2p2c.hh index 17ef95f1ac47ab3fccfe8dd386d5ac1479a7c9bc..ef96e96746c07da2731d243c9c5c0aa467bf4ba0 100644 --- a/dumux/decoupled/2p2c/fvtransport2p2c.hh +++ b/dumux/decoupled/2p2c/fvtransport2p2c.hh @@ -111,16 +111,6 @@ public: template<class MultiWriter> void addOutputVtkFields(MultiWriter &writer) { -#if DUNE_MINIMAL_DEBUG_LEVEL <= 3 - // add debug stuff - Dune::BlockVector<Dune::FieldVector<double,1> > *potentialDifferenceW = writer.template createField<double, 1> (problem_.variables().gridSize()); - *potentialDifferenceW = potential_[wPhaseIdx]; - writer.addCellData(potentialDifferenceW, "potentialDifferenceW pre/post pressure"); - Dune::BlockVector<Dune::FieldVector<double,1> > *potentialDifferenceNW = writer.template createField<double, 1> (problem_.variables().gridSize()); - *potentialDifferenceNW = potential_[nPhaseIdx]; - writer.addCellData(potentialDifferenceNW, "potentialDifferenceNW pre/post pressure"); -#endif - return; } @@ -154,10 +144,6 @@ public: { DUNE_THROW(Dune::NotImplemented, "Velocity type not supported!"); } - - potential_.resize(2); - potential_[0].resize(problem_.variables().gridSize()); - potential_[1].resize(problem_.variables().gridSize()); } ~FVTransport2P2C() @@ -167,8 +153,6 @@ public: private: Problem& problem_; - TransportSolutionType potential_; - static const int pressureType = GET_PROP_VALUE(TypeTag, PTAG(PressureFormulation)); //!< gives kind of pressure used (\f$ 0 = p_w \f$, \f$ 1 = p_n \f$, \f$ 2 = p_{global} \f$) bool switchNormals; }; diff --git a/dumux/decoupled/2p2c/variableclass2p2c.hh b/dumux/decoupled/2p2c/variableclass2p2c.hh index 98dda3ea15271ab9d8716e2347abe28434c35562..ee2f0894de48495a7179e164a60edf550f0033fc 100644 --- a/dumux/decoupled/2p2c/variableclass2p2c.hh +++ b/dumux/decoupled/2p2c/variableclass2p2c.hh @@ -329,31 +329,6 @@ public: return saturation_[Idx][0]; } - //! Return vector of wetting phase potential gradients - /*! \param Idx1 Element index - * \param isIdx Intersection index */ - Scalar& potentialWetting(int Idx1, int isIdx) - { - return this->potential(Idx1, isIdx)[wPhaseIdx]; - } - //! \copydoc Dumux::VariableClass2P2C::potentialWetting() - const Scalar& potentialWetting(int Idx1, int isIdx) const - { - return this->potential(Idx1, isIdx)[wPhaseIdx]; - } - //! Return vector of nonwetting phase potential gradients - /*! \param Idx1 Element index - * \param isIdx Intersection index */ - Scalar& potentialNonwetting(int Idx1, int isIdx) - { - return this->potential(Idx1, isIdx)[nPhaseIdx]; - } - //! \copydoc Dumux::VariableClass2P2C::potentialNonwetting() - const Scalar& potentialNonwetting(int Idx1, int isIdx) const - { - return this->potential(Idx1, isIdx)[nPhaseIdx]; - } - //! Return vector of wetting phase mobilities /*! \param Idx Element index*/ Scalar& mobilityWetting(int Idx)