www.mooseframework.org
LineMaterialRankTwoSampler.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 
8 #ifndef LINEMATERIALRANKTWOSAMPLER_H
9 #define LINEMATERIALRANKTWOSAMPLER_H
10 
11 #include "LineMaterialSamplerBase.h"
12 #include "RankTwoTensor.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
24 class LineMaterialRankTwoSampler : public LineMaterialSamplerBase<RankTwoTensor>
25 {
26 public:
32  LineMaterialRankTwoSampler(const InputParameters & parameters);
33 
41  virtual Real getScalarFromProperty(const RankTwoTensor & property, const Point & curr_point);
42 
43  const unsigned int _i;
44  const unsigned int _j;
45 };
46 
47 #endif // LINEMATERIALRANKTWOSAMPLER
LineMaterialRankTwoSampler(const InputParameters &parameters)
Class constructor Sets up variables for output based on the properties to be output.
virtual Real getScalarFromProperty(const RankTwoTensor &property, const Point &curr_point)
Reduce the material property to a scalar for output Call through to RankTwoScalarTools::component() t...
This class samples components of RankTwoTensor material properties for the integration points in all ...
InputParameters validParams< LineMaterialRankTwoSampler >()