IF ( fIsSet(j) ) THEN
IF ( .NOT.fIsSet(jj) .AND. nType.EQ.1 ) THEN
fIsSet(jj) = .TRUE.
IF ( .NOT.fIsSet(jj) .AND. nType.EQ.2 ) THEN
IF ( .NOT.fIsSet(jj) .AND. nType.EQ.3
LOGICAL fIsSet(0:W2_maxNbFacets)
fIsSet(0) = .TRUE.
fIsSet(j) = .FALSE.
fIsSet(j) = .TRUE.