https://mooseframework.inl.gov
ADSmoothTransitionTestMaterial.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 "Material.h"
13 #include "ADCubicTransition.h"
14 #include "ADWeightedTransition.h"
15 
16 #include "ADReal.h"
17 
22 {
23 public:
25 
26 protected:
27  virtual void computeQpProperties() override;
33  ADReal f1(const ADReal & x) const;
39  ADReal f2(const ADReal & x) const;
45  ADReal df1dx(const ADReal & x) const;
51  ADReal df2dx(const ADReal & x) const;
52 
58  const ADReal _center;
60  const ADReal _width;
67 
68 public:
70 };
ADCubicTransition _cubic_transition
Cubic transition.
const ADReal _center
Center point of transition.
const MooseEnum & _transition_type
Type of transition.
ADReal f2(const ADReal &x) const
Computes right function.
Cubic polynomial transition between two functions of one variable.
const ADVariableValue & _var
Variable the transition depends upon.
ADMaterialProperty< Real > & _matprop
Material property created using the transition_base.
ADSmoothTransitionTestMaterial(const InputParameters &parameters)
const std::vector< double > x
Weighted transition between two functions of one variable.
Class for testing objects derived from ADSmoothTransition.
const ADReal _width
Width of transition.
ADReal df1dx(const ADReal &x) const
Computes left function derivative.
ADReal df2dx(const ADReal &x) const
Computes right function derivative.
const InputParameters & parameters() const
ADReal f1(const ADReal &x) const
Computes left function.
const ADWeightedTransition _weighted_transition
Weighted transition_base.