Skip to content

Commit

Permalink
Remove Unnecessary Blueprint Plugin Material Numbers Logic now that w…
Browse files Browse the repository at this point in the history
…e have new Conduit (#19290) (#19305)
  • Loading branch information
JustinPrivitera committed Feb 13, 2024
1 parent 8e93111 commit 1739be8
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions src/databases/Blueprint/avtBlueprintFileFormat.C
Original file line number Diff line number Diff line change
Expand Up @@ -2573,6 +2573,10 @@ avtBlueprintFileFormat::GetAuxiliaryData(const char *var,
//
// Justin Privitera, Thu Oct 26 12:26:32 PDT 2023
// Fixed warnings.
//
// Justin Privitera, Mon Feb 5 14:14:19 PST 2024
// Removed unnecessary material numbers logic now that we have a new
// Conduit.
//
// ****************************************************************************
avtMaterial *
Expand Down Expand Up @@ -2639,15 +2643,6 @@ avtBlueprintFileFormat::GetMaterial(int domain,
mix_next = n_silo_matset["mix_next"].as_int_ptr();
}

// we need to adjust the matlist.
for(int i=0;i<nzones;i++)
{
if(matlist[i] > 0 )
{
matlist[i]--;
}
}

int mix_len = static_cast<int>(n_silo_matset["mix_mat"].dtype().number_of_elements());

float *mix_vf = NULL;
Expand Down

0 comments on commit 1739be8

Please sign in to comment.