/// <summary> /// Sets the material directional symmetry type, and assigns the corresponding mechanical properties. /// </summary> /// <param name="properties">The properties.</param> public void Set(MechanicalUniaxialProperties properties) { _apiMaterialProperties.SetMechanicalPropertiesUniaxial(Name, properties.ModulusOfElasticity, properties.ThermalCoefficient, Temperature); _uniaxialProperties = properties; }
/// <summary> /// Retrieves the mechanical properties for a material with the corresponding directional symmetry type. /// </summary> public void Fill() { _apiMaterialProperties.GetMechanicalPropertiesUniaxial(Name, out var modulusOfElasticity, out var thermalCoefficient, Temperature); _uniaxialProperties = new MechanicalUniaxialProperties() { ModulusOfElasticity = modulusOfElasticity, ThermalCoefficient = thermalCoefficient }; }