Line data Source code
1 : //* This file is part of the MOOSE framework 2 : //* https://mooseframework.inl.gov 3 : //* 4 : //* All rights reserved, see COPYRIGHT for full restrictions 5 : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT 6 : //* 7 : //* Licensed under LGPL 2.1, please see LICENSE for details 8 : //* https://www.gnu.org/licenses/lgpl-2.1.html 9 : 10 : #include "Sampler1DBase.h" 11 : 12 : template <> 13 : InputParameters 14 38 : Sampler1DBase<Real>::validParams() 15 : { 16 38 : InputParameters params = GeneralVectorPostprocessor::validParams(); 17 38 : params += SamplerBase::validParams(); 18 38 : params += BlockRestrictable::validParams(); 19 : 20 76 : params.addRequiredParam<std::vector<std::string>>( 21 : "property", "Names of the material properties to be output along a line"); 22 : 23 : // This parameter exists in BlockRestrictable, but it is made required here 24 : // because it is undesirable to use the default, which is to add all blocks. 25 76 : params.addRequiredParam<std::vector<SubdomainName>>( 26 : "block", "The list of block ids (SubdomainID) for which this object will be applied"); 27 : 28 38 : return params; 29 0 : }