https://mooseframework.inl.gov
Loading...
Searching...
No Matches
SmoothTransitionFunction.h
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#pragma once
11
12#include "Function.h"
13#include "FunctionInterface.h"
14
23{
24public:
26
27protected:
29 const unsigned int _component;
31 const bool _use_time;
32
37
39 const Real & _x_center;
41 const Real & _transition_width;
42
43public:
45};
const InputParameters & parameters() const
Base class for functions to smoothly transition from one function to another.
const Function & _function2
Second function.
static InputParameters validParams()
const Function & _function1
First function.
const Real & _x_center
Center point of transition.
const bool _use_time
Use the time axis for transition?
const Real & _transition_width
Width of transition.
const unsigned int _component
Component index of axis on which transition occurs.