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

📄 init2dsnapshot_b.m

📁 spectral element method
💻 M
字号:
% indx = Init2dSnapshot_b(NGLL)%% PURPOSE	Use it with 'local storage scheme'% INPUT		NGLL	number of GLL nodes per edge% OUTPUT	indx(:,4) vertices of each GLL cell %			in a reference element%function indx = Init2dSnapshot_b(NGLL)iglob = reshape( (1:NGLL*NGLL)', NGLL,NGLL);indx = zeros((NGLL-1)^2, 4);ip=0;for i=1:NGLL-1,for j=1:NGLL-1,  ip = ip+1;  indx(ip,:) = [iglob(i,j) iglob(i+1,j) iglob(i+1,j+1) iglob(i,j+1)];endend

⌨️ 快捷键说明

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