www.mooseframework.org
LineMaterialRankTwoScalarSampler.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 
13 #include "RankTwoTensor.h"
14 
15 // Forward Declarations
16 
23 {
24 public:
26 
33 
42  virtual Real getScalarFromProperty(const RankTwoTensor & property, const Point & curr_point);
43 
44 protected:
46 
47  const Point _point1;
48  const Point _point2;
49  Point _direction;
50 };
LineMaterialRankTwoScalarSampler(const InputParameters &parameters)
Class constructor Sets up variables for output based on the properties to be output.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
This class samples RankTwoTensor material properties for the integration points in all elements that ...
const InputParameters & parameters() const
virtual Real getScalarFromProperty(const RankTwoTensor &property, const Point &curr_point)
Reduce the RankTwoTensor material property to a scalar for output Call through to RankTwoScalarTools:...