Line data Source code
1 : /**********************************************************************/ 2 : /* DO NOT MODIFY THIS HEADER */ 3 : /* MAGPIE - Mesoscale Atomistic Glue Program for Integrated Execution */ 4 : /* */ 5 : /* Copyright 2017 Battelle Energy Alliance, LLC */ 6 : /* ALL RIGHTS RESERVED */ 7 : /**********************************************************************/ 8 : 9 : #pragma once 10 : 11 : // MOOSE includes 12 : #include "GeneralVectorPostprocessor.h" 13 : 14 : class NeutronicsSpectrumSamplerBase; 15 : 16 : class IsotopeRecoilRateSampler : public GeneralVectorPostprocessor 17 : { 18 : public: 19 : static InputParameters validParams(); 20 : 21 : IsotopeRecoilRateSampler(const InputParameters & parameters); 22 : 23 0 : virtual void initialize() {} 24 : virtual void execute(); 25 : 26 : protected: 27 : std::string _target_isotope; 28 : std::vector<unsigned int> _point_ids; 29 : const NeutronicsSpectrumSamplerBase & _neutronics_sampler; 30 : const PostprocessorValue & _scaling_factor; 31 : 32 : std::vector<Real> & _recoil_rates; 33 : };