about summary refs log tree commit diff
path: root/sourcecodes/bnt-master/BNT/general/compute_fwd_interface.m
blob: db4807c7f9afd7eff8253d64cf3723523953d301 (plain)
1
2
3
4
5
6
7
8
9
10
11
function int = compute_fwd_interface(intra, inter)
% COMPUTE_FWD_INTERFACE Compute nodes with children in the next slice
% function int = compute_fwd_interface(intra, inter)

int = [];
ss = length(intra);
for u=1:ss
  if any(inter(u,:))
    int = [int u];
  end
end