https://mooseframework.inl.gov
thermal_hydraulics
src
vectorpostprocessors
Sampler1DBase.C
Go to the documentation of this file.
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
Sampler1DBase<Real>::validParams
()
15
{
16
InputParameters
params =
GeneralVectorPostprocessor::validParams
();
17
params +=
SamplerBase::validParams
();
18
params +=
BlockRestrictable::validParams
();
19
20
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
params.
addRequiredParam
<std::vector<SubdomainName>>(
26
"block"
,
"The list of block ids (SubdomainID) for which this object will be applied"
);
27
28
return
params;
29
}
Sampler1DBase.h
InputParameters::addRequiredParam
void addRequiredParam(const std::string &name, const std::string &doc_string)
BlockRestrictable::validParams
static InputParameters validParams()
InputParameters
GeneralVectorPostprocessor::validParams
static InputParameters validParams()
SamplerBase::validParams
static InputParameters validParams()
Sampler1DBase::validParams
static InputParameters validParams()
Generated on Fri Jul 18 2025 13:44:04 for https://mooseframework.inl.gov by
1.8.14