LCOV - code coverage report
Current view: top level - include/kernels - GeneralizedPlaneStrainOffDiagNOSPD.h (source / functions) Hit Total Coverage
Test: idaholab/moose peridynamics: #31405 (292dce) with base fef103 Lines: 1 1 100.0 %
Date: 2025-09-04 07:55:08 Functions: 1 1 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 "MechanicsBaseNOSPD.h"
      13             : 
      14             : /**
      15             :  * Kernel class for coupled off diagonal Jacobian entries of Form I of horizon stabilized
      16             :  * peridynamic generalized plane strain model
      17             :  */
      18             : class GeneralizedPlaneStrainOffDiagNOSPD : public MechanicsBaseNOSPD
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   GeneralizedPlaneStrainOffDiagNOSPD(const InputParameters & parameters);
      24             : 
      25             : protected:
      26      172088 :   virtual void computeLocalResidual() override{};
      27             :   virtual void computeOffDiagJacobianScalar(unsigned int jvar_num) override;
      28             : 
      29             :   /**
      30             :    * Function to compute the full off diagonal Jacobian for coupling between displacements and
      31             :    * scalar variable
      32             :    * @param component   The index of displacement component
      33             :    * @param jvar_num   The coupled scalar variable number
      34             :    */
      35             :   void computeDispFullOffDiagJacobianScalar(unsigned int component, unsigned int jvar_num);
      36             : 
      37             :   /**
      38             :    * Function to compute partial off diagonal Jacobian for coupling between displacements and scalar
      39             :    * variable
      40             :    * @param component   The index of displacement component
      41             :    * @param jvar_num   The coupled scalar variable number
      42             :    */
      43             :   void computeDispPartialOffDiagJacobianScalar(unsigned int component, unsigned int jvar_num);
      44             : 
      45             :   /**
      46             :    * Function to compute off disgonal Jacobian for coupling between temperature and scalar variable
      47             :    * @param jvar_num   The coupled scalar variable number
      48             :    */
      49             :   void computeTempOffDiagJacobianScalar(unsigned int jvar_num);
      50             : 
      51             :   /// The variable number of the scalar out-of-plane strain variable
      52             :   const unsigned int _scalar_out_of_plane_strain_var_num;
      53             : 
      54             :   DenseMatrix<Number> _ken;
      55             :   DenseMatrix<Number> _kne;
      56             : };

Generated by: LCOV version 1.14