-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improvement in the creen output #134
Conversation
wenqing
commented
Feb 4, 2019
- [Display.h/cpp] Removed some unused function. 176ad8f
- [Display.h/cpp] Give a namespace for the functions. 93dcbb3
- Only allow one rank to call ScreenMessage under MPI. 6311af5
- Replaced frequently called std::cout with ScreenMessage to suppress screen output under MPI. 3d6b1b8
3d6b1b8
to
7194971
Compare
7194971
to
db8fa46
Compare
@@ -28,6 +28,8 @@ | |||
extern FILE* OpenMsgFile(void); | |||
extern void CloseMsgFile(FILE*); | |||
|
|||
namespace Display |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am not sure what is a reason for this new namespace. It makes the code longer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to remove extern. If you feel it makes longer, I can add 'use namespace Display' and remove the namespace name in cpp files.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed Display:: in the most of places where it appears.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
see commit: 66c4b24
66c4b24
to
77831ee
Compare
77831ee
to
a08adb4
Compare
👍 |