LCOV - code coverage report
Current view: top level - include/auxkernels - RadialDisplacementSphereAux.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             : 
      14             : /**
      15             :  * Calculates the radial displacement for spherical geometries.
      16             :  * Works for 3D, 2D axisymmetric, and 1D geometries
      17             :  */
      18             : 
      19             : class RadialDisplacementSphereAux : public AuxKernel
      20             : {
      21             : public:
      22             :   static InputParameters validParams();
      23             : 
      24             :   RadialDisplacementSphereAux(const InputParameters & parameters);
      25             : 
      26          36 :   virtual ~RadialDisplacementSphereAux() {}
      27             : 
      28             : protected:
      29             :   /// Compute the value of the radial displacement
      30             :   virtual Real computeValue();
      31             : 
      32             :   /// Type of coordinate system
      33             :   Moose::CoordinateSystemType _coord_system;
      34             : 
      35             :   /// Number of displacment components.
      36             :   const unsigned int _ndisp;
      37             :   /// Coupled variable values of the displacement components.
      38             :   const std::vector<const VariableValue *> _disp_vals;
      39             : 
      40             :   /// Point used to define an origin for 2D axisymmetric or
      41             :   /// 3D Cartesian systems.
      42             :   RealVectorValue _origin;
      43             : };

Generated by: LCOV version 1.14