From: Daniel Arndt Date: Sat, 11 May 2019 15:07:20 +0000 (-0400) Subject: Fix warnings in step-62 X-Git-Tag: v9.1.0-rc1~64^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde69c2e62e3d5f435640262adb1db66dc0f013b;p=dealii.git Fix warnings in step-62 --- diff --git a/examples/step-62/step-62.cc b/examples/step-62/step-62.cc index 0ecf553fad..c448b476e2 100644 --- a/examples/step-62/step-62.cc +++ b/examples/step-62/step-62.cc @@ -84,6 +84,7 @@ namespace step62 { public: RightHandSide(HDF5::Group &data); + virtual double value(const Point & p, const unsigned int component) const override; @@ -119,8 +120,9 @@ namespace step62 { public: PML(HDF5::Group &data); - virtual std::complex value(const Point & p, - const unsigned int component) const; + + virtual std::complex + value(const Point &p, const unsigned int component) const override; private: // HDF5::Group in which all the simulation results will be stored. @@ -150,8 +152,9 @@ namespace step62 { public: Rho(HDF5::Group &data); + virtual double value(const Point & p, - const unsigned int component = 0) const; + const unsigned int component = 0) const override; private: // HDF5::Group in which all the simulation results will be stored. @@ -381,12 +384,9 @@ namespace step62 // a \exp(- (\frac{(x-b_x)^2 }{ 2 \sigma_x^2}+\frac{(y-b_y)^2 }{ 2 // \sigma_y^2})) // & \text{if}\, x_\textrm{min}