www.mooseframework.org
LineMaterialSamplerBase.C
Go to the documentation of this file.
1 /****************************************************************/
2 /* DO NOT MODIFY THIS HEADER */
3 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
4 /* */
5 /* (c) 2010 Battelle Energy Alliance, LLC */
6 /* ALL RIGHTS RESERVED */
7 /* */
8 /* Prepared by Battelle Energy Alliance, LLC */
9 /* Under Contract No. DE-AC07-05ID14517 */
10 /* With the U. S. Department of Energy */
11 /* */
12 /* See COPYRIGHT for full restrictions */
13 /****************************************************************/
14 
16 
17 template <>
19 validParams<LineMaterialSamplerBase<Real>>()
20 {
22  params += validParams<SamplerBase>();
24  params.addRequiredParam<Point>("start", "The beginning of the line");
25  params.addRequiredParam<Point>("end", "The end of the line");
26  params.addRequiredParam<std::vector<std::string>>(
27  "property", "Name of the material property to be output along a line");
28 
29  return params;
30 }
InputParameters validParams< BlockRestrictable >()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
void addRequiredParam(const std::string &name, const std::string &doc_string)
This method adds a parameter and documentation string to the InputParameters object that will be extr...
InputParameters validParams< GeneralVectorPostprocessor >()
InputParameters validParams< SamplerBase >()
Definition: SamplerBase.C:26