Пример #1
0
 public void SetMethod(string name,
                       bool considerSteelRelaxation,
                       eCEBFIP90Class classification,
                       eIntegrationType integrationType,
                       int numberSeriesTerms,
                       double temperature = 0)
 {
 }
Пример #2
0
 /// <summary>
 /// This function sets the time dependent CEB FIP-90 material property data for tendon materials.
 /// </summary>
 /// <param name="name">The name of an existing tendon material property.</param>
 /// <param name="considerSteelRelaxation">True: Time dependence is considered for tendon steel relaxation.</param>
 /// <param name="classification">The CEB FIP-90 class.
 /// This item applies only when <paramref name="considerSteelRelaxation" /> = True.</param>
 /// <param name="integrationType">The steel relaxation integration type.</param>
 /// <param name="numberSeriesTerms">This is the number of series terms used when integrating based on a Dirichlet series.
 /// This item applies only when <paramref name="considerSteelRelaxation" /> = True and <paramref name="integrationType" /> = <see cref="eIntegrationType.DirichletSeries" />.</param>
 /// <param name="temperature">This item is the temperature at which the specified data is to be retrieved.
 /// The temperature must have been previously defined for the material.
 /// This item applies only if the specified material has properties that are temperature dependent.
 /// That is, it applies only if properties are specified for the material at more than one temperature.</param>
 /// <exception cref="CSiException"></exception>
 /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
 public void SetMethod(string name,
                       bool considerSteelRelaxation,
                       eCEBFIP90Class classification,
                       eIntegrationType integrationType,
                       int numberSeriesTerms,
                       double temperature = 0)
 {
     _callCode = _sapModel.PropMaterial.TimeDep.SetTendonCEBFIP90(name, considerSteelRelaxation, (int)classification, (int)integrationType, numberSeriesTerms, temperature);
     if (throwCurrentApiException(_callCode))
     {
         throw new CSiException();
     }
 }
Пример #3
0
        /// <summary>
        /// This function retrieves the time dependent CEB FIP-90 material property data for tendon materials.
        /// The function returns an error if the specified material is not tendon.
        /// TODO: Handle this.
        /// </summary>
        /// <param name="name">The name of an existing tendon material property.</param>
        /// <param name="considerSteelRelaxation">True: Time dependence is considered for tendon steel relaxation.</param>
        /// <param name="classification">The CEB FIP-90 class.
        /// This item applies only when <paramref name="considerSteelRelaxation" /> = True.</param>
        /// <param name="integrationType">The steel relaxation integration type.</param>
        /// <param name="numberSeriesTerms">This is the number of series terms used when integrating based on a Dirichlet series.
        /// This item applies only when <paramref name="considerSteelRelaxation" /> = True and <paramref name="integrationType" /> = <see cref="eIntegrationType.DirichletSeries" />.</param>
        /// <param name="temperature">This item is the temperature at which the specified data is to be retrieved.
        /// The temperature must have been previously defined for the material.
        /// This item applies only if the specified material has properties that are temperature dependent.
        /// That is, it applies only if properties are specified for the material at more than one temperature.</param>
        /// <exception cref="CSiException"></exception>
        /// <exception cref="MPT.CSI.API.Core.Support.CSiException"></exception>
        public void GetMethod(string name,
                              ref bool considerSteelRelaxation,
                              ref eCEBFIP90Class classification,
                              ref eIntegrationType integrationType,
                              ref int numberSeriesTerms,
                              double temperature = 0)
        {
            int csiClass           = 0;
            int csiIntegrationType = 0;

            _callCode = _sapModel.PropMaterial.TimeDep.GetTendonCEBFIP90(name, ref considerSteelRelaxation, ref csiClass, ref csiIntegrationType, ref numberSeriesTerms, temperature);
            if (throwCurrentApiException(_callCode))
            {
                throw new CSiException();
            }

            classification  = (eCEBFIP90Class)csiClass;
            integrationType = (eIntegrationType)csiIntegrationType;
        }