/// <summary>
 /// Initializes the object with the AccelLoad and default Scale factor(1.0).
 /// </summary>
 /// <param name="acceleration">AccelLoad applied to the Response Spectrum</param>
 public ResponseSpectrumCaseFactor(AnalysisCaseAppliedLoad acceleration)
     : this(acceleration, 1)
 {
 }
 private static ModalCaseFactor Contains(IList<ModalCaseFactor> list, AnalysisCaseAppliedLoad load)
 {
     foreach (ModalCaseFactor mcf in list)
         if (mcf.AppliedLoad.Equals(load))
             return mcf;
     return null;
 }
Beispiel #3
0
 /// <summary>
 /// Assigns the Applied Load and default values for Cycles(0) and Ratio(99)
 /// </summary>
 /// <param name="load">Applied Load Case or Acceleration Load</param>
 public ModalCaseFactor(AnalysisCaseAppliedLoad load)
     : this(load, 0, 99)
 {
 }
 /// <summary>
 /// Initializes the object with the AccelLoad and Scale factor.
 /// </summary>
 /// <param name="acceleration">AccelLoad applied to the Response Spectrum</param>
 /// <param name="factor">Scale factor for the AccelLoad</param>
 public ResponseSpectrumCaseFactor(AnalysisCaseAppliedLoad acceleration, float factor)
 {
     accel = (acceleration is AccelLoad) ? acceleration : new AccelLoad(AccelLoad.AccelLoadValues.UX);
     this.factor = factor;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes the object with the AccelLoad and default Scale factor(1.0).
 /// </summary>
 /// <param name="acceleration">AccelLoad applied to the Response Spectrum</param>
 public ResponseSpectrumCaseFactor(AnalysisCaseAppliedLoad acceleration)
     : this(acceleration, 1)
 {
 }
Beispiel #6
0
 /// <summary>
 /// Assigns all values.
 /// </summary>
 /// <param name="load">Applied Load Case or Acceleration Load</param>
 /// <param name="maxCycles">Max Cycles for the algorithm to converge</param>
 /// <param name="partRatio">Target Participation Ratio</param>
 public ModalCaseFactor(AnalysisCaseAppliedLoad load, int maxCycles, float partRatio)
 {
     appliedLoad = load;
     cycles      = (maxCycles < 0) ? 0 : maxCycles;
     ratio       = (partRatio <= 0) ? 0.01F : (partRatio >= 100) ? 99.99F : partRatio;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes the object with the AccelLoad and Scale factor.
 /// </summary>
 /// <param name="acceleration">AccelLoad applied to the Response Spectrum</param>
 /// <param name="factor">Scale factor for the AccelLoad</param>
 public ResponseSpectrumCaseFactor(AnalysisCaseAppliedLoad acceleration, float factor)
 {
     accel       = (acceleration is AccelLoad) ? acceleration : new AccelLoad(AccelLoad.AccelLoadValues.UX);
     this.factor = factor;
 }
 /// <summary>
 /// Assigns the Applied Load and default values for Cycles(0) and Ratio(99)
 /// </summary>
 /// <param name="load">Applied Load Case or Acceleration Load</param>
 public ModalCaseFactor(AnalysisCaseAppliedLoad load)
     : this(load, 0, 99)
 {
 }
 /// <summary>
 /// Assigns all values.
 /// </summary>
 /// <param name="load">Applied Load Case or Acceleration Load</param>
 /// <param name="maxCycles">Max Cycles for the algorithm to converge</param>
 /// <param name="partRatio">Target Participation Ratio</param>
 public ModalCaseFactor(AnalysisCaseAppliedLoad load, int maxCycles, float partRatio)
 {
     appliedLoad = load;
     cycles = (maxCycles < 0) ? 0 : maxCycles;
     ratio = (partRatio <= 0) ? 0.01F : (partRatio >= 100) ? 99.99F : partRatio;
 }
 /// <summary>
 /// Initializes the object with an Applied Load and a factor.
 /// </summary>
 /// <param name="load">The initial applied load</param>
 /// <param name="factor">The initial factor</param>
 public StaticCaseFactor(AnalysisCaseAppliedLoad load, float factor)
 {
     appliedLoad = load;
     this.factor = factor;
 }
 /// <summary>
 /// Initializes the object with an AnalysisCaseAppliedLoad and default factor 1.
 /// </summary>
 /// <param name="load">The initial Applied Load</param>
 public StaticCaseFactor(AnalysisCaseAppliedLoad load)
     : this(load, 1)
 {
 }