P-Bézier energy optimisation for elastic solutions of masonry-like panels. (16th December 2021)