https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CosineTransitionFunction.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
13#include "WeightedTransition.h"
14
23{
24public:
26
27 using Function::value;
28 virtual Real value(Real t, const Point & p) const;
29 virtual RealVectorValue gradient(Real t, const Point & p) const;
30
31protected:
34
35public:
37};
const Real p
Computes a cosine transtition of a user-specified width between two values.
virtual RealVectorValue gradient(Real t, const Point &p) const
const WeightedTransition _transition
Transition object.
static InputParameters validParams()
virtual Real value(Real t, const Point &p) const
virtual Real value(Real t, const Point &p) const
const InputParameters & parameters() const
Base class for functions to smoothly transition from one function to another.
Weighted transition between two functions of one variable.