www.mooseframework.org
LineMaterialRealSampler.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 
15 // MOOSE includes
17 
18 template <>
21 {
22  InputParameters params = validParams<LineMaterialSamplerBase<Real>>();
23  return params;
24 }
25 
27  : LineMaterialSamplerBase<Real>(parameters)
28 {
29 }
30 
31 Real
32 LineMaterialRealSampler::getScalarFromProperty(const Real & property, const Point & /*curr_point*/)
33 {
34  return property;
35 }
LineMaterialRealSampler(const InputParameters &parameters)
Class constructor Sets up variables for output based on the properties to be output.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
InputParameters validParams< LineMaterialRealSampler >()
This is a base class for sampling material properties for the integration points in all elements that...
virtual Real getScalarFromProperty(const Real &property, const Point &curr_point) override
Reduce the material property to a scalar for output In this case, the material property is a Real alr...