Python: module output
 
 
output
index
c:\users\mwhitten\brgusers\python\remote_repos\moving_loads\ml\output.py

 
Functions
       
write_output(axle_spacing, axle_wt, span_length1, span_length2, num_user_nodes, space_to_trailing_load, distributed_load, node_loc, V_max1, M_max1, V_max2, M_max2, Rmax_pier, analysis_time, span1_begin, span2_begin)
Format and print echoed input and program output.
 
Echos the user input for the current run of the program followed by the
output for span 1 and span 2, if span 2 is specified. This is followed by a
summary of the maximum shear and moment in each span and the maximum
pier reaction if span 2 was specified. Finally, the elapsed time for the
analysis is printed in seconds.
 
The output for this function is for one half track (one rail). This is not
the direct output from the mlob module. The mlob module outputs the effects
due to a full track. 
 
Args:
    axle_spacing (list of floats): the spacing between each axle
    axle_wt (list of floats): weight of each axle
    span_length1 (float): length of span 1
    span_length2 (float): length of span 2
    num_user_nodes (int): number of analysis nodes input by the user
    space_to_trailing_load (float): distance from last discrete axle to
                                    beginning of distributed load
    distributed_load (float): uniformly distributed trailing load magnitude
    V_max1 (list of floats): maximum shear at each analysis node in span 1
    M_max1 (list of floats): maximum moment at each analysis node in span 1
    V_max2 (list of floats): maximum moment at each analysis node in span 2
    M_max2 (list of floats): maximum moment at each analysis node in span 2
    Rmax_pier (float): maximum pier reaction, returns None if span length 2
                       is not entered by user
    span1_begin (float): coordinate location of beginning of span 1
    span2_begin (float): coordinate location of beginning of span 2
    node_loc (list of floats): coordinate location of analysis nodes in
                                   order ltr
    analysis_time (float): elapsed time for analysis to be completed
 
Returns:
    None
 
Notes:
    Writes echoed input and program output to terminal screen.