Discussion. The energy at the edge of a square [fdip-00HT]

In the finite spatial chain, each bond penalizes a difference of field values. A bond from a retained site to a fixed zero value penalizes that site's value itself. At a corner of a square, two such penalties remain even though only two neighbors are retained. How should the Gaussian precision express this boundary energy together with a fixed physical square and its changing mesh?