Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinPrivitera committed Jan 10, 2025
1 parent be20ab0 commit eabf252
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/libs/blueprint/conduit_blueprint_mesh_matset_xforms.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -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));
}

Expand Down

0 comments on commit eabf252

Please sign in to comment.