From 893ce8f2b2c17ff79274396753c4bd7a0d7c8f2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= Date: Thu, 17 May 2018 23:29:22 +0200 Subject: [PATCH] [fvlocalres] allow isstationary query --- dumux/assembly/fvlocalresidual.hh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dumux/assembly/fvlocalresidual.hh b/dumux/assembly/fvlocalresidual.hh index cb1a30e541..700be086e9 100644 --- a/dumux/assembly/fvlocalresidual.hh +++ b/dumux/assembly/fvlocalresidual.hh @@ -563,6 +563,10 @@ public: const TimeLoop& timeLoop() const { return *timeLoop_; } + //! returns true if the residual is stationary + bool isStationary() const + { return !timeLoop_; } + // \} protected: -- GitLab