Skip to content
Snippets Groups Projects
Commit 7e09650c authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Less verbosity when generating ICs.

Former-commit-id: 9fc47e975df65702410bb3d75e830e140b0f68dd
parent 47d7db53
Branches
Tags
No related merge requests found
...@@ -574,8 +574,6 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic, ...@@ -574,8 +574,6 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic,
/* Now generate particles */ /* Now generate particles */
message("### MPI_Rank= %d Offset=%lld\n", mpi_rank, offset);
int i,j,k, count=0; int i,j,k, count=0;
for( i = 0; i < L; ++i) for( i = 0; i < L; ++i)
for( j = 0; j < L; ++j) for( j = 0; j < L; ++j)
...@@ -606,7 +604,8 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic, ...@@ -606,7 +604,8 @@ void generateICs(double dim[3], struct part **parts, int *N, int *periodic,
} }
fflush(stdout); fflush(stdout);
MPI_Barrier(comm); MPI_Barrier(comm);
message("Done generating ICs"); if( mpi_rank == 0 )
message("Generated ICs with %lld particles.", N_total);
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment