Initial implementation of bem with pinned boundary values