示例#1
0
 //конструктор
 public Model(EnvironmentPreset env, double eng, Vector3D pos)
 {
     data     = env;
     energy   = eng;
     position = pos;
     rand     = new Random();
 }
示例#2
0
 public ModellingSession(EnvironmentPreset env, double energy, Vector3D position)
 {
     this.rnd         = new Random();
     this.model       = new Model(env, energy, position);
     this.neutrons    = new List <Result>();
     this.averageL    = new List <DataPoint>();
     this.averageR2   = new List <DataPoint>();
     this.averageTau  = new List <DataPoint>();
     this.averageTauM = new List <DataPoint>();
 }