/// <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; }
/// <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; }
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); } }
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); } }
public void SetCoefficient(double coefficient, Combination combination) { if (coCoefficients.ContainsKey(combination)) coCoefficients[combination] = coefficient; else coCoefficients.Add(combination, coefficient); }