mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1301 from andlaus/update_banner2
update flow startup message
This commit is contained in:
commit
aba0b14907
@ -187,7 +187,7 @@ namespace Opm
|
|||||||
if (output_cout_) {
|
if (output_cout_) {
|
||||||
const int lineLen = 70;
|
const int lineLen = 70;
|
||||||
const std::string version = moduleVersionName();
|
const std::string version = moduleVersionName();
|
||||||
const std::string banner = "This is flow (version "+version+")";
|
const std::string banner = "This is flow "+version;
|
||||||
const int bannerPreLen = (lineLen - 2 - banner.size())/2;
|
const int bannerPreLen = (lineLen - 2 - banner.size())/2;
|
||||||
const int bannerPostLen = bannerPreLen + (lineLen - 2 - banner.size())%2;
|
const int bannerPostLen = bannerPreLen + (lineLen - 2 - banner.size())%2;
|
||||||
std::cout << "**********************************************************************\n";
|
std::cout << "**********************************************************************\n";
|
||||||
@ -195,8 +195,8 @@ namespace Opm
|
|||||||
std::cout << "*" << std::string(bannerPreLen, ' ') << banner << std::string(bannerPostLen, ' ') << "*\n";
|
std::cout << "*" << std::string(bannerPreLen, ' ') << banner << std::string(bannerPostLen, ' ') << "*\n";
|
||||||
std::cout << "* *\n";
|
std::cout << "* *\n";
|
||||||
std::cout << "* Flow is a simulator for fully implicit three-phase black-oil flow, *\n";
|
std::cout << "* Flow is a simulator for fully implicit three-phase black-oil flow, *\n";
|
||||||
std::cout << "* and is part of OPM. For more information see: *\n";
|
std::cout << "* including solvent and polymer capabilities. *\n";
|
||||||
std::cout << "* http://opm-project.org *\n";
|
std::cout << "* For more information, see http://opm-project.org *\n";
|
||||||
std::cout << "* *\n";
|
std::cout << "* *\n";
|
||||||
std::cout << "**********************************************************************\n\n";
|
std::cout << "**********************************************************************\n\n";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user