From 53d7303465a96b1fa49f674f8e28c742d90a808d Mon Sep 17 00:00:00 2001 From: MattRolchigo <65y@ornl.gov> Date: Fri, 30 Aug 2024 09:36:48 -0400 Subject: [PATCH] Convert mean powder grain size to microns --- src/CAinputs.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/CAinputs.hpp b/src/CAinputs.hpp index 82ad043e..71d7c504 100644 --- a/src/CAinputs.hpp +++ b/src/CAinputs.hpp @@ -397,9 +397,9 @@ struct Inputs { } else if ((!input_data["Substrate"].contains("PowderDensity")) && (!input_data["Substrate"].contains("MeanPowderGrainSize"))) { - // Case where neither PowderDensity nor MeanPowderGrainSize inputs are given - defaults to powder - // active fraction of 1, mean powder grain size equal to the cell size - substrate.powder_grain_spacing = domain.deltax; + // Case where neither PowderDensity nor MeanPowderGrainSize inputs are given - defaults to a mean + // powder grain size equal to the cell size (in microns) + substrate.powder_grain_spacing = domain.deltax * pow(10, 6); } if ((input_data["Substrate"].contains("PowderFirstLayer")) && (id == 0)) std::cout