LCOV - code coverage report
Current view: top level - include/auxkernels - CylindricalRankTwoAux.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 "RankTwoTensor.h"
      14             : 
      15             : /**
      16             :  * CylindricalRankTwoAux is designed to take the data in the CylindricalRankTwoTensor material
      17             :  * property, for example stress or strain, and output the value for the
      18             :  * supplied indices in cylindrical coordinates, where the cylindrical plane axis is
      19             :  * along the z-axis and the center point in the x-y plan is defined by by center_point.
      20             :  */
      21             : 
      22             : class CylindricalRankTwoAux : public AuxKernel
      23             : {
      24             : public:
      25             :   static InputParameters validParams();
      26             : 
      27             :   CylindricalRankTwoAux(const InputParameters & parameters);
      28          48 :   virtual ~CylindricalRankTwoAux() {}
      29             : 
      30             : protected:
      31             :   virtual Real computeValue();
      32             :   const MaterialProperty<RankTwoTensor> & _tensor;
      33             :   const unsigned int _i;
      34             :   const unsigned int _j;
      35             :   const Point _center_point;
      36             : };

Generated by: LCOV version 1.14