public Beam(IList <ISpan> spans, ICollection <INode> nodes) { Spans = spans ?? throw new ArgumentNullException(nameof(spans)); Nodes = nodes ?? throw new ArgumentNullException(nameof(nodes)); GlobalStiffnessMatrix = new GlobalStiffnessMatrix(this); NormalForceResult = new NormalForceResult(this); ShearResult = new ShearResult(this); BendingMomentResult = new BendingMomentResult(this); HorizontalDeflectionResult = new HorizontalDeflectionResult(this); VerticalDeflectionResult = new VerticalDeflectionResult(this); RotationResult = new RotationResult(this); }
public void Calculate() { SetNumeration(); CalculateStiffnessMatrixes(); GlobalStiffnessMatrix.Calculate(); CaluclateJointLoadVector(); CalculateSpanLoadVectors(); CalculateSpanLoadVector(); CalculateDeflectionVector(); CalculateDisplacements(); CalculateForces(); CalculateReactions(); AddForcesLocatedAtSupports(); }