Ejemplo n.º 1
0
        public bool isFEMModelReady(String fn)
        {
            // check if FEMM and ANS file existed or not
            if (File.Exists(fn))
            {
                // check if FEMM was built using which parameters (use md5 to check)
                String md5 = FEMM.mi_getFEMMComment(fn);
                if (md5 == GetMD5String())
                {
                    //log.Info("No Action needed. File existed and analyzed: " + Path_FEMMFile);
                    return(true);
                }
            }

            return(false);
        }