KokkosConstantFunction

This is the Kokkos version of ConstantFunction. See the original document for details.

Example Syntax

  [constant]
    type = KokkosConstantFunction
    value = 2
  []
(test/tests/kokkos/functions/constant_function/kokkos_constant_function.i)

Input Parameters

  • value0The constant value

    Default:0

    C++ Type:double

    Unit:(no unit assumed)

    Controllable:Yes

    Description:The constant value

Optional Parameters

  • control_tagsAdds user-defined labels for accessing object parameters via control logic.

    C++ Type:std::vector<std::string>

    Controllable:No

    Description:Adds user-defined labels for accessing object parameters via control logic.

  • enableTrueSet the enabled status of the MooseObject.

    Default:True

    C++ Type:bool

    Controllable:No

    Description:Set the enabled status of the MooseObject.

Advanced Parameters