Exemplo n.º 1
0
        private LevelDataDictionary <RigidAnalysis> GenerateRigidAnalyses()
        {
            var analyses = new LevelDataDictionary <RigidAnalysis>();

            foreach (BuildingLevelLateral2 level in _lateralLevels)
            {
                IEnumerable <AnalyticalWallLateral> wallsAtLevel = _lateralWallList.Where(w => w.TopLevel.Equals(level.Level));

                List <LateralLevelForce> forcesAtLevel = _elf.AppliedForces[level.Level];

                analyses.Add(new RigidAnalysis(level, wallsAtLevel, forcesAtLevel, CommonResources.ASCE7SeismicELFLoadCases(),
                                               _serializedModel.SeismicParameters.SystemParameters.Cd));
            }

            return(analyses);
        }