www.mooseframework.org
StressDivergenceTensorsTruss.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 
12 #include "Kernel.h"
13 
14 // Forward Declarations
15 
17 {
18 public:
20 
22 
23 protected:
24  virtual void initialSetup() override;
25  virtual void computeResidual() override;
26  virtual Real computeQpResidual() override { return 0.0; }
27  virtual Real computeStiffness(unsigned int i, unsigned int j);
28  virtual void computeJacobian() override;
29  virtual void computeOffDiagJacobian(unsigned int jvar) override;
30 
32  const std::string _base_name;
33 
36 
37 private:
39  const unsigned int _component;
40 
42  const unsigned int _ndisp;
43 
45  const bool _temp_coupled;
46 
47  const unsigned int _temp_var;
48 
50  std::vector<unsigned int> _disp_var;
51 
53  const std::vector<RealGradient> * _orientation;
54 };
const unsigned int _ndisp
Number of displacement variables.
StressDivergenceTensorsTruss(const InputParameters &parameters)
virtual Real computeStiffness(unsigned int i, unsigned int j)
const unsigned int _component
An integer corresponding to the direction this kernel acts in.
const bool _temp_coupled
Whether temperature is coupeld.
const std::string _base_name
Base name of the material system that this kernel applies to.
virtual void computeOffDiagJacobian(unsigned int jvar) override
const std::vector< RealGradient > * _orientation
OutputTools< Real >::VariableValue VariableValue
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
std::vector< unsigned int > _disp_var
Variable numbers of coupled displacement variables.
const MaterialProperty< Real > & _axial_stress
const InputParameters & parameters() const
const MaterialProperty< Real > & _e_over_l
static const std::complex< double > j(0, 1)
Complex number "j" (also known as "i")