Go to the documentation of this file.
12 #include "RankFourTensor.h"
14 #include "RankTwoTensor.h"
15 #include "MooseMesh.h"
25 params.addRequiredCoupledVar(
"Cosserat_rotations",
"The 3 Cosserat rotation variables");
31 _nrots(coupledComponents(
"Cosserat_rotations")),
34 for (
unsigned i = 0; i <
_nrots; ++i)
35 _wc_var[i] = coupled(
"Cosserat_rotations", i);
41 for (
unsigned int v = 0; v <
_nrots; ++v)
static InputParameters validParams()
StressDivergenceTensors mostly copies from StressDivergence.
const unsigned int _component
virtual Real computeQpOffDiagJacobian(unsigned int jvar) override
const unsigned int _nrots
Number of Cosserat rotation variables supplied by user.
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
registerMooseObject("TensorMechanicsApp", CosseratStressDivergenceTensors)
std::vector< unsigned int > _wc_var
The MOOSE variable numbers of the Cosserat rotation variables.
Computes grad_i(stress_{i component}) This is exactly the same as StressDivergenceTensors,...
static InputParameters validParams()
const MaterialProperty< RankFourTensor > & _Jacobian_mult
defineLegacyParams(CosseratStressDivergenceTensors)
CosseratStressDivergenceTensors(const InputParameters ¶meters)