You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Log::io->info() << Log::format("# grid size set to [%i x %i x %i] --> %i voxels \nMicrostructure length: [%3.6f x %3.6f x %3.6f]\n", dims[0], dims[1], dims[2], dims[0] * dims[1] * dims[2], L[0], L[1], L[2]);
293
-
if (dims[0] % 2 != 0)
294
-
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_x is not a multiple of 2\n";
295
-
if (dims[1] % 2 != 0)
296
-
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_y is not a multiple of 2\n";
297
-
if (dims[2] % 2 != 0)
298
-
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_z is not a multiple of 2\n";
299
-
if (dims[0] / 4 < world_size)
300
-
throwstd::runtime_error("[ FANS3D_Grid ] ERROR: Please decrease the number of processes or increase the grid size to ensure that each process has at least 4 boxels in the x direction.");
Log::io->info() << Log::format("# grid size set to [%i x %i x %i] --> %i voxels \n", dims[0], dims[1], dims[2], dims[0] * dims[1] * dims[2]);
292
+
Log::io->info() << Log::format("Microstructure length: [%3.6f x %3.6f x %3.6f]\n", L[0], L[1], L[2]);
293
+
if (dims[0] % 2 != 0)
294
+
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_x is not a multiple of 2\n";
295
+
if (dims[1] % 2 != 0)
296
+
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_y is not a multiple of 2\n";
297
+
if (dims[2] % 2 != 0)
298
+
Log::io->error() << "[ FANS3D_Grid ] WARNING: n_z is not a multiple of 2\n";
299
+
if (dims[0] / 4 < world_size)
300
+
throwstd::runtime_error("[ FANS3D_Grid ] ERROR: Please decrease the number of processes or increase the grid size to ensure that each process has at least 4 boxels in the x direction.");
0 commit comments