aryafallahi / mithra

MITHRA is a full-wave numerical solver for free-electron lasers.
17 stars 7 forks source link

[Feature Request] Function for hello message #54

Closed arnaualba closed 4 years ago

arnaualba commented 4 years ago

The hello message with the copyright and author information is printed from within the mithra.cpp file. If you agree, I would like to make this into a function helloMessage() that is called from mithra.cpp.

This would be really useful as in OPAL when we use the Mithra functions we also print out this hello message. At the moment I copy pasted the hello message from mithra.cpp, but if the copyright or authors change this will become outdated in OPAL. If I could call a MITHRA::helloMessage() function it would be much better.

Let me know if that would be OK. Thanks

aryafallahi commented 4 years ago

yes, it is fine with me. no problem.