2 using System.Collections;
11 name =
"ShimizuMorioka";
13 eqnStrings =
new string[]{
21 new ParamBundle(
"default (scaled)", 0.85f, 0.5f, 0f,
22 new Vector3(.1f, .1f, .1f),
new Vector3(-000.1f,000.2f,-001.1f), 04.23f),
24 new Vector3(.1f,.1f,.1f)),
27 paramNames =
new string[] {
"a",
"b",
ChaoticSystem.NO_PARAM};
37 public override void Function(ref
float[] x_in, ref
float[] x_out) {
39 x_out[1] = x_in[0] - a*x_in[1] - x_in[0]*x_in[2];
40 x_out[2] = -b*x_in[2] + x_in[0]*x_in[0];
override void SetParams(ParamBundle pb)
Sets the parameter bunlde to be used by the system.
Chaotic system. Base class for chaotic scripts. Holds the type of system selected, the parameter set or the custom parameters to be used.
override void Function(ref float[] x_in, ref float[] x_out)
Evaluate the first order evolution of the attractor, given the current position.
float[] eqnParam
parameters used in the equation
Chaos eqn. Base class for all equations that define a 3D chaotic system.
Parameter bundle. Container class to hold the values for starting a chaotic system. Holds the parameters for the equations and the initial position and scale values.