diff --git a/dumux/decoupled/2p/diffusion/fv/fvpressure2p.hh b/dumux/decoupled/2p/diffusion/fv/fvpressure2p.hh index 765b5e0669e0b012e556cd46f561f2c94615d9d7..28cfd15febdee7bc5d7dac0fce64ccd4a588cd3f 100644 --- a/dumux/decoupled/2p/diffusion/fv/fvpressure2p.hh +++ b/dumux/decoupled/2p/diffusion/fv/fvpressure2p.hh @@ -298,8 +298,7 @@ public: * * Calculates secondary pressure variables and stores pressures. * - * \param globalIdx Global cell index - * \param cellData A CellData object + * \param element Grid element */ void storePressureSolution(const Element& element) { diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal2dpressurevelocity2p.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal2dpressurevelocity2p.hh index cc01cfc4d6f89edfe4d1dd4e8339844865ef40e9..4dcc68919309127570f852094b5f4cb59db53bea 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal2dpressurevelocity2p.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal2dpressurevelocity2p.hh @@ -845,7 +845,6 @@ void FvMpfaL2dPressureVelocity2p<TypeTag>::calculateVelocity() } } - Scalar potentialDiffW = (cellData.potential(wPhaseIdx) - potentialBoundW) / dist; Scalar potentialDiffNW = (cellData.potential(nPhaseIdx) - potentialBoundNW) / dist; diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dinteractionvolumecontainer.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dinteractionvolumecontainer.hh index d0368aefcfd84004b34e9def4a8d9f6eef408865..6efe579a9e942a0837c84dba35c3fd2fad91aeac 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dinteractionvolumecontainer.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dinteractionvolumecontainer.hh @@ -64,7 +64,8 @@ class FvMpfaL3dInteractionVolumeContainer typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef typename GridView::Traits::template Codim<0>::Entity Element; typedef typename GridView::Traits::template Codim<dim>::Entity Vertex; diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2p.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2p.hh index dc471f0f64f87791089c9d7fa5f2b9ba92c89018..57bb073e04a117e9d8561d7e259107e3e8511ed3 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2p.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2p.hh @@ -78,9 +78,11 @@ class FvMpfaL3dPressure2p: public FVPressure<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; - typedef typename GET_PROP(TypeTag, SolutionTypes)::ScalarSolution ScalarSolutionType; + + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; + typedef typename SolutionTypes::ScalarSolution ScalarSolutionType; enum { diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2padaptive.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2padaptive.hh index 63d94b2b4ff58592066e749aa9c0fcf6d46ade34..5459ae32a44b999833cd6cf2b0fcb2e45d1fca6f 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2padaptive.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dpressure2padaptive.hh @@ -77,9 +77,11 @@ class FvMpfaL3dPressure2pAdaptive: public FvMpfaL3dPressure2p<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; - typedef typename GET_PROP(TypeTag, SolutionTypes)::ScalarSolution ScalarSolutionType; + + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; + typedef typename SolutionTypes::ScalarSolution ScalarSolutionType; enum { diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2p.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2p.hh index 3ce27bf8642d43c9323d31ba94dec0cf183bd920..d5b352bd2c79a402d9d1404727ebda8314ab11e2 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2p.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2p.hh @@ -61,9 +61,11 @@ template<class TypeTag> class FvMpfaL3dVelocity2p typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; + typedef typename GridView::Traits::template Codim<0>::Entity Element; typedef typename GridView::Grid Grid; typedef typename GridView::IndexSet IndexSet; diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2padaptive.hh b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2padaptive.hh index 100f35c663f8588b5a341a187617b5f07a2aba47..15674fa2f3b7ec257f75d6f2c166b55e4cd4fdce 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2padaptive.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/lmethod/fvmpfal3dvelocity2padaptive.hh @@ -61,7 +61,11 @@ template<class TypeTag> class FvMpfaL3dVelocity2pAdaptive: public FvMpfaL3dVeloc typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables;typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; + + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; + + typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; typedef typename GridView::Traits::template Codim<0>::Entity Element; typedef typename GridView::Grid Grid; diff --git a/dumux/decoupled/2p/diffusion/fvmpfa/omethod/fvmpfao2dvelocity2p.hh b/dumux/decoupled/2p/diffusion/fvmpfa/omethod/fvmpfao2dvelocity2p.hh index a385be3c1c4e3c69ba793e5aafd45824e8d8999f..572560cc0f5d920cc17ef0855db5daf779b0eb4b 100644 --- a/dumux/decoupled/2p/diffusion/fvmpfa/omethod/fvmpfao2dvelocity2p.hh +++ b/dumux/decoupled/2p/diffusion/fvmpfa/omethod/fvmpfao2dvelocity2p.hh @@ -60,7 +60,8 @@ template<class TypeTag> class FvMpfaO2dVelocity2P typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; typedef typename GridView::Traits::template Codim<0>::Entity Element; diff --git a/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2p.hh b/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2p.hh index f2ae0a5faf2afdf25cf371d555b49c896be6423d..1b397db8f3dffd2c96b3101a38c0329080f38016 100644 --- a/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2p.hh +++ b/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2p.hh @@ -68,7 +68,8 @@ class MimeticOperatorAssemblerTwoP: public CROperatorAssemblerTwoP<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; diff --git a/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2padaptive.hh b/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2padaptive.hh index 0053b64dec5488ead7eb73af7570b93a8aeaf8ba..89a0c96bdbb07cd1ecd9c950b324fd1d096d1c21 100644 --- a/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2padaptive.hh +++ b/dumux/decoupled/2p/diffusion/mimetic/mimeticoperator2padaptive.hh @@ -70,7 +70,8 @@ class MimeticOperatorAssemblerTwoPAdaptive : public CROperatorAssemblerTwoPAdapt typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; diff --git a/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2p.hh b/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2p.hh index 7df72976acd09fd85f4f9dc1b2621e0693d8d207..48849f1f3d06f6484702613988439cea66ea58ba 100644 --- a/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2p.hh +++ b/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2p.hh @@ -109,7 +109,8 @@ template<class TypeTag> class MimeticPressure2P typedef MimeticOperatorAssemblerTwoP<TypeTag> OperatorAssembler; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; - typedef typename GET_PROP(TypeTag, SolutionTypes)::ScalarSolution ScalarSolutionType; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::ScalarSolution ScalarSolutionType; typedef typename GET_PROP_TYPE(TypeTag, PressureCoefficientMatrix) Matrix; typedef typename GET_PROP_TYPE(TypeTag, PressureRHSVector) Vector; diff --git a/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2padaptive.hh b/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2padaptive.hh index 2a4449d5dd7473bd7a3ce8d7ac1c034fa99fbf64..162946c65855121591c823cc2165fe3416fef9b4 100644 --- a/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2padaptive.hh +++ b/dumux/decoupled/2p/diffusion/mimetic/mimeticpressure2padaptive.hh @@ -111,7 +111,8 @@ template<class TypeTag> class MimeticPressure2PAdaptive typedef MimeticOperatorAssemblerTwoPAdaptive<TypeTag> OperatorAssembler; typedef typename GET_PROP_TYPE(TypeTag, CellData) CellData; - typedef typename GET_PROP(TypeTag, SolutionTypes)::ScalarSolution ScalarSolutionType; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::ScalarSolution ScalarSolutionType; typedef typename GET_PROP_TYPE(TypeTag, PressureCoefficientMatrix) Matrix; typedef typename GET_PROP_TYPE(TypeTag, PressureRHSVector) Vector; diff --git a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume.hh b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume.hh index 837e0000a5a9a4d4ae1535902693703c5570f1c1..08ad7654f0602c916fb6f86972afb062892d6616 100644 --- a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume.hh +++ b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume.hh @@ -51,9 +51,8 @@ private: typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - ///@cond false - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; - ///@endcond + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef Dune::FieldVector<Scalar, dim> DimVector; typedef Dune::FieldVector<DimVector, dim> FieldVectorVector; diff --git a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3d.hh b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3d.hh index 4a5d621237e2387d201c376ec7928274566755bb..2652dda9a170c74a3a93f2f71c3d35ce1d344afa 100644 --- a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3d.hh +++ b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3d.hh @@ -118,7 +118,8 @@ private: typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef Dune::FieldVector<Scalar, dim> DimVector; typedef Dune::FieldVector<DimVector, dim> FieldVectorVector; diff --git a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3dadaptive.hh b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3dadaptive.hh index 55c2e899eecb9350559593b37d290ff1a14f6a22..973a58302997f75463cde8ccb8e49d7a763d8da5 100644 --- a/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3dadaptive.hh +++ b/dumux/decoupled/common/fv/mpfa/mpfalinteractionvolume3dadaptive.hh @@ -198,7 +198,8 @@ private: typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef Dune::FieldVector<Scalar, dim> DimVector; typedef Dune::FieldVector<DimVector, dim> FieldVectorVector; diff --git a/dumux/decoupled/common/fv/mpfa/mpfaointeractionvolume.hh b/dumux/decoupled/common/fv/mpfa/mpfaointeractionvolume.hh index 742f5e0d75e37ee7aac392a38bbe8c65d78e2a27..bd73029e679e76a6cdc292dd999765164e54ed5e 100644 --- a/dumux/decoupled/common/fv/mpfa/mpfaointeractionvolume.hh +++ b/dumux/decoupled/common/fv/mpfa/mpfaointeractionvolume.hh @@ -48,9 +48,8 @@ private: typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; - ///@cond false - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; - ///@endcond + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef Dune::FieldVector<Scalar, dim> DimVector; typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix; diff --git a/test/decoupled/2p/mcwhorteranalyticsolution.hh b/test/decoupled/2p/mcwhorteranalyticsolution.hh index fd507c57069fadc85cc6a94033a2e761ed9011a5..06f84e310579db59c83a7e4d0b5d563f8e06cfd5 100644 --- a/test/decoupled/2p/mcwhorteranalyticsolution.hh +++ b/test/decoupled/2p/mcwhorteranalyticsolution.hh @@ -53,7 +53,8 @@ class McWhorterAnalytic typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; - typedef typename GET_PROP(TypeTag, SolutionTypes)::PrimaryVariables PrimaryVariables; + typedef typename GET_PROP(TypeTag, SolutionTypes) SolutionTypes; + typedef typename SolutionTypes::PrimaryVariables PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;