www.mooseframework.org
LineMaterialRankTwoSampler.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #pragma once
11 
12 #include "LineMaterialSamplerBase.h"
13 #include "RankTwoTensor.h"
14 
15 // Forward Declarations
17 
18 template <>
20 
25 class LineMaterialRankTwoSampler : public LineMaterialSamplerBase<RankTwoTensor>
26 {
27 public:
28  static InputParameters validParams();
29 
35  LineMaterialRankTwoSampler(const InputParameters & parameters);
36 
44  virtual Real getScalarFromProperty(const RankTwoTensor & property, const Point & curr_point);
45 
46  const unsigned int _i;
47  const unsigned int _j;
48 };
LineMaterialRankTwoSampler::LineMaterialRankTwoSampler
LineMaterialRankTwoSampler(const InputParameters &parameters)
Class constructor Sets up variables for output based on the properties to be output.
Definition: LineMaterialRankTwoSampler.C:33
LineMaterialRankTwoSampler::validParams
static InputParameters validParams()
Definition: LineMaterialRankTwoSampler.C:18
LineMaterialRankTwoSampler
This class samples components of RankTwoTensor material properties for the integration points in all ...
Definition: LineMaterialRankTwoSampler.h:25
validParams< LineMaterialRankTwoSampler >
InputParameters validParams< LineMaterialRankTwoSampler >()
LineMaterialRankTwoSampler::_j
const unsigned int _j
Definition: LineMaterialRankTwoSampler.h:47
LineMaterialRankTwoSampler::_i
const unsigned int _i
Definition: LineMaterialRankTwoSampler.h:46
LineMaterialRankTwoSampler::getScalarFromProperty
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...
Definition: LineMaterialRankTwoSampler.C:41
RankTwoTensorTempl< Real >