LCOV - code coverage report
Current view: top level - include/kernels - AllenCahnElasticEnergyOffDiag.h (source / functions) Hit Total Coverage
Test: idaholab/moose phase_field: #31405 (292dce) with base fef103 Lines: 0 1 0.0 %
Date: 2025-09-04 07:55:36 Functions: 0 1 0.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 "DerivativeMaterialInterface.h"
      13             : #include "JvarMapInterface.h"
      14             : #include "Kernel.h"
      15             : #include "RankTwoTensorForward.h"
      16             : 
      17             : /**
      18             :  * This kernel computes the off-diagonal jacobian of elastic energy in AllenCahn respect to
      19             :  * displacements
      20             :  */
      21             : class AllenCahnElasticEnergyOffDiag
      22             :   : public DerivativeMaterialInterface<JvarMapKernelInterface<Kernel>>
      23             : {
      24             : public:
      25             :   static InputParameters validParams();
      26             : 
      27             :   AllenCahnElasticEnergyOffDiag(const InputParameters & parameters);
      28             : 
      29             : protected:
      30           0 :   Real computeQpResidual() override { return 0.0; }
      31             : 
      32             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      33             : 
      34             :   /// Mobility
      35             :   const MaterialProperty<Real> & _L;
      36             : 
      37             :   /// Displacement variables used for off-diagonal Jacobian
      38             :   JvarMap _disp_map;
      39             : 
      40             :   /// Free energy material properties and derivatives
      41             :   const MaterialProperty<RankTwoTensor> & _d2Fdcdstrain;
      42             : };

Generated by: LCOV version 1.14