Esempio n. 1
0
        public static DynamicEOMS GetEomClass(XmlNode dynamicStateXMLNode)
        {
            string      eomsType = dynamicStateXMLNode["EOMS"].GetAttribute("EOMSType");
            DynamicEOMS Eoms     = (eomsType == "scripted") ? (DynamicEOMS)(new ScriptedEOMS(dynamicStateXMLNode["EOMS"])) : new OrbitalEOMS();

            return(Eoms);
        }
Esempio n. 2
0
 public DynamicState(DynamicStateType type, DynamicEOMS eoms, Vector initialConditions)
 {
     _stateData.Add(0.0, initialConditions);
     Type = type;
     Eoms = eoms;
     //_stateDataTimeStep = stateDataTimeStep;
 }