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

📄 max_level.m

📁 五点差分型多重网格方法:各种插值算子的比较)
💻 M
字号:
%MAX_LEVEL Return the largest number of levels given the grid size.
%
%       LEVEL = MAX_LEVEL(NX) returns the maximum number of grid levels 
%       LEVEL for a grid with NX as the number of grid points along the 
%       shortest axis.

% James Bordner and Faisal Saied
% Department of Computer Science
% University of Illinois at Urbana-Champaign
% 10 April 1995

function level = max_level(nx)

level = log2(nx+1);

⌨️ 快捷键说明

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