anchor.diff:  !--- calculate reaction force
         iflag = 0
         do j = 1, nn
  -        if( id_spc( nodLOCAL(j) ) == 1 ) iflag = 1
  +          in = nodLOCAL(j)
  +          IF( id_spc( 3*in-2 ) == 1 ) iflag = 1
  +          IF( id_spc( 3*in-1 ) == 1 ) iflag = 1
  +          IF( id_spc( 3*in   ) == 1 ) iflag = 1
         enddo
         if( iflag == 1 ) then
           if( ic_type == 361 ) then
  
positive.code:         CALL STF_Beam_641( ic_type, nn, ecoord, fstrSOLID%elements(icel)%gausses(:), &
                           & hecMESH%section%sect_R_item(ihead+1:), stiff )
          iflag = 0
          DO j = 1, nn
            IF( id_spc( nodLOCAL(j) ) == 1 ) iflag = 1
          END DO
          if( iflag == 1 ) THEN
            IF( ic_type == 641 ) THEN
  
negative.code:           END IF
            force(1:nn*3) = MATMUL( stiff(1:nn*3,1:nn*3), edisp(1:nn*3) )
            DO j = 1, nn
              in = nodLOCAL(j)
  !$omp atomic
              IF(id_spc(3*in-2) == 1) fstrSOLID%QFORCE(3*in-2) = fstrSOLID%QFORCE(3*in-2) + force(3*j-2)
  !$omp atomic
              IF(id_spc(3*in-1) == 1) fstrSOLID%QFORCE(3*in-1) = fstrSOLID%QFORCE(3*in-1) + force(3*j-1)
  !$omp atomic
              IF(id_spc(3*in  ) == 1) fstrSOLID%QFORCE(3*in  ) = fstrSOLID%QFORCE(3*in  ) + force(3*j  )
            END DO
          ENDIF
          CYCLE
  