(just in case someone bumps into this old thread as I did)
The solution suggested by Sergei works for me (v4.4) only if the Boolean expression are put *inside* the integral operator. So the formula he suggested should be modified into:
surf_integral=intop1(emw.normEfar^2*(phi>=phi1)*(phi<=phi2)*(theta>=thet1)*(theta<=thet2))
That's why (this pointed me to the right direction), as Maxime noted, the expression works anyway in Results->Derived Values->Surface Integration, where you only define the integration operator argument.
Best,
Attilio
The solution suggested by Sergei works for me (v4.4) only if the Boolean expression are put *inside* the integral operator. So the formula he suggested should be modified into:
surf_integral=intop1(emw.normEfar^2*(phi>=phi1)*(phi<=phi2)*(theta>=thet1)*(theta<=thet2))
That's why (this pointed me to the right direction), as Maxime noted, the expression works anyway in Results->Derived Values->Surface Integration, where you only define the integration operator argument.
Best,
Attilio