Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion openmc/include/executioners/OpenMCExecutioner.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class OpenMCExecutioner : public Transient
/// Number of filter bins
size_t nbins;
/// Type of filter
std::string type;
openmc::FilterType type;
};

/// \brief Helper struct to store information about OpenMC scores
Expand Down
2 changes: 1 addition & 1 deletion openmc/src/executioners/OpenMCExecutioner.C
Original file line number Diff line number Diff line change
Expand Up @@ -742,7 +742,7 @@ OpenMCExecutioner::setFilterInfo(openmc::Tally& tally,
firstFilter=f_info.id;
}

if(f_info.type=="mesh"){
if(f_info.type==openmc::FilterType::MESH){
if(meshFilter ==-1) meshFilter = f_info.id;
else{
openmc::set_errmsg("Found more than one mesh filter");
Expand Down