LCOV - code coverage report
Current view: top level - include/auxkernels - DomainIntegralTopologicalQFunction.h (source / functions) Hit Total Coverage
Test: idaholab/moose solid_mechanics: f45d79 Lines: 1 1 100.0 %
Date: 2025-07-25 05:00:39 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 "AuxKernel.h"
      13             : #include "CrackFrontDefinition.h"
      14             : 
      15             : /**
      16             :  * Coupled auxiliary value
      17             :  */
      18             : class DomainIntegralTopologicalQFunction : public AuxKernel
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             : 
      23             :   /**
      24             :    * Factory constructor, takes parameters so that all derived classes can be built using the same
      25             :    * constructor.
      26             :    */
      27             :   DomainIntegralTopologicalQFunction(const InputParameters & parameters);
      28             : 
      29         156 :   virtual ~DomainIntegralTopologicalQFunction() {}
      30             : 
      31             : protected:
      32             :   virtual void initialSetup();
      33             :   virtual Real computeValue();
      34             : 
      35             : private:
      36             :   const unsigned int _ring_number;
      37             :   const CrackFrontDefinition * const _crack_front_definition;
      38             :   bool _has_crack_front_point_index;
      39             :   const unsigned int _crack_front_point_index;
      40             :   bool _treat_as_2d;
      41             : };

Generated by: LCOV version 1.14