Beispiel #1
0
 public static EOMS GetEomClass(XmlNode dynamicStateXMLNode)
 {
     EOMS Eoms = new OrbitalEOMS(); //default is orbitaleoms
     string eomsType = dynamicStateXMLNode["EOMS"].GetAttribute("EOMSType");
     if (eomsType == "scripted")
         Eoms = new ScriptedEOMS(dynamicStateXMLNode["EOMS"]);
     return Eoms;
 }
Beispiel #2
0
        public static EOMS GetEomClass(XmlNode dynamicStateXMLNode)
        {
            EOMS   Eoms     = new OrbitalEOMS(); //default is orbitaleoms
            string eomsType = dynamicStateXMLNode["EOMS"].GetAttribute("EOMSType");

            if (eomsType == "scripted")
            {
                Eoms = new ScriptedEOMS(dynamicStateXMLNode["EOMS"]);
            }
            return(Eoms);
        }