[operators.cg] add support for boundary treatment in L2ProductP1