/// <summary> /// Sets the material directional symmetry type, and assigns the corresponding mechanical properties. /// </summary> /// <param name="properties">The properties.</param> public void Set(MechanicalIsotropicProperties properties) { _apiMaterialProperties.SetMechanicalPropertiesIsotropic(Name, properties.ModulusOfElasticity, properties.PoissonsRatio, properties.ThermalCoefficient, Temperature); _isotropicProperties = properties; }
/// <summary> /// Retrieves the mechanical properties for a material with the corresponding directional symmetry type. /// </summary> public void Fill() { _apiMaterialProperties.GetMechanicalPropertiesIsotropic(Name, out var modulusOfElasticity, out var poissonsRatio, out var thermalCoefficient, out var shearModulus, Temperature); _isotropicProperties = new MechanicalIsotropicProperties() { ModulusOfElasticity = modulusOfElasticity, ThermalCoefficient = thermalCoefficient, PoissonsRatio = poissonsRatio, ShearModulus = shearModulus }; }