Skip to content
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

Merged
merged 5 commits into from
Feb 5, 2019
Merged

Conversation

wenqing
Copy link
Member

@wenqing 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

@@ -28,6 +28,8 @@
extern FILE* OpenMsgFile(void);
extern void CloseMsgFile(FILE*);

namespace Display
Copy link
Contributor

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.

Copy link
Member Author

@wenqing wenqing Feb 4, 2019

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.

Copy link
Member Author

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.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see commit: 66c4b24

@norihiro-w
Copy link
Contributor

👍

@wenqing wenqing merged commit e61a9ad into ufz:master Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants