Line data Source code
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 "ADStressDivergenceTensors.h" 13 : 14 : /** 15 : * ADStressDivergenceRSphericalTensors is the automatic differentiation version of 16 : * StressDivergenceTensors. Within this kernel the first displacement component refers to 17 : * displacement in the radial direction. The COORD_TYPE in the Problem block must be set to 18 : * RSPHERICAL. 19 : */ 20 : class ADStressDivergenceRSphericalTensors : public ADStressDivergenceTensors 21 : { 22 : public: 23 : static InputParameters validParams(); 24 : 25 : ADStressDivergenceRSphericalTensors(const InputParameters & parameters); 26 : 27 : protected: 28 : void initialSetup() override; 29 : 30 : ADReal computeQpResidual() override; 31 3084 : void precalculateResidual() override {} 32 : };