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
ENH: Route PGRFSimulation logging through observer info() method
* Add defaulted virtual info() to ISimulationObserver — no-op by
default so existing test doubles need no changes
* ConsoleObserver overrides info() to emit via spdlog (CLI output
unchanged)
* FilterObserver overrides info() to forward through the simplnx
IFilter::MessageHandler with Type::Info (no raw console lines
from the DREAM3D-NX filter)
* Convert all five direct spdlog::info() calls in PGRFSimulation::run
to observer->info() with nullptr guard; drop the redundant
per-field spdlog line that duplicated the updateProgress message
* Remove unused #include <spdlog/spdlog.h> from PGRFSimulation.cpp
Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
params.insertSeparator(Parameters::Separator{"Random Number Seed Parameters"});
120
120
params.insertLinkableParameter(std::make_unique<BoolParameter>(k_UseSeed_Key, "Use Seed for Random Generation", "When true the user can supply a fixed seed.", false));
121
121
params.insert(std::make_unique<NumberParameter<uint64>>(k_SeedValue_Key, "Seed Value", "The seed fed into the random generator.", std::mt19937::default_seed));
122
122
params.insert(std::make_unique<DataObjectNameParameter>(k_SeedArrayName_Key, "Stored Seed Value Array Name", "Top-level array recording the seed used.", "MTRSim SeedValue"));
123
123
124
124
params.insertSeparator(Parameters::Separator{"Output Data Object(s)"});
"Create a 3-component UInt8 RGB array using the MATLAB polar color "
127
-
"mapping.",
128
-
false));
125
+
129
126
params.insert(std::make_unique<DataGroupCreationParameter>(k_OutputGeometry_Key, "Output Image Geometry", "Path of the new microstructure Image Geometry.", DataPath({"MTR Microstructure"})));
130
127
params.insert(std::make_unique<DataObjectNameParameter>(k_CellAttrMatName_Key, "Cell Attribute Matrix Name", "Name of the created cell AttributeMatrix.", "Cell Data"));
0 commit comments