mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-27 13:45:36 -04:00
Apply clang-format on entire source
This commit is contained in:
parent
4c17061a1d
commit
1bc2bd8460
181 changed files with 7372 additions and 6952 deletions
|
|
@ -3,7 +3,8 @@
|
|||
#include "openmc/message_passing.h"
|
||||
#include "openmc/settings.h"
|
||||
|
||||
#if defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))
|
||||
#if defined(__unix__) || defined(__unix) || \
|
||||
(defined(__APPLE__) && defined(__MACH__))
|
||||
#include <unistd.h> // for isatty
|
||||
#endif
|
||||
|
||||
|
|
@ -98,7 +99,8 @@ void warning(const std::string& message)
|
|||
void write_message(const std::string& message, int level)
|
||||
{
|
||||
// Only allow master to print to screen
|
||||
if (!mpi::master) return;
|
||||
if (!mpi::master)
|
||||
return;
|
||||
|
||||
if (level <= settings::verbosity) {
|
||||
std::cout << " ";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue