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
I have encountered a curious bug that renders Paraview unable to open my plt files. However, Visit is able to open them without a problem. I've narrowed the issue down the issue to the following portion of Setup.cpp:
When test = 0, Paraview is able to open the file, but when test = 1 or anything higher (I need test = NUM_REACTIONS), Paraview crashes when opening the file. Do you have any idea what might be causing this behavior?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi all,
I have encountered a curious bug that renders Paraview unable to open my plt files. However, Visit is able to open them without a problem. I've narrowed the issue down the issue to the following portion of Setup.cpp:
int test = 1;
amrex::Vectorstd::string var_names_EI(9+NUM_SPECIES+test);
var_names_EI[0] = "EITerm1";
var_names_EI[1] = "EITerm2";
var_names_EI[2] = "EITerm3";
var_names_EI[3] = "EITerm4";
var_names_EI[4] = "EI";
var_names_EI[5] = "AUX1";
var_names_EI[6] = "AUX2";
var_names_EI[7] = "AUX3";
var_names_EI[8] = "AUX4";
for (int i = 0; i < NUM_SPECIES; i++) {
var_names_EI[9+i] = "EI(" + spec_names[i] + ")";
}
for (int i = 0; i < test; i++) {
var_names_EI[9+NUM_SPECIES+i] = "EI(Reaction " + std::to_string(i) + ")";
}
derive_lst.add(
"entropyInequality", amrex::IndexType::TheCellType(), 9 + NUM_SPECIES + test, var_names_EI,
PeleC::pc_entropyInequality, amrex::DeriveRec::GrowBoxByOne);
derive_lst.addComponent("entropyInequality", desc_lst, State_Type, Density, NVAR);
When test = 0, Paraview is able to open the file, but when test = 1 or anything higher (I need test = NUM_REACTIONS), Paraview crashes when opening the file. Do you have any idea what might be causing this behavior?
Thank you in advance.
Beta Was this translation helpful? Give feedback.
All reactions