From cde69c2e62e3d5f435640262adb1db66dc0f013b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 11 May 2019 11:07:20 -0400 Subject: [PATCH] Fix warnings in step-62 --- examples/step-62/step-62.cc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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}