www.mooseframework.org
LineMaterialRankTwoScalarSampler.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 LINEMATERIALRANKTWOSCALARSAMPLER_H
9 #define LINEMATERIALRANKTWOSCALARSAMPLER_H
10 
11 #include "LineMaterialSamplerBase.h"
12 #include "RankTwoTensor.h"
13 
14 // Forward Declarations
16 
17 template <>
19 
25 class LineMaterialRankTwoScalarSampler : public LineMaterialSamplerBase<RankTwoTensor>
26 {
27 public:
33  LineMaterialRankTwoScalarSampler(const InputParameters & parameters);
34 
43  virtual Real getScalarFromProperty(const RankTwoTensor & property, const Point & curr_point);
44 
45 protected:
46  MooseEnum _scalar_type;
47 
48  const Point _point1;
49  const Point _point2;
50  Point _direction;
51 };
52 
53 #endif // LINEMATERIALRANKTWOSCALARSAMPLER_H
LineMaterialRankTwoScalarSampler(const InputParameters &parameters)
Class constructor Sets up variables for output based on the properties to be output.
InputParameters validParams< LineMaterialRankTwoScalarSampler >()
This class samples RankTwoTensor material properties for the integration points in all elements that ...
virtual Real getScalarFromProperty(const RankTwoTensor &property, const Point &curr_point)
Reduce the RankTwoTensor material property to a scalar for output Call through to RankTwoScalarTools:...