LCOV - code coverage report
Current view: top level - src/materials/cohesive_zone_model - CZMComputeGlobalTractionSmallStrain.C (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: #31405 (292dce) with base fef103 Lines: 13 14 92.9 %
Date: 2025-09-04 07:57:23 Functions: 3 3 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             : #include "CZMComputeGlobalTractionSmallStrain.h"
      11             : 
      12             : registerMooseObject("SolidMechanicsApp", CZMComputeGlobalTractionSmallStrain);
      13             : 
      14             : InputParameters
      15         308 : CZMComputeGlobalTractionSmallStrain::validParams()
      16             : {
      17         308 :   InputParameters params = CZMComputeGlobalTractionBase::validParams();
      18             : 
      19         308 :   params.addClassDescription(
      20             :       "Computes the czm traction in global coordinates for a small strain kinematic formulation");
      21         308 :   return params;
      22           0 : }
      23             : 
      24         147 : CZMComputeGlobalTractionSmallStrain::CZMComputeGlobalTractionSmallStrain(
      25         147 :     const InputParameters & parameters)
      26         147 :   : CZMComputeGlobalTractionBase(parameters)
      27             : {
      28         147 : }
      29             : 
      30             : void
      31       44328 : CZMComputeGlobalTractionSmallStrain::computeEquilibriumTracionAndDerivatives()
      32             : {
      33       44328 :   _traction_global[_qp] = _czm_total_rotation[_qp] * _interface_traction[_qp];
      34       44328 :   _dtraction_djump_global[_qp] = _czm_total_rotation[_qp] * _dinterface_traction_djump[_qp] *
      35       44328 :                                  _czm_total_rotation[_qp].transpose();
      36       44328 : }

Generated by: LCOV version 1.14