LCOV - code coverage report
Current view: top level - include/kernels/lagrangian - TotalLagrangianStressDivergenceAxisymmetricCylindrical.h (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: #33390 (250e9c) with base 846a5c Lines: 8 10 80.0 %
Date: 2026-07-31 18:20:40 Functions: 2 2 100.0 %
Legend: Lines: hit not hit

          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         776 : TotalLagrangianStressDivergenceBase<GradientOperatorAxisymmetricCylindrical>::validParams()
      17             : {
      18         776 :   InputParameters params = TotalLagrangianStressDivergenceBase::baseParams();
      19         776 :   params.addClassDescription("Enforce equilibrium with a total Lagrangian formulation in "
      20             :                              "axisymmetric cylindrical coordinates.");
      21         776 :   return params;
      22           0 : }
      23             : 
      24             : template <>
      25             : void
      26         388 : TotalLagrangianStressDivergenceBase<GradientOperatorAxisymmetricCylindrical>::initialSetup()
      27             : {
      28             :   // Derives _large_kinematics from the strain calculator's LARGE_KINEMATICS guarantee.
      29         388 :   LagrangianStressDivergenceBase::initialSetup();
      30             : 
      31         388 :   if (getBlockCoordSystem() != Moose::COORD_RZ)
      32           0 :     mooseError("This kernel should only act in axisymmetric cylindrical coordinates.");
      33         388 : }
      34             : 
      35             : typedef TotalLagrangianStressDivergenceBase<GradientOperatorAxisymmetricCylindrical>
      36             :     TotalLagrangianStressDivergenceAxisymmetricCylindrical;
      37             : 
      38             : extern template class TotalLagrangianStressDivergenceBase<GradientOperatorAxisymmetricCylindrical>;

Generated by: LCOV version 1.14