forked from idaholab/moose
/
LineMaterialSamplerBase.C
27 lines (24 loc) · 1.34 KB
/
LineMaterialSamplerBase.C
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/****************************************************************/
/* DO NOT MODIFY THIS HEADER */
/* MOOSE - Multiphysics Object Oriented Simulation Environment */
/* */
/* (c) 2010 Battelle Energy Alliance, LLC */
/* ALL RIGHTS RESERVED */
/* */
/* Prepared by Battelle Energy Alliance, LLC */
/* Under Contract No. DE-AC07-05ID14517 */
/* With the U. S. Department of Energy */
/* */
/* See COPYRIGHT for full restrictions */
/****************************************************************/
#include "LineMaterialSamplerBase.h"
template<>
InputParameters validParams<LineMaterialSamplerBase<Real> >()
{
InputParameters params = validParams<GeneralVectorPostprocessor>();
params += validParams<SamplerBase>();
params.addRequiredParam<Point>("start", "The beginning of the line");
params.addRequiredParam<Point>("end", "The end of the line");
params.addRequiredParam<std::vector<std::string> >("property", "Name of the material property to be output along a line");
return params;
}