vb_asign_ext_area
PURPOSE
asign external vertex area to base vertex area according to distance
SYNOPSIS
function xxA = vb_asign_ext_area(xxA_all, base_index, ext_index, ext_table)
DESCRIPTION
CROSS-REFERENCE INFORMATION
This function calls:
This function is called by:
SOURCE CODE
0001 function xxA = vb_asign_ext_area(xxA_all, base_index, ext_index, ext_table)
0002
0003
0004
0005
0006
0007
0008 Nbase = length(base_index);
0009 Next = length(ext_index);
0010
0011 xxA = xxA_all(base_index);
0012
0013 for i=1:Next
0014 ix = ext_index(i);
0015 jx_list = ext_table{i};
0016
0017 Nj = length(jx_list);
0018
0019 for j = 1:Nj
0020 jx = jx_list(j);
0021 xxA(jx) = xxA(jx) + xxA_all(ix)/Nj;
0022 end
0023 end;
Generated on Mon 22-May-2023 06:53:56 by m2html © 2005