www.mooseframework.org
Classes | Functions
LineMaterialRankTwoScalarSampler.h File Reference

Go to the source code of this file.

Classes

class  LineMaterialRankTwoScalarSampler
 This class samples RankTwoTensor material properties for the integration points in all elements that are intersected by a user-defined line. More...
 

Functions

template<>
InputParameters validParams< LineMaterialRankTwoScalarSampler > ()
 

Function Documentation

template<>
InputParameters validParams< LineMaterialRankTwoScalarSampler > ( )

Definition at line 13 of file LineMaterialRankTwoScalarSampler.C.

14 {
15  InputParameters params = validParams<LineMaterialSamplerBase<Real>>();
16  params.addClassDescription("Compute a scalar property of a RankTwoTensor");
17  params.addParam<MooseEnum>(
18  "scalar_type", RankTwoScalarTools::scalarOptions(), "A scalar to ouput");
19  params.addParam<Point>(
20  "point1",
21  Point(0, 0, 0),
22  "Start point for axis used to calculate some cylinderical material tensor quantities");
23  params.addParam<Point>("point2",
24  Point(0, 1, 0),
25  "End point for axis used to calculate some material tensor quantities");
26  params.addParam<Point>("direction", Point(0, 0, 1), "Direction vector");
27  return params;
28 }