LCOV - code coverage report
Current view: top level - src/utils - SmoothTransition.C (source / functions) Hit Total Coverage
Test: idaholab/moose thermal_hydraulics: #30301 (3b550b) with base 2ad78d Lines: 6 6 100.0 %
Date: 2025-07-30 13:02:48 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             : #include "SmoothTransition.h"
      11             : 
      12         390 : SmoothTransition::SmoothTransition(const Real & x_center, const Real & transition_width)
      13         390 :   : _x_center(x_center),
      14         390 :     _transition_width(transition_width),
      15         390 :     _x1(_x_center - 0.5 * _transition_width),
      16         390 :     _x2(_x_center + 0.5 * _transition_width)
      17             : {
      18         390 : }

Generated by: LCOV version 1.14