https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
12template <>
15{
17 params += SamplerBase::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}
static InputParameters validParams()
static InputParameters validParams()
void addRequiredParam(const std::string &name, const std::string &doc_string)
static InputParameters validParams()
static InputParameters validParams()