From 98b52124240ef8a68a3a6bc58ef398d8a21d7832 Mon Sep 17 00:00:00 2001 From: Knut Morten Okstad Date: Thu, 12 Apr 2018 11:06:18 +0200 Subject: [PATCH] Added: Convenience method SIMoutput::hasResultPoints --- src/SIM/SIMoutput.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SIM/SIMoutput.h b/src/SIM/SIMoutput.h index 5b239146..cfda0cce 100644 --- a/src/SIM/SIMoutput.h +++ b/src/SIM/SIMoutput.h @@ -277,6 +277,8 @@ public: void setPointResultFile(const std::string& filename, bool dumpCoord = false); //! \brief Checks whether point result files have been defined or not. bool hasPointResultFile() const; + //! \brief Checks whether result points have been defined or not. + bool hasResultPoints() const { return !myPoints.empty(); } //! \brief Prints integrated solution norms to the log stream. //! \param[in] norms The norm values