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 : #include "GeneralPostprocessor.h" 12 : 13 : class NeutronicsSpectrumSamplerBase; 14 : 15 : class IsotopeRecoilRate : public GeneralPostprocessor 16 : { 17 : public: 18 : static InputParameters validParams(); 19 : 20 : IsotopeRecoilRate(const InputParameters & parameters); 21 : 22 0 : virtual void execute() override {} 23 0 : virtual void initialize() override {} 24 : 25 : using Postprocessor::getValue; 26 : virtual Real getValue() const override; 27 : 28 : protected: 29 : std::string _target_isotope; 30 : unsigned int _point_id; 31 : const NeutronicsSpectrumSamplerBase & _neutronics_sampler; 32 : const PostprocessorValue & _scaling_factor; 33 : };