Factory:org.bzdev.devqsim.SimFunctionTwoFactory
Parameter Types
(optional keytype)
(value type)
Range RV Mode Add/Set
f11Name
Function Name for ∂²f/∂x₁²
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂²f/∂x₁²
f12Name
Function Name for ∂²f/(∂x₁∂x₂)
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂²f/(∂x₁∂x₂)
f1Name
Function Name for ∂f/∂x₁
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂f/∂x₁
f21Name
Function Name for ∂²f/(∂x₂∂x₁)
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂²f/(∂x₂∂x₁)
f22Name
Function Name for ∂²f/∂x₂²
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂²f/∂x₂²
f2Name
Function Name for ∂f/∂x₂
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing ∂f/∂x₂
fName
Function Name for f(x₁,x₂)
java.lang.String N/A false set
Scripting-language function name for a function with two variables computing f(x₁,x₂)
object
Specification for Functions
java.lang.String N/A false set
Specification for an object representing a real-valued function of two arguments and its 1st and 2nd derivatives
This parameter's value is an object representing the function and its derivatives. The object may be
  • An instance of RealValuedFunctionTwo. The value is used directly.
  • An instance of RealValuedFunctTwoOps. The value is used to construct an instance of RealValuedFunctionTwo, which is then used directly.
  • A String. The string will be evaluated as a script, and must produce a scripting-language object with methods named "valueAt", "deriv1At", "deriv2At", "deriv11At", "deriv12At", "deriv21At", and "deriv22At". These methods provide the value of he function, and the values of its first and second partial derivatives.
  • A scripting-language object with methods named "valueAt", "deriv1At", "deriv2At", "deriv11At", "deriv12At", "deriv21At", and "deriv22At". These methods provide the value of the function and the values of its first and second partial derivatives. If any are missing, the corresponding operation is not supported.
All the methods and functions return a double-precision number and take a two double-precision numbers as their arguments.

While the type of the value is listed as String, an additional overridden setmethod allows the type to be an arbitrary object to handle some of the values described above.

timeline
Timeline
int N/A false add
Timeline entries (use only to clear)
This is an integer-keyed set of values that define changes in an object's configuration. Subclasses may provide additional timeline parameters.
timeline.time
Time
int
java.lang.Double
[-∞, ∞] false set
The time for a timeline entry
This parameter must be provided if a timeline entry exists. The units are those used by the double-precession time unit for the simulation (for animations, this is generally seconds).
timeline.traceSetMode
TraceSet Mode
int
org.bzdev.devqsim.TraceSetMode
N/A false set
The trace-set mode for a timeline entry
This parameter indicates how the trace sets associated with a timeline entry should be interpreted. The values are an enumeration whose type is org.bzdev.devqsim.TraceSetMode and are used as follows:
  • KEEP - keep the existing trace sets, adding additional ones specified by the parameter timeline.traceSets.
  • REMOVE - remove the trace sets specified by the parameter timeline.traceSets.
  • REPLACE - remove all existing trace sets and replace those with the ones specified by the timeline.traceSets parameter.
timeline.traceSets
Trace Sets
int
org.bzdev.devqsim.TraceSet
N/A false add
The trace sets for a timeline entry
This parameter represents a set of TraceSet objects (the three-argument add method is used to add entries). How the entries are interpreted depends on the trace set mode for this timeline entry.
traceSets
Trace Sets
org.bzdev.devqsim.TraceSet N/A false add
A set of TraceSet objects, used for tracing
This parameter provides a set of TraceSets a SimObject will use for tracing. One should use the add and remove factory methods as this parameter refers to a set of values.