Calculation of geometric stiffness matrices for complex structures.