Daniel@0: function int = compute_fwd_interface(intra, inter) Daniel@0: % COMPUTE_FWD_INTERFACE Compute nodes with children in the next slice Daniel@0: % function int = compute_fwd_interface(intra, inter) Daniel@0: Daniel@0: int = []; Daniel@0: ss = length(intra); Daniel@0: for u=1:ss Daniel@0: if any(inter(u,:)) Daniel@0: int = [int u]; Daniel@0: end Daniel@0: end