SMS dit: A variational approach to structural analysis /