コード例 #1
0
 /// <summary>
 /// Constructer
 /// </summary>
 /// <param name="n"></param>
 /// <param name="input_opt"></param>
 /// <param name="outp"></param>
 public cTreatment_UnderOverSolver(string n, Treatment_InOut input_opt, Treatment_InOut outp) :
     base(n, n)
 {
     Name          = n;
     input_options = input_opt;
     //output_struct = outp;
 }
コード例 #2
0
        public Treatment_SenAnal(string n, Treatment_InOut input_opt, Treatment_InOut outp) :
            base(n, n)
        {
            Name          = n;
            input_options = input_opt;
            output_struct = outp;

            count    = input_options.setuplist.Count;
            input    = new Data[count];
            output   = new Data[count];
            xi       = new double[count];
            xn       = new double[count];
            option   = new string[count];
            stepSize = new double[count];
            for (int i = 0; i < count; i++)
            {
                string[] list = input_options.setuplist[i] as string[];
                input[i]    = Project.GetData(list[0]);
                output[i]   = Project.GetData(list[1]);
                xi[i]       = Convert.ToDouble(list[2]);
                xn[i]       = Convert.ToDouble(list[3]);
                option[i]   = list[4];
                stepSize[i] = Convert.ToDouble(list[5]);
            }
        }
コード例 #3
0
 public Treatment_TradeStudy_TS(string n, Treatment_InOut input_opt, Treatment_InOut outp) :
     base(n, n)
 {
     Name          = n;
     input_options = input_opt;
     output_struct = outp;
 }