Springs

spring1e(k) → Ke

Computes the element stiffness matrix Ke for a spring element with stiffness k.

spring1s(k, u) → fe

Computes the force fe for a spring element with stiffness k and displacements u.