コード例 #1
0
        public OutputDate3D CulcTeploParal3D(InputDate3D inputDate)
        {
            OutputDate3D mass_data = new OutputDate3D();
            ILogger      log       = new NLogAdapter();

            double[,,] array1 = ToMulti3D(inputDate.Mass_u);

            double h     = inputDate.H;
            double time  = inputDate.Time;
            double tau   = inputDate.Tau;
            Teplo  teplo = new Teplo(log);

            double[,,] array2    = teplo.ЗDParalCulc(array1, time, tau, h);
            mass_data.Culc_Teplo = ToJagged3D(array2);
            return(mass_data);
        }
コード例 #2
0
        public OutputDate3D CulcTeploPosl3D(InputDate3D inputDate)
        {
            OutputDate3D mass_data = new OutputDate3D();

            double[,,] array1 = ToMulti3D(inputDate.Mass_u);

            double h     = inputDate.H;
            double time  = inputDate.Time;
            double tau   = inputDate.Tau;
            Teplo  teplo = new Teplo();

            double[,,] array2 = teplo.PoslCulс3D(array1, time, tau, h);

            mass_data.Culc_Teplo = ToJagged3D(array2);
            return(mass_data);
        }