OpenMCCellMaterialFill(const InputParameters ¶meters)
Definition: ModelModifiersBase.h:27
void extractMaterialIdsFromFile(std::string filename, std::vector< int32_t > &material_ids)
int32_t _cell_index
Index of the cell to be modified.
Definition: OpenMCCellMaterialFill.h:57
const int32_t & _cell_id
Cell to be modified.
Definition: OpenMCCellMaterialFill.h:54
const int32_t & getCellIndex() const
Definition: OpenMCCellMaterialFill.h:46
virtual void modifyOpenMCModel() const override
Modify the OpenMC model.
const std::vector< int32_t > & getMaterialIndices() const
Definition: OpenMCCellMaterialFill.h:50
std::vector< int32_t > _material_indices
Materials to be filled into the cell instances.
Definition: OpenMCCellMaterialFill.h:60
const int32_t & getCellId() const
Definition: OpenMCCellMaterialFill.h:43
std::string _material_ids_file
Name of a file containing material data to be assigned to _material_indices.
Definition: OpenMCCellMaterialFill.h:63
static InputParameters validParams()
Definition: OpenMCCellMaterialFill.h:26