From eabf2523007398a275d2753f7af86a3d60db450c Mon Sep 17 00:00:00 2001 From: Justin Privitera Date: Fri, 10 Jan 2025 15:37:22 -0800 Subject: [PATCH] note --- .../conduit_blueprint_mesh_matset_xforms.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp b/src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp index 2c3e7bd17..3a04e6909 100644 --- a/src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp +++ b/src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp @@ -1790,6 +1790,12 @@ to_silo(const conduit::Node &specset, } else { + // Either there are multiple species for this material or there + // are none. If there are none, then the value computed here + // will ultimately not be used by Silo readers. There must be + // a value here though even when there are no species for the + // material because we must have entries in the different silo + // species arrays for each material. speclist[zone_id] = calculate_species_index(zone_id, mat_index); } } @@ -1825,6 +1831,12 @@ to_silo(const conduit::Node &specset, } else { + // Either there are multiple species for this material or there + // are none. If there are none, then the value computed here + // will ultimately not be used by Silo readers. There must be + // a value here though even when there are no species for the + // material because we must have entries in the different silo + // species arrays for each material. mix_spec.push_back(calculate_species_index(zone_id, mat_index)); }