Closed JesseBonanno closed 3 years ago
Speed results are actually fairly large even with no loads added to the beam. On a arbritrary beam (same as before) with many supports the following times were observed: M_i -> ~10 seconds dvEI > ~10 seconds equations_xx ~30 seconds
(Previously a trapezoidal load was used)
speed improvements by explicitly stating equations in commit b81d9cc
Will need to implement FEA to get significantly better speed improvements.
Analyse intially created for clarity with no consideration for speed. It turns out that the integrate component of the analysis function is causing significant speed issues.
On a arbritrary beam with many supports the following times were observed: M_i -> ~20 seconds dvEI > ~10 seconds equations_xx ~30 seconds
everything else took a fraction of a second (collectively close to 1 second for all else in analyse)
It is possible that the integration takes so long due to the use of piecewise functions. It might be beneficial to 'manually' integrate -> will be easy since already know the power of x in each function by definition (ie point loads in shear force arent a function of x) only unknown is arbritrary functions, will need to think about how to attack these types of loads.