https://mooseframework.inl.gov
thermal_hydraulics
src
utils
ADSmoothTransition.C
Go to the documentation of this file.
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 "
ADSmoothTransition.h
"
11
12
ADSmoothTransition::ADSmoothTransition
(
const
ADReal
& x_center,
const
ADReal
& transition_width)
13
: _x_center(x_center),
14
_transition_width(transition_width),
15
_x1(_x_center - 0.5 * _transition_width),
16
_x2(_x_center + 0.5 * _transition_width)
17
{
18
}
ADSmoothTransition::ADSmoothTransition
ADSmoothTransition(const ADReal &x_center, const ADReal &transition_width)
Constructor.
Definition:
ADSmoothTransition.C:12
ADSmoothTransition.h
MetaPhysicL::DualNumber
Generated on Fri Jul 18 2025 11:57:49 for https://mooseframework.inl.gov by
1.8.14