https://mooseframework.inl.gov
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 {
24 public:
26 
27 protected:
29  const unsigned int _component;
31  const bool _use_time;
32 
37 
39  const Real & _x_center;
42 
43 public:
45 };
static InputParameters validParams()
const Function & _function1
First function.
Base class for functions to smoothly transition from one function to another.
const Function & _function2
Second function.
SmoothTransitionFunction(const InputParameters &parameters)
const Real & _x_center
Center point of transition.
const Real & _transition_width
Width of transition.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const bool _use_time
Use the time axis for transition?
const unsigned int _component
Component index of axis on which transition occurs.
const InputParameters & parameters() const