diff --git a/dumux/common/dumuxmessage.hh b/dumux/common/dumuxmessage.hh index 4c622abea9b4ef4bf75632364e9acc759de65818..dce567615f884218157c215301cbe48f005d0807 100644 --- a/dumux/common/dumuxmessage.hh +++ b/dumux/common/dumuxmessage.hh @@ -28,6 +28,8 @@ #include <iostream> #include <ctime> +#include <dumux/io/format.hh> + namespace Dumux { /*! @@ -37,7 +39,7 @@ namespace Dumux { class DumuxMessage { //! The current number of messages. Please adjust if you add one. - static const int nMessages_ = 11; + static const int nMessages_ = 12; public: @@ -166,6 +168,14 @@ public: else std::cout << "Chuck Norris has compiled DuMuX even two times in a row!" << std::endl; break; + case 12: + if (firstCall) + std::cout << Fmt::format(" ┌{0:─^{2}}â”\n" + " │{1: ^{2}}│\n" + " â””{0:─^{2}}┘\n", "", Fmt::format("DuMuX {} \u2661", DUMUX_VERSION), 20); + else + std::cout << "\n" << std::endl; + break; // Note: If you add a case, you have to increase the number of messages (nMessages_ variable).