When you sum the particles number, you should do like:
totP= PIP - IGHOST_CNT
CALL GLOBAL_ALL_SUM(TOTP)
1 Like
When you sum the particles number, you should do like:
totP= PIP - IGHOST_CNT
CALL GLOBAL_ALL_SUM(TOTP)