ita_tpa_DOF2index.m 331 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
function IDX = ita_tpa_DOF2index(selectDOF,nPoints,DOF)

% <ITA-Toolbox>
% This file is part of the application TPA-TPS for the ITA-Toolbox. All rights reserved. 
% You can find the license for this m-file in the application folder. 
% </ITA-Toolbox>

IDX = [];
for idx = 1:nPoints
    IDX = [IDX (idx-1)* DOF + selectDOF];
end
end