diff --git a/dumux/common/fvproblem.hh b/dumux/common/fvproblem.hh index 9e213e57883ed6c7bb102957a00cac605c806f58..44aab53dac061ce889adfd66744b97a026e0ff82 100644 --- a/dumux/common/fvproblem.hh +++ b/dumux/common/fvproblem.hh @@ -56,8 +56,8 @@ class FVProblem using VertexMapper = typename GET_PROP_TYPE(TypeTag, VertexMapper); using FVGridGeometry = typename GET_PROP_TYPE(TypeTag, FVGridGeometry); using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry); - using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); - using SubControlVolumeFace = typename GET_PROP_TYPE(TypeTag, SubControlVolumeFace); + using SubControlVolume = typename FVElementGeometry::SubControlVolume; + using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; using BoundaryTypes = typename GET_PROP_TYPE(TypeTag, BoundaryTypes); using PointSource = typename GET_PROP_TYPE(TypeTag, PointSource); using PointSourceHelper = typename GET_PROP_TYPE(TypeTag, PointSourceHelper); diff --git a/dumux/common/pointsource.hh b/dumux/common/pointsource.hh index e320cb13828ea71b7cba0aed10402707528138fd..c260705940ffac322138d8f7280f20ae0181cf5f 100644 --- a/dumux/common/pointsource.hh +++ b/dumux/common/pointsource.hh @@ -56,7 +56,7 @@ class PointSource using Problem = typename GET_PROP_TYPE(TypeTag, Problem); using ElementVolumeVariables = typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables); using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry); - using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); + using SubControlVolume = typename FVElementGeometry::SubControlVolume; using Element = typename GridView::template Codim<0>::Entity; static const int dimworld = GridView::dimensionworld; @@ -218,7 +218,7 @@ class SolDependentPointSource : public PointSource<TypeTag> using Problem = typename GET_PROP_TYPE(TypeTag, Problem); using ElementVolumeVariables = typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables); using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry); - using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); + using SubControlVolume = typename FVElementGeometry::SubControlVolume; using Element = typename GridView::template Codim<0>::Entity; static const int dimworld = GridView::dimensionworld; diff --git a/dumux/common/staggeredfvproblem.hh b/dumux/common/staggeredfvproblem.hh index 68ecf0c5a623677ef7730eeb01564496b01bdf71..24857f03d43f5a761b0932571f3e685533b5bc5a 100644 --- a/dumux/common/staggeredfvproblem.hh +++ b/dumux/common/staggeredfvproblem.hh @@ -58,8 +58,9 @@ class StaggeredFVProblem : public FVProblem<TypeTag> using ElementSolutionVector = typename GET_PROP_TYPE(TypeTag, ElementSolutionVector); using ElementVolumeVariables = typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables); using Indices = typename GET_PROP_TYPE(TypeTag, Indices); - using SubControlVolume = typename GET_PROP_TYPE(TypeTag, SubControlVolume); - using SubControlVolumeFace = typename GET_PROP_TYPE(TypeTag, SubControlVolumeFace); + using FVElementGeometry = typename GET_PROP_TYPE(TypeTag, FVElementGeometry); + using SubControlVolume = typename FVElementGeometry::SubControlVolume; + using SubControlVolumeFace = typename FVElementGeometry::SubControlVolumeFace; enum { dim = GridView::dimension,