diff --git a/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh b/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh index 7e0cb51a0b14a565c26545facfcf8bba62cb5e18..0c162c05da342408b510635f569069ac7e15089b 100644 --- a/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh +++ b/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh @@ -209,9 +209,7 @@ public: * * This problem assumes a temperature of 10 degrees Celsius. */ - Scalar temperature(const Element &element, - const FVElementGeometry &fvElemGeom, - int scvIdx) const + Scalar temperature() const { return 273.15 + 10; // -> 10��C }; diff --git a/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh b/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh index 7673f3da999e990b1a5c01beaff1da70c9bb25a7..b4ab7aa2d7ad9e37277444474122dfddf801731f 100644 --- a/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh +++ b/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh @@ -227,9 +227,7 @@ public: * * This problem assumes a temperature of 10 degrees Celsius. */ - Scalar temperature(const Element &element, - const FVElementGeometry &fvElemGeom, - int scvIdx) const + Scalar temperature() const { return 273.15 + 10; // -> 10°C }; diff --git a/tutorial/tutorialproblem_coupled.hh b/tutorial/tutorialproblem_coupled.hh index 77149bef237c39afe0fabcd5a0e08c93591c6d8d..33863a0c1f09bb96e4a4f01e38220d0b58bb3fdb 100644 --- a/tutorial/tutorialproblem_coupled.hh +++ b/tutorial/tutorialproblem_coupled.hh @@ -161,9 +161,7 @@ public: // Return the temperature within a finite volume. We use constant // 10 degrees Celsius. - Scalar temperature(const Element &element, - const FVElementGeometry &fvElemGeom, - int scvIdx) const + Scalar temperature() const { return 283.15; }; // Specifies which kind of boundary condition should be used for