Distribution of electric and elastic field at 900 domain boundaries in ferroelectric thin layer - various configurations