示例#1
0
        protected void LoadFrom_Solver_ND_Static(FEMSolver_ND_Static TheSolver)
        {
            LoadFrom_Solver_ND(TheSolver);

            this.Elements         = TheSolver.Elements;
            this.BoundaryElements = TheSolver.BoundaryElements;
            this.U = TheSolver.U;
        }
示例#2
0
        public override void LoadFromFile(string FileName)
        {
            IFormatter          formatter = new BinaryFormatter();
            Stream              stream    = new FileStream(FileName, FileMode.Open, FileAccess.Read, FileShare.Read);
            FEMSolver_ND_Static TheSolver = (FEMSolver_ND_Static)formatter.Deserialize(stream);

            LoadFrom_Solver_ND_Static(TheSolver);

            stream.Close();
        }