⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strongt.m

📁 五点差分型多重网格方法:各种插值算子的比较)
💻 M
字号:
function Si = strongT(i,V,S,level);
% Determine the transposed set of strong connections [Ruge/St黚en].
% SCPT(I,V,S) returns the transposed (and sorted) set of strong connections
% of node I from the remaining set of free nodes V 
% with respect to the already calculated 
% array of strong connection sets S.S

sk_set=[]; %initialize the transposed strong set to be empty
for k=V %consider each point in the domain
    if k~=i %do not consider connections to one's self...
       bb = ismember(i,S(k).S); %find out if point I is a member of the strongly connected set of k
       if bb(1) %if it is...
           sk_set=union(sk_set,k); %add K to the strongly connected set of I
       end
    end
end
Si = sort(sk_set); %sort and return the transposed strongly connected set of I

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -