private void writeConcreteDesignProps(XmlWriter xml, Material.Material mat)
{
MaterialDesignProps dProps = mat.DesignProperties;
if (dProps is ConcreteDesignProps)
{
ConcreteDesignProps props = (ConcreteDesignProps)dProps;
string isLW = (props.IsLightweightConcrete) ? "Yes" : "No";
xml.WriteStartElement("Material");
xml.WriteAttributeString("Material", mat.Name);
xml.WriteAttributeString("Fc", props.Fc.ToString());
xml.WriteAttributeString("RebarFy", props.RebarFy.ToString());
xml.WriteAttributeString("RebarFys", props.RebarFys.ToString());
xml.WriteAttributeString("LtWtConc", isLW);
xml.WriteAttributeString("LtWtFact", props.LightweightFactor.ToString());
xml.WriteEndElement();
}
}