From 22391ad1444c071fee113ce7c5e4436b51d6bf56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Tue, 14 Apr 2015 12:53:34 +0200 Subject: [PATCH] Provide nicer startup message that includes opm-project URL. --- examples/flow.cpp | 12 ++++++++++-- examples/flow_cp.cpp | 12 ++++++++++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/examples/flow.cpp b/examples/flow.cpp index 5c65a8ce6..f30c5a595 100644 --- a/examples/flow.cpp +++ b/examples/flow.cpp @@ -86,9 +86,17 @@ try { using namespace Opm; - std::cout << "\n================ Test program for fully implicit three-phase black-oil flow ===============\n\n"; - parameter::ParameterGroup param(argc, argv, false); + std::cout << "******************************************************************************************\n"; + std::cout << "* *\n"; + std::cout << "* Welcome to Flow! *\n"; + std::cout << "* *\n"; + std::cout << "* Flow is a simulator for fully implicit three-phase black-oil flow that is part of OPM. *\n"; + std::cout << "* For more information see: *\n"; + std::cout << "* http://opm-project.org *\n"; + std::cout << "* *\n"; + std::cout << "******************************************************************************************\n\n"; std::cout << "--------------- Reading parameters ---------------" << std::endl; + parameter::ParameterGroup param(argc, argv, false); // If we have a "deck_filename", grid and props will be read from that. bool use_deck = param.has("deck_filename"); diff --git a/examples/flow_cp.cpp b/examples/flow_cp.cpp index fd7ed7120..bdb81bbb5 100644 --- a/examples/flow_cp.cpp +++ b/examples/flow_cp.cpp @@ -113,9 +113,17 @@ try const Dune::MPIHelper& mpi_helper = Dune::MPIHelper::instance(argc, argv); using namespace Opm; - std::cout << "\n================ Test program for fully implicit three-phase black-oil flow ===============\n\n"; - parameter::ParameterGroup param(argc, argv, false); + std::cout << "******************************************************************************************\n"; + std::cout << "* *\n"; + std::cout << "* Welcome to Flow! (Experimental version using dune-cornerpoint.) *\n"; + std::cout << "* *\n"; + std::cout << "* Flow is a simulator for fully implicit three-phase black-oil flow that is part of OPM. *\n"; + std::cout << "* For more information see: *\n"; + std::cout << "* http://opm-project.org *\n"; + std::cout << "* *\n"; + std::cout << "******************************************************************************************\n\n"; std::cout << "--------------- Reading parameters ---------------" << std::endl; + parameter::ParameterGroup param(argc, argv, false); // If we have a "deck_filename", grid and props will be read from that. bool use_deck = param.has("deck_filename");