Example #1
0
        /// <summary>
        /// Adds a new envelope combination to the model.
        /// </summary>
        public Combination AddEnvelopeCombination(string name)
        {
            Combination c = new Combination(name, true);
            Combinations.Add(c);

            return c;
        }
Example #2
0
        /// <summary>
        /// Adds a new linear combination to the model.
        /// </summary>
        public Combination AddLinearCombination(string name)
        {
            Combination c = new Combination(name);
            Combinations.Add(c);

            return c;
        }
Example #3
0
 private void DrawDeformations(Combination combination)
 {
     if (!combination.HasEnvelopeValues)
     {
         DrawDeformations(combination.MinNodeDeformations);
     }
     else if (EnvelopeMode == EnvelopeMode.Minimum)
     {
         DrawDeformations(combination.MinNodeDeformations);
     }
     else if (EnvelopeMode == EnvelopeMode.Maximum)
     {
         DrawDeformations(combination.MaxNodeDeformations);
     }
     else
     {
         DrawDeformations(combination.MinNodeDeformations, combination.MaxNodeDeformations);
     }
 }
Example #4
0
 private void DrawFrameShearForces(Combination combination)
 {
     if (!combination.HasEnvelopeValues)
     {
         DrawFrameShearForces(combination.MinFrameInternalForces);
     }
     else if (EnvelopeMode == EnvelopeMode.Minimum)
     {
         DrawFrameShearForces(combination.MinFrameInternalForces);
     }
     else if (EnvelopeMode == EnvelopeMode.Maximum)
     {
         DrawFrameShearForces(combination.MaxFrameInternalForces);
     }
     else
     {
         DrawFrameShearForces(combination.MinFrameInternalForces, combination.MaxFrameInternalForces);
     }
 }
Example #5
0
 public void SetCoefficient(double coefficient, Combination combination)
 {
     if (coCoefficients.ContainsKey(combination))
         coCoefficients[combination] = coefficient;
     else
         coCoefficients.Add(combination, coefficient);
 }