#include <RankTwoAux.h>
Definition at line 26 of file RankTwoAux.h.
◆ RankTwoAux()
RankTwoAux::RankTwoAux |
( |
const InputParameters & |
parameters | ) |
|
Definition at line 37 of file RankTwoAux.C.
38 : NodalPatchRecovery(parameters),
39 _tensor(getMaterialProperty<RankTwoTensor>(
"rank_two_tensor")),
40 _i(getParam<unsigned int>(
"index_i")),
41 _j(getParam<unsigned int>(
"index_j")),
◆ computeValue()
Real RankTwoAux::computeValue |
( |
| ) |
|
|
protectedvirtual |
Definition at line 48 of file RankTwoAux.C.
50 unsigned int qp = _qp;
55 Threads::spin_mutex::scoped_lock lock(Threads::spin_mtx);
56 mooseError(
"RankTwoAux. selected_qp specified as ",
58 " but there are only ",
60 " quadpoints in the element");
◆ validParams()
InputParameters RankTwoAux::validParams |
( |
| ) |
|
|
static |
Definition at line 18 of file RankTwoAux.C.
21 params.addClassDescription(
"Access a component of a RankTwoTensor");
22 params.addRequiredParam<MaterialPropertyName>(
"rank_two_tensor",
23 "The rank two material tensor name");
24 params.addRequiredRangeCheckedParam<
unsigned int>(
26 "index_i >= 0 & index_i <= 2",
27 "The index i of ij for the tensor to output (0, 1, 2)");
28 params.addRequiredRangeCheckedParam<
unsigned int>(
30 "index_j >= 0 & index_j <= 2",
31 "The index j of ij for the tensor to output (0, 1, 2)");
32 params.addParam<
unsigned int>(
"selected_qp",
"Evaluate the tensor at this specific quadpoint");
33 params.addParamNamesToGroup(
"selected_qp",
"Advanced");
◆ _has_selected_qp
const bool RankTwoAux::_has_selected_qp |
|
private |
◆ _i
const unsigned int RankTwoAux::_i |
|
private |
◆ _j
const unsigned int RankTwoAux::_j |
|
private |
◆ _selected_qp
const unsigned int RankTwoAux::_selected_qp |
|
private |
The std::vector will be evaluated at this quadpoint only if defined.
Definition at line 45 of file RankTwoAux.h.
Referenced by computeValue().
◆ _tensor
The documentation for this class was generated from the following files: