Go to the documentation of this file.
11 #include "RankTwoTensor.h"
20 params.addClassDescription(
21 "Class for calculating components of nodal rank-two stress and strain tensors "
22 "from material properties (stress and strain) for edge elements (i.e., "
23 "bonds) connected at that node. NOTE: This UserObject only applies to SNOSPD model.");
25 params.addRequiredRangeCheckedParam<
unsigned int>(
27 "index_i >= 0 & index_i <= 2",
28 "The index i of ij for the tensor to output (0, 1, 2)");
29 params.addRequiredRangeCheckedParam<
unsigned int>(
31 "index_j >= 0 & index_j <= 2",
32 "The index j of ij for the tensor to output (0, 1, 2)");
39 _i(getParam<unsigned int>(
"index_i")),
40 _j(getParam<unsigned int>(
"index_j"))
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.
NodalRankTwoComponentPD(const InputParameters ¶meters)
Base userobject class for rank two tensor at individual material point.
Userobject class to compute the component values for rank two tensor at individual material point.
InputParameters validParams< NodalRankTwoComponentPD >()
const unsigned int _i
Component indices.
registerMooseObject("PeridynamicsApp", NodalRankTwoComponentPD)
const MaterialProperty< RankTwoTensor > & _tensor
Material properties tensor.
NumericVector< Number > & _aux_sln
Solution vector for aux variables.
InputParameters validParams< NodalRankTwoUserObjectBasePD >()