diff --git a/exercises/exercise-fluidsystem/spatialparams.hh b/exercises/exercise-fluidsystem/spatialparams.hh index 1da703d6c1111c54e1730e58fa544bb84fce5688..e4f41812d993e8c6c10811b4fa177cecb57e347a 100644 --- a/exercises/exercise-fluidsystem/spatialparams.hh +++ b/exercises/exercise-fluidsystem/spatialparams.hh @@ -51,7 +51,7 @@ class ExerciseFluidsystemSpatialParams static constexpr int dim = GridView::dimension; static constexpr int dimWorld = GridView::dimensionworld; using Element = typename GridView::template Codim<0>::Entity; - using GlobalPosition = typename Element::Geometry::GlobalCoordinate; + using GlobalPosition = typename Element::Geometry::GlobalCoordinate; using PcKrSwCurve = FluidMatrix::BrooksCoreyDefault<Scalar>; @@ -69,7 +69,7 @@ public: , K_(0) , KLens_(0) , pcKrSwCurve_("SpatialParams") - , lensPcKrSwCurve_("Lens.SpatialParams") + , lensPcKrSwCurve_("SpatialParams.Lens") { //set main diagonal entries of the permeability tensor to a value //setting to one value means: isotropic, homogeneous @@ -111,10 +111,10 @@ public: * \param globalPos The global coordinates for the given location */ auto fluidMatrixInteractionAtPos(const GlobalPosition& globalPos) const - { + { if (isInLens(globalPos)) - return makeFluidMatrixInteraction(pcKrSwCurve_); - return makeFluidMatrixInteraction(lensPcKrSwCurve_); + return makeFluidMatrixInteraction(pcKrSwCurve_); + return makeFluidMatrixInteraction(lensPcKrSwCurve_); } /*! @@ -150,7 +150,7 @@ private: Dune::FieldMatrix<Scalar, dim, dim> K_; Dune::FieldMatrix<Scalar, dim, dim> KLens_; - + const PcKrSwCurve pcKrSwCurve_; const PcKrSwCurve lensPcKrSwCurve_; };