public BendingWithTEC(IForcesBendingAndCompressison forces, IElementGeometryT geometry, IMaterial material) { this.forces = forces ?? throw new ArgumentNullException(nameof(forces)); this.geometry = geometry ?? throw new ArgumentNullException(nameof(geometry)); this.material = material ?? throw new ArgumentNullException(nameof(material)); coeffService = new CoeffService(material, geometry); Calc(); }
public BendingRectangularCrossSectionEC2( IForcesBendingAndCompressison forces, IElementGeometry geometry, IMaterial material, CoeffForCalcRectCrossSectionModelEC kof = null) { InitValidations(geometry, material); this.Forces = forces; this.Geometry = geometry; this.Material = material; coeffService = new CoeffService(Material, Geometry); Kof_lim = coeffService.GetByξ(material.beton.ξ_lim); if (kof != null) { KofZaProracunPravougaonogPreseka = kof; μSd = kof.μRd; } Start(); }