public TimeHistoryModalLinear(string name) : base(name)
        {
#if !BUILD_ETABS2015 && !BUILD_ETABS2016 && !BUILD_ETABS2017
            ModalCase = new ModalCaseHelper(name, _timeHistoryModalLinear, _timeHistoryModalLinear);
            Damping   = new DampingHelper(name, _timeHistoryModalLinear);
#endif
        }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:MPT.CSI.OOAPI.Core.Program.Model.Loads.Cases.StaticNonlinear" /> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <inheritdoc />
 public StaticNonlinear(string name) : base(name)
 {
     Loads             = new LoadsAppliedHelper(name, _staticNonlinear);
     InitialCase       = new InitialCaseHelper(name, _staticNonlinear);
     MassSource        = new MassSourceHelper(name, _staticNonlinear);
     ModalCase         = new ModalCaseHelper(name, _staticNonlinear, _staticNonlinear);
     NonlinearSettings = new NonlinearSettingsHelper <ApiStaticNonlinear>(name, _staticNonlinear);
 }
示例#3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="T:MPT.CSI.OOAPI.Core.Program.Model.Loads.Cases.ResponseSpectrum" /> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <inheritdoc />
        public ResponseSpectrum(string name) : base(name)
        {
#if !BUILD_ETABS2015 && !BUILD_ETABS2016 && !BUILD_ETABS2017
            ModalCase = new ModalCaseHelper(name, _responseSpectrum, _responseSpectrum);
#else
            ModalCase = new ModalCaseHelper(name, _responseSpectrum);
#endif
            Damping = new DampingHelper(name, _responseSpectrum);
        }
示例#4
0
        /// <summary>
        /// Factories the specified case name.
        /// </summary>
        /// <param name="caseName">Name of the case.</param>
        /// <param name="appGet">The application get.</param>
        /// <param name="csiApp">The csi application.</param>
        /// <param name="loadCases">The load cases.</param>
        /// <param name="appSet">The application set.</param>
        /// <returns>ModalCaseHelper.</returns>
        internal static ModalCaseHelper Factory(string caseName,
                                                IObservableModalCase appGet,
                                                ApiCSiApplication csiApp,
                                                LoadCases loadCases,
                                                IChangeableModalCase appSet = null)
        {
            ModalCaseHelper modalCaseHelper = new ModalCaseHelper(caseName, appGet, csiApp, loadCases, appSet);

            modalCaseHelper.FillModalCase();
            return(modalCaseHelper);
        }