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 "TotalLagrangianStressDivergenceBase.h" 13 : 14 : template <> 15 : inline InputParameters 16 3880 : TotalLagrangianStressDivergenceBase<GradientOperatorCartesian>::validParams() 17 : { 18 3880 : InputParameters params = TotalLagrangianStressDivergenceBase::baseParams(); 19 3880 : params.addClassDescription( 20 : "Enforce equilibrium with a total Lagrangian formulation in Cartesian coordinates."); 21 3880 : return params; 22 0 : } 23 : 24 : template <> 25 : inline void 26 1934 : TotalLagrangianStressDivergenceBase<GradientOperatorCartesian>::initialSetup() 27 : { 28 1934 : if (getBlockCoordSystem() != Moose::COORD_XYZ) 29 0 : mooseError("This kernel should only act in Cartesian coordinates."); 30 1934 : } 31 : 32 : typedef TotalLagrangianStressDivergenceBase<GradientOperatorCartesian> 33 : TotalLagrangianStressDivergence;