www.mooseframework.org
CosseratStressDivergenceTensors.h
Go to the documentation of this file.
1 /****************************************************************/
2 /* MOOSE - Multiphysics Object Oriented Simulation Environment */
3 /* */
4 /* All contents are licensed under LGPL V2.1 */
5 /* See LICENSE for full restrictions */
6 /****************************************************************/
7 #ifndef COSSERATSTRESSDIVERGENCETENSORS_H
8 #define COSSERATSTRESSDIVERGENCETENSORS_H
9 
11 
12 // Forward Declarations
14 
15 template <>
17 
24 {
25 public:
26  CosseratStressDivergenceTensors(const InputParameters & parameters);
27 
28 protected:
29  virtual Real computeQpOffDiagJacobian(unsigned int jvar);
30 
32  const unsigned int _nrots;
33 
35  std::vector<unsigned int> _wc_var;
36 };
37 
38 #endif // COSSERATSTRESSDIVERGENCETENSORS_H
InputParameters validParams< CosseratStressDivergenceTensors >()
Computes grad_i(stress_{i component}) This is exactly the same as StressDivergenceTensors, only the Jacobian entries are correct for the Cosserat case.
CosseratStressDivergenceTensors(const InputParameters &parameters)
virtual Real computeQpOffDiagJacobian(unsigned int jvar)
const unsigned int _nrots
Number of Cosserat rotation variables supplied by user.
std::vector< unsigned int > _wc_var
The MOOSE variable numbers of the Cosserat rotation variables.
StressDivergenceTensors mostly copies from StressDivergence.