Ejemplo n.º 1
0
        private void FF()
        {
            n = 200;
            int N = 100;


            L[0].perm = 10;
            L[0].R    = 0.43;
            L[1].perm = 1;
            L[1].R    = 1;

            critCond = new WorkObject.CRIT[3 * n];

            obj = new WorkObject();
            //obj.dispchar = obj.dispersion(n, N, 0.01, 1, 10, 0.7);
            critCond = obj.Crit(n, 0.1, 40, 0.05, 1, L, false);
        }
Ejemplo n.º 2
0
        void bw_DoWork(object sender, System.ComponentModel.DoWorkEventArgs e)
        {
            sw1.Start();
            n = 200;
            int N = 20;

            L[0].perm = 10;
            L[0].R    = 0.43;
            L[1].perm = 1;
            L[1].R    = 1;

            critCond = new WorkObject.CRIT[3 * n];

            obj = new WorkObject();
            //obj.dispchar = obj.dispersion(n, N, 0.01, 1, 10, 0.7);
            critCond = obj.Crit(n, 0.1, N, 2.0 / N, 1, L, false);
        }