A generalization of the direct-stiffness method of structural analysis | Synapse