Added: Convenience method SIMoutput::hasResultPoints

This commit is contained in:
Knut Morten Okstad 2018-04-12 11:06:18 +02:00
parent a8afaae019
commit 98b5212424

View File

@ -277,6 +277,8 @@ public:
void setPointResultFile(const std::string& filename, bool dumpCoord = false); void setPointResultFile(const std::string& filename, bool dumpCoord = false);
//! \brief Checks whether point result files have been defined or not. //! \brief Checks whether point result files have been defined or not.
bool hasPointResultFile() const; 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. //! \brief Prints integrated solution norms to the log stream.
//! \param[in] norms The norm values //! \param[in] norms The norm values