create
Creates a DiscreteFieldFunction with a predefined result. Enables a DiscreteField to be used in contexts that expect a DiscreteFieldFunction by setting the result of the function explicitly.
Call DiscreteFieldFunction.evaluate to return the given result.
Return
A DiscreteFieldFunction with a predefined result.
Since
300.0.0
Parameters
result
The predefined function result.