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 "ComputeLagrangianStrainBase.h" 13 : 14 : template <> 15 : inline InputParameters 16 4394 : ComputeLagrangianStrainBase<GradientOperatorCartesian>::validParams() 17 : { 18 4394 : InputParameters params = ComputeLagrangianStrainBase::baseParams(); 19 4394 : params.addClassDescription("Compute strain in Cartesian coordinates."); 20 4394 : return params; 21 0 : } 22 : 23 : template <> 24 : inline void 25 3288 : ComputeLagrangianStrainBase<GradientOperatorCartesian>::initialSetup() 26 : { 27 3288 : if (getBlockCoordSystem() != Moose::COORD_XYZ) 28 0 : mooseError("This kernel should only act in Cartesian coordinates."); 29 3288 : } 30 : 31 : typedef ComputeLagrangianStrainBase<GradientOperatorCartesian> ComputeLagrangianStrain;