In addition to returning margins of safety, user defined analyses return generic details. These details are stored with the margin of safety. Example output for max strain failure along with the sample code is shown below.
auto result = DefaultResult();
result.MS = MS;
result.Details[0] = Detail("Ply", Number, Units_None);
result.Details[1] = Detail("<theta><_ply>", angle, Units_Angle);
result.Details[2] = Detail("<epsilon><_1>", e1, Units_Strain);
result.Details[3] = Detail("<epsilon><_2>", e2, Units_Strain);
result.Details[4] = Detail("<epsilon><_12>", e12, Units_Strain);
result.Details[5] = Detail("e<_tu1>", etu1, Units_Strain);
result.Details[6] = Detail("e<_cu1>", ecu1, Units_Strain);
result.Details[7] = Detail("e<_tu2>", etu2, Units_Strain);
result.Details[8] = Detail("e<_cu2>", ecu2, Units_Strain);
result.Details[9] = Detail("e<_su12>", esu12, Units_Strain);
return result;