adepted boundary condition to lcdomain