private void CreateMaterialAndGeometry(MaterialModel materalModel, GeometryModel geometryModel) { Material = new Material { armatura = ReinforcementType.GetArmatura().Find(x => x.name == materalModel.SelectedReinf), beton = betonServices.GetNew(materalModel.SelectedConcrete), }; Material.beton.αcc = Settings.MaterialSettings.alfa_cc; Geometry = new ElementGeometryWithReinfI { b = geometryModel.b, h = geometryModel.h, d1 = geometryModel.d1, d2 = geometryModel.d2, As_1 = geometryModel.As_1, As_2 = geometryModel.As_2, b_eff_top = geometryModel.b_eff_top, h_f_top = geometryModel.h_f_top, b_eff_bottom = geometryModel.b_eff_bottom, h_f_bottom = geometryModel.h_f_bottom, }; }
public Solver_old(IMaterial material, IElementGeometryWithReinf geometry) { Material = material; Geometry = geometry; }
public CrossSectionStrains(IMaterial material, IElementGeometryWithReinf geometry, bool Invert = false) { this.material = material; this.geometry = geometry; this.Invert = Invert; }
public SectionStrainsFactory(IMaterial material, IElementGeometryWithReinf geometry) { this.material = material; this.geometry = geometry; }