builds on hooke
quadrilateral and triangular boundaries