private void writeNonLinearParameters(XmlWriter xml, Model model)
{
xml.WriteStartElement("Case_-_Static_4_-_NonLinear_Parameters");
foreach (AbstractCase ac in model.AbstractCases)
if (ac is AnalysisCase && ((AnalysisCase)ac).Properties is PDeltaCaseProps)
{
NonLinearParams nl = ((PDeltaCaseProps)((AnalysisCase)ac).Properties).NonLinearParams;
xml.WriteStartElement("Case");
xml.WriteAttributeString("Case", ac.Name);
xml.WriteAttributeString("Unloading", nl.Unloading);
xml.WriteAttributeString("GeoNonLin", nl.GeoNonLin);
xml.WriteAttributeString("ResultsSave", nl.ResultsSave);
xml.WriteAttributeString("MaxTotal", nl.MaxTotal.ToString());
xml.WriteAttributeString("MaxNull", nl.MaxNull.ToString());
xml.WriteAttributeString("MaxIterCS", nl.MaxIterCS.ToString());
xml.WriteAttributeString("MaxIterNR", nl.MaxIterNR.ToString());
xml.WriteAttributeString("ItConvTol", nl.ItConvTol.ToString());
xml.WriteAttributeString("UseEvStep", CodeYN(nl.UseEvStep));
xml.WriteAttributeString("EvLumpTol", nl.EvLumpTol.ToString());
xml.WriteAttributeString("LSPerIter", nl.LSPerIter.ToString());
xml.WriteAttributeString("LSTol", nl.LSTol.ToString());
xml.WriteAttributeString("LSStepFact", nl.LSStepFact.ToString());
xml.WriteAttributeString("FrameTC", CodeYN(nl.FrameTC));
xml.WriteAttributeString("FrameHinge", CodeYN(nl.FrameHinge));
xml.WriteAttributeString("CableTC", CodeYN(nl.CableTC));
xml.WriteAttributeString("LinkTC", CodeYN(nl.LinkTC));
xml.WriteAttributeString("LinkOther", CodeYN(nl.LinkOther));
xml.WriteAttributeString("TFMaxIter", nl.TFMaxIter.ToString());
xml.WriteAttributeString("TFTol", nl.TFTol.ToString());
xml.WriteAttributeString("TFAccelFact", nl.TFAccelFact.ToString());
xml.WriteAttributeString("TFNoStop", CodeYN(nl.TFNoStop));
xml.WriteEndElement();
}
xml.WriteEndElement();
}