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: f45d79 Lines: 13 14 92.9 %
Date: 2025-07-25 05:00:39 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         264 : CZMComputeGlobalTractionSmallStrain::validParams()
      16             : {
      17         264 :   InputParameters params = CZMComputeGlobalTractionBase::validParams();
      18             : 
      19         264 :   params.addClassDescription(
      20             :       "Computes the czm traction in global coordinates for a small strain kinematic formulation");
      21         264 :   return params;
      22           0 : }
      23             : 
      24         126 : CZMComputeGlobalTractionSmallStrain::CZMComputeGlobalTractionSmallStrain(
      25         126 :     const InputParameters & parameters)
      26         126 :   : CZMComputeGlobalTractionBase(parameters)
      27             : {
      28         126 : }
      29             : 
      30             : void
      31       33424 : CZMComputeGlobalTractionSmallStrain::computeEquilibriumTracionAndDerivatives()
      32             : {
      33       33424 :   _traction_global[_qp] = _czm_total_rotation[_qp] * _interface_traction[_qp];
      34       33424 :   _dtraction_djump_global[_qp] = _czm_total_rotation[_qp] * _dinterface_traction_djump[_qp] *
      35       33424 :                                  _czm_total_rotation[_qp].transpose();
      36       33424 : }

Generated by: LCOV version 1.14