//*********************************************************************************** //* Class for Lorenz ODE */ //*********************************************************************************** public class LorenzFunction extends OdesFunction { LorenzFunction(int n) { super(n); x0=new double[n]; x0[0]=0.; x0[1]=2.; x0[2]=5.; x0[3]=20.; dt=0.01; trans=10.; ghostTime=10.; poincareSection=31; title="Lorenz Model"; nParameters=3; aDefault=new double[nParameters]; aDefault[0]=28; aDefault[1]=2.667; aDefault[2]=10.; a=new double[nParameters]; } //*********************************************************************************** /** Sets the equation paramters * @param paramters the array of input paramters */ //*********************************************************************************** public void setParameters(double[] parameters) { for(int i=0; i