- functionsThe functions to be multiplied together.
C++ Type:std::vector
Description:The functions to be multiplied together.
- scale_factor1Scale factor to be applied to the ordinate values
Default:1
C++ Type:double
Description:Scale factor to be applied to the ordinate values
CompositeFunction
Multiplies an arbitrary set of functions together
Description
The CompositeFunction
type takes an arbitrary set of functions, provided in the functions
parameter, evaluates each of them at the appropriate time and position, and multiplies them together. The function can optionally be multiplied by a scale factor, which is specified using the scale_factor
parameter.
Example Input Syntax
[Functions]
active = 'ff_1 ff_2 forcing_func bc_func'
[./ff_1]
type = ParsedFunction
value = alpha*alpha*pi
vars = 'alpha'
vals = '16'
[../]
[./ff_2]
type = ParsedFunction
value = pi*sin(alpha*pi*x)
vars = 'alpha'
vals = '16'
[../]
[./forcing_func]
type = CompositeFunction
functions = 'ff_1 ff_2'
[../]
[./bc_func]
type = ParsedFunction
value = sin(alpha*pi*x)
vars = 'alpha'
vals = '16'
[../]
[]
(../moose/test/tests/bcs/function_dirichlet_bc/function_dirichlet_bc_test.i)Input Parameters
- control_tagsAdds user-defined labels for accessing object parameters via control logic.
C++ Type:std::vector
Description:Adds user-defined labels for accessing object parameters via control logic.
- enableTrueSet the enabled status of the MooseObject.
Default:True
C++ Type:bool
Description:Set the enabled status of the MooseObject.