how S-N curve is generated in solid works

I know how to get a S-N curve, if I know the properties of the material. I want to know the background theory and the reference for that please help me

I think it is Mentioned in ASME codes but I want yo know the exact code

All I want to know that, how solid works generate S-N curve based on ASME steel curves

SolidworksSimulation