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

📄 settingsgui.m

📁 五点差分型多重网格方法:各种插值算子的比较)
💻 M
📖 第 1 页 / 共 2 页
字号:
amg_globals;STOP_TYPE=RESID_THRESHOLD;STOP_VALUE=0.0000001;% --------------------------------------------------------------------function threshold9_Callback(hObject, eventdata, handles)% hObject    handle to threshold9 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE=RESID_THRESHOLD;STOP_VALUE=0.000000001;% --------------------------------------------------------------------function reduction10_Callback(hObject, eventdata, handles)% hObject    handle to reduction10 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE=RESID_REDUCE;STOP_VALUE=0.1;% --------------------------------------------------------------------function reduction1_Callback(hObject, eventdata, handles)% hObject    handle to reduction1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE=RESID_REDUCE;STOP_VALUE=0.01;% --------------------------------------------------------------------function reduction01_Callback(hObject, eventdata, handles)% hObject    handle to reduction01 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE=RESID_REDUCE;STOP_VALUE=0.001;% --------------------------------------------------------------------function reduction001_Callback(hObject, eventdata, handles)% hObject    handle to reduction001 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE=RESID_REDUCE;STOP_VALUE=0.0001;% --- Executes on button press in Finished_Settings.function Finished_Settings_Callback(hObject, eventdata, handles)% hObject    handle to Finished_Settings (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)pause off;close;% --------------------------------------------------------------------function setup_atonce_Callback(hObject, eventdata, handles)% hObject    handle to setup_atonce (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;SETUP_OPT = AT_ONCE;% --------------------------------------------------------------------function setup_ateach_Callback(hObject, eventdata, handles)% hObject    handle to setup_ateach (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;SETUP_OPT = AT_EACH;% --------------------------------------------------------------------function setup_amgm_Callback(hObject, eventdata, handles)% hObject    handle to setup_amgm (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;SETUP_ALG = AMGm;% --------------------------------------------------------------------function setup_smoothed_Callback(hObject, eventdata, handles)% hObject    handle to setup_smoothed (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;SETUP_ALG = SMOOTH_AGGREGATE;% --------------------------------------------------------------------function cycletype_v_Callback(hObject, eventdata, handles)% hObject    handle to cycletype_v (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function cycletype_w_Callback(hObject, eventdata, handles)% hObject    handle to cycletype_w (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function cycletype_f_Callback(hObject, eventdata, handles)% hObject    handle to cycletype_f (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)% --------------------------------------------------------------------function NinePoints_Callback(hObject, eventdata, handles)% hObject    handle to NinePoints (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = STIFFNESS;FINEPOINTS = 9;% --------------------------------------------------------------------function SixteenPoints_Callback(hObject, eventdata, handles)% hObject    handle to SixteenPoints (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = STIFFNESS;FINEPOINTS = 16;% --------------------------------------------------------------------function TwentyfivePoints_Callback(hObject, eventdata, handles)% hObject    handle to TwentyfivePoints (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = STIFFNESS;FINEPOINTS = 25;% --------------------------------------------------------------------function FortyninePoints_Callback(hObject, eventdata, handles)% hObject    handle to FortyninePoints (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = STIFFNESS;FINEPOINTS = 49;% --------------------------------------------------------------------function EighteenElement_Callback(hObject, eventdata, handles)% hObject    handle to EighteenElement (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = ELEMENTS;FINEPOINTS=18;% --------------------------------------------------------------------function ThirtyTwoElement_Callback(hObject, eventdata, handles)% hObject    handle to ThirtyTwoElement (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = ELEMENTS;FINEPOINTS=32;% --------------------------------------------------------------------function FiftyElement_Callback(hObject, eventdata, handles)% hObject    handle to FiftyElement (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = ELEMENTS;FINEPOINTS=50;% --------------------------------------------------------------------function NinetyEightElement_Callback(hObject, eventdata, handles)% hObject    handle to NinetyEightElement (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;PROB_SRC=EXAMPLE1;PROB_TYPE = ELEMENTS;FINEPOINTS=98;% --------------------------------------------------------------------function maxitrs_1_Callback(hObject, eventdata, handles)% hObject    handle to maxitrs_1 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE = MAX_ITRS;STOP_VALUE = 1;% --------------------------------------------------------------------function maxitrs_10_Callback(hObject, eventdata, handles)% hObject    handle to maxitrs_10 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE = MAX_ITRS;STOP_VALUE = 10;% --------------------------------------------------------------------function maxitr_20_Callback(hObject, eventdata, handles)% hObject    handle to maxitr_20 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE = MAX_ITRS;STOP_VALUE = 20;% --------------------------------------------------------------------function maxitr_50_Callback(hObject, eventdata, handles)% hObject    handle to maxitr_50 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE = MAX_ITRS;STOP_VALUE = 50;% --------------------------------------------------------------------function maxitr_100_Callback(hObject, eventdata, handles)% hObject    handle to maxitr_100 (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;STOP_TYPE = MAX_ITRS;STOP_VALUE = 100;% --------------------------------------------------------------------function setAbsMaxItrs_Callback(hObject, eventdata, handles)% hObject    handle to setAbsMaxItrs (see GCBO)% eventdata  reserved - to be defined in a future version of MATLAB% handles    structure with handles and user data (see GUIDATA)amg_globals;ABSOLUTE_MAX_ITRS = input('\nPlease enter the desired iteration limit.\n(Press Return for the Default 100):');if isempty(ABSOLUTE_MAX_ITRS)    ABSOLUTE_MAX_ITRS = 100;end

⌨️ 快捷键说明

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