I am trying to solve a partial wave equation for scattered quasi-TE waves. I found the COMSOL built-in Helmholtz equation module very close to my problem. The bottleneck was that, I couldn't define any PML boundary condition for that module (mathematics), hence, I tried to construct the equation within the emw (RF) or emwf (Optics) module using weak contribution, but I'm not sure this weak contribution uses the same boundary condition as the module. Should I define its own boundary condition? or just leave everything default?