THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Benjamin Faigle (Benjamin) 

Attached to Project - DuMuX
Summary - Modify Dumux start message
Task Type - Feature Request
Category - Discussion
Status - New
Assigned To - 
Operating System - Unspecified
Severity - Low
Priority - Low
Reported Version - SVN
Due in Version - Undecided
Due Date - Undecided
Details - Numerous times, we discussed the Dumux start message (\"Welcome 
aboard DuMuX airlines. Please fasten your seatbelts!\"), but never really 
agreed on something.
I would like to propose the following method to the timeManager, printing an 
random start message from a selection. All dumux developpers are asked to 
propose, submit and contribute to the specific messages (cases), I only 
sketched some examples.

void startMessage_()
{
    // roll the dice to decide which start message will be displayed:
    srand(std::time(0));
    switch (rand() % 5)
    {
        case 0:
            std::cout <<
                \"Welcome aboard DuMuX airlines. Please fasten your 
seatbelts!\"<<
                \" Emergency exits are near the time integration.\\n\";
        break;
        case 1:
            std::cout <<
                \"Let\'s get the cow off the ice.\\n\";
        break;
        case 2:
            std::cout <<
                \"Thank you for travelling with Dumux.\\n\";
        break;
        case 3:
            std::cout <<
                \"Starting Dumux. I am sorry for this.\\n\";
        break;
        default:
             // silence to delight Bernd.           
    }
    return ;
}

More information can be found at the following URL:
http://www.dumux.org/flyspray/index.php?do=details&task_id=170

You are receiving this message because you have requested it from the Flyspray 
bugtracking system.  If you did not expect this message or don't want to 
receive mails in future, you can change your notification settings at the URL 
shown above.
_______________________________________________
Dumux mailing list
[email protected]
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

Reply via email to