include_bridge_globals.m

来自「五点差分型多重网格方法:各种插值算子的比较)」· M 代码 · 共 17 行

M
17
字号
% Modified for Matlab Version 6 Compatability
% Ryan McKenzie
% University of Kentucky Center for Computational Sciences
% April 2004
%
% For some reason, locally generated variables cannot be seen outside the scope of a
% particular function in version 6 unless they have a global reference. This seems to 
% only occur when the newly generated variable is passed as a parameter. I have taken
% locally generated variables throughout MGLab and "bridged" them to their destination
% routines using global references. It's an ugly fix, so maybe someone should come up
% with a more centralized solution.
%
% This file declares all the global references used as bridges in the modified MGLab.

global b_in_solve A_in_solve x0_in_solve
global b_in_sol_method A_in_sol_method x_in_sol_method

⌨️ 快捷键说明

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