Text this: Comparison of energy minimization with direct stiffness for linear structural analysis