https://mooseframework.inl.gov
Loading...
Searching...
No Matches
StressDivergenceTensorsTruss.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://mooseframework.inl.gov
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{
18public:
20
22
23protected:
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
37private:
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 InputParameters & parameters() const
std::vector< unsigned int > _disp_var
Variable numbers of coupled displacement variables.
const std::vector< RealGradient > * _orientation
const bool _temp_coupled
Whether temperature is coupeld.
const std::string _base_name
Base name of the material system that this kernel applies to.
const unsigned int _ndisp
Number of displacement variables.
virtual Real computeStiffness(unsigned int i, unsigned int j)
virtual void computeOffDiagJacobian(unsigned int jvar) override
const MaterialProperty< Real > & _e_over_l
const MaterialProperty< Real > & _axial_stress
const unsigned int _component
An integer corresponding to the direction this kernel acts in.
VariableValueTempl< false > VariableValue