www.mooseframework.org
NodalRankTwoScalarPD.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 
15 
16 template <>
17 InputParameters validParams<NodalRankTwoScalarPD>();
18 
24 {
25 public:
26  NodalRankTwoScalarPD(const InputParameters & parameters);
27 
28  virtual void gatherWeightedValue(unsigned int id, dof_id_type dof, Real dg_vol_frac) override;
29 
30 protected:
36  MooseEnum _scalar_type;
37 
39  const Point _point1;
40 
42  const Point _point2;
43 
46 };
NodalRankTwoUserObjectBasePD
Base userobject class for rank two tensor at individual material point.
Definition: NodalRankTwoUserObjectBasePD.h:22
NodalRankTwoScalarPD
Userobject class to compute the equivalent scalar values for rank two tensor at individual material p...
Definition: NodalRankTwoScalarPD.h:23
NodalRankTwoScalarPD::_point1
const Point _point1
Start point for axis used to calculate some cylinderical material tensor quantities.
Definition: NodalRankTwoScalarPD.h:39
NodalRankTwoUserObjectBasePD.h
NodalRankTwoScalarPD::NodalRankTwoScalarPD
NodalRankTwoScalarPD(const InputParameters &parameters)
Definition: NodalRankTwoScalarPD.C:40
NodalRankTwoScalarPD::_input_direction
Point _input_direction
Direction vector used to calculate some material tensor quantities.
Definition: NodalRankTwoScalarPD.h:45
validParams< NodalRankTwoScalarPD >
InputParameters validParams< NodalRankTwoScalarPD >()
Definition: NodalRankTwoScalarPD.C:18
NodalRankTwoScalarPD::_point2
const Point _point2
End point for axis used to calculate some cylinderical material tensor quantities.
Definition: NodalRankTwoScalarPD.h:42
NodalRankTwoScalarPD::_scalar_type
MooseEnum _scalar_type
Determines the information to be extracted from the tensor by using the RankTwoScalarTools namespace,...
Definition: NodalRankTwoScalarPD.h:36
NodalRankTwoScalarPD::gatherWeightedValue
virtual void gatherWeightedValue(unsigned int id, dof_id_type dof, Real dg_vol_frac) override
Function to gather bond-associated quantities to each material point.
Definition: NodalRankTwoScalarPD.C:50