📄 init2dsnapshot.m
字号:
% indx = Init2dSnapshot(iglob)%% INPUT iglob(ngll,ngll,nel) local to global numbering map% OUTPUT indx(:,4) vertices of each GLL cell%function indx = Init2dSnapshot(iglob)[NGLL,NGLL,NEL] = size(iglob);indx = zeros(NEL*(NGLL-1)^2, 4);ip=0;for e=1:NEL, for i=1:NGLL-1, for j=1:NGLL-1, ip = ip+1; indx(ip,:) = [iglob(i,j,e) iglob(i+1,j,e) iglob(i+1,j+1,e) iglob(i,j+1,e)]; end endend
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -