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

📄 toolkit.html

📁 五点差分型多重网格方法:各种插值算子的比较)
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"                "http://www.w3.org/TR/REC-html40/loose.dtd"><html><head>  <title>Description of toolkit</title>  <meta name="keywords" content="toolkit">  <meta name="description" content="TOOLKIT M-file for toolkit.fig">  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">  <meta name="generator" content="m2html &copy; 2003 Guillaume Flandin">  <meta name="robots" content="index, follow">  <link type="text/css" rel="stylesheet" href="../../m2html.css"></head><body><a name="_top"></a><!-- # AFEM@matlab --><!-- menu.html 6_Tool --><h1>toolkit</h1><h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>TOOLKIT M-file for toolkit.fig</strong></div><h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="box"><strong>function varargout = toolkit(varargin) </strong></div><h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre class="comment"> TOOLKIT M-file for toolkit.fig      TOOLKIT, by itself, creates a new TOOLKIT or raises the existing      singleton*.      H = TOOLKIT returns the handle to a new TOOLKIT or the handle to      the existing singleton*.      TOOLKIT('CALLBACK',hObject,eventData,handles,...) calls the local      function named CALLBACK in TOOLKIT.M with the given input arguments.      TOOLKIT('Property','Value',...) creates a new TOOLKIT or raises the      existing singleton*.  Starting from the left, property value pairs are      applied to the GUI before toolkit_OpeningFunction gets called.  An      unrecognized property name or invalid value makes property application      stop.  All inputs are passed to toolkit_OpeningFcn via varargin.      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one      instance to run (singleton)&quot;. See also: GUIDE, GUIDATA, GUIHANDLES</pre></div><!-- crossreference --><h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>This function calls:<ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="findedge.html" class="code" title="function findedge(node,edge,i)">findedge</a>	FINDEDGE highlights the i-th edge</li><li><a href="findelem.html" class="code" title="function findelem(node,elem,i)">findelem</a>	FINDELEM highlights the i-th element</li><li><a href="findnode.html" class="code" title="function findnode(node,i)">findnode</a>	FINDNODE highlights the i-th node</li><li><a href="plotedge.html" class="code" title="function plotedge(node,edge)">plotedge</a>	PLOTEDGE shows the index of each edge on the current mesh plot</li><li><a href="plotelem.html" class="code" title="function plotelem(node,elem)">plotelem</a>	PLOTELEM shows the index of each element on the current mesh plot</li><li><a href="plotnode.html" class="code" title="function plotnode(node)">plotnode</a>	PLOTNODE shows the index of each node on the mesh plot</li><li><a href="showmesh.html" class="code" title="function showmesh(node,elem)">showmesh</a>	SHOWMESH plots the current mesh determined by node and elem</li></ul>This function is called by:<ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="../../AFEM@matlab/1_Example/utildemo.html" class="code" title="function utildemo">utildemo</a>	UTILDEMO shows how to load initial mesh from a saved .mat file and how to</li></ul><!-- crossreference --><h2><a name="_subfunctions"></a>SUBFUNCTIONS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><ul style="list-style-image:url(../../matlabicon.gif)"><li><a href="#_sub1" class="code">function toolkit_OpeningFcn(hObject, eventdata, handles, varargin)</a></li><li><a href="#_sub2" class="code">function varargout = toolkit_OutputFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub3" class="code">function cleanmesh_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub4" class="code">function plotelem_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub5" class="code">function findnode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub6" class="code">function findelem_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub7" class="code">function findedge_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub8" class="code">function Input_box_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub9" class="code">function Input_box_CreateFcn(hObject, eventdata, handles)</a></li><li><a href="#_sub10" class="code">function plotnode_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub11" class="code">function plotedge_Callback(hObject, eventdata, handles)</a></li><li><a href="#_sub12" class="code">function windowselect_Callback(hObject, eventdata, handles)</a></li></ul><h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2><div class="fragment"><pre><a name="_sub0" href="#_subfunctions" class="code">function varargout = toolkit(varargin)</a><span class="comment">% TOOLKIT M-file for toolkit.fig</span><span class="comment">%      TOOLKIT, by itself, creates a new TOOLKIT or raises the existing</span><span class="comment">%      singleton*.</span><span class="comment">%</span><span class="comment">%      H = TOOLKIT returns the handle to a new TOOLKIT or the handle to</span><span class="comment">%      the existing singleton*.</span><span class="comment">%</span><span class="comment">%      TOOLKIT('CALLBACK',hObject,eventData,handles,...) calls the local</span><span class="comment">%      function named CALLBACK in TOOLKIT.M with the given input arguments.</span><span class="comment">%</span><span class="comment">%      TOOLKIT('Property','Value',...) creates a new TOOLKIT or raises the</span><span class="comment">%      existing singleton*.  Starting from the left, property value pairs are</span><span class="comment">%      applied to the GUI before toolkit_OpeningFunction gets called.  An</span><span class="comment">%      unrecognized property name or invalid value makes property application</span><span class="comment">%      stop.  All inputs are passed to toolkit_OpeningFcn via varargin.</span><span class="comment">%</span><span class="comment">%      *See GUI Options on GUIDE's Tools menu.  Choose &quot;GUI allows only one</span><span class="comment">%      instance to run (singleton)&quot;.</span><span class="comment">%</span><span class="comment">% See also: GUIDE, GUIDATA, GUIHANDLES</span><span class="comment">% L. Chen and C. Zhang</span><span class="comment">% Last Modified by GUIDE v2.5 13-Oct-2006 23:36:15</span><span class="comment">% Begin initialization code - DO NOT EDIT</span>gui_Singleton = 1;gui_State = struct(<span class="string">'gui_Name'</span>,       mfilename, <span class="keyword">...</span>                   <span class="string">'gui_Singleton'</span>,  gui_Singleton, <span class="keyword">...</span>                   <span class="string">'gui_OpeningFcn'</span>, @<a href="#_sub1" class="code" title="subfunction toolkit_OpeningFcn(hObject, eventdata, handles, varargin)">toolkit_OpeningFcn</a>, <span class="keyword">...</span>                   <span class="string">'gui_OutputFcn'</span>,  @<a href="#_sub2" class="code" title="subfunction varargout = toolkit_OutputFcn(hObject, eventdata, handles)">toolkit_OutputFcn</a>, <span class="keyword">...</span>                   <span class="string">'gui_LayoutFcn'</span>,  [] , <span class="keyword">...</span>                   <span class="string">'gui_Callback'</span>,   []);<span class="keyword">if</span> nargin &amp;&amp; ischar(varargin{1})    gui_State.gui_Callback = str2func(varargin{1});<span class="keyword">end</span><span class="keyword">if</span> nargout    [varargout{1:nargout}] = gui_mainfcn(gui_State, varargin{:});<span class="keyword">else</span>    gui_mainfcn(gui_State, varargin{:});<span class="keyword">end</span><span class="comment">% End initialization code - DO NOT EDIT</span><span class="comment">% --- Executes just before toolkit is made visible.</span><a name="_sub1" href="#_subfunctions" class="code">function toolkit_OpeningFcn(hObject, eventdata, handles, varargin)</a><span class="comment">% This function has no output args, see OutputFcn.</span><span class="comment">% hObject    handle to figure</span><span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles    structure with handles and user data (see GUIDATA)</span><span class="comment">% varargin   command line arguments to toolkit (see VARARGIN)</span><span class="keyword">if</span> length(varargin)&lt;2, <span class="keyword">return</span>; <span class="keyword">end</span>handles.node = varargin{1};handles.elem = varargin{2};handles.plotwindow = 1; <span class="comment">% default value</span>handles.isNewindow = 0; <span class="comment">% draw in the original solu/mesh window</span><span class="comment">% Choose default command line output for toolkit</span>handles.output = hObject;<span class="comment">% Update handles structure</span>guidata(hObject, handles);<span class="comment">% UIWAIT makes toolkit wait for user response (see UIRESUME)</span><span class="comment">% uiwait(handles.figure1);</span><span class="comment">% --- Outputs from this function are returned to the command line.</span><a name="_sub2" href="#_subfunctions" class="code">function varargout = toolkit_OutputFcn(hObject, eventdata, handles) </a><span class="comment">% varargout  cell array for returning output args (see VARARGOUT);</span><span class="comment">% hObject    handle to figure</span><span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles    structure with handles and user data (see GUIDATA)</span><span class="comment">% Get default command line output from handles structure</span>varargout{1} = handles.output;<span class="comment">% --- Executes on button press in cleanmesh.</span><a name="_sub3" href="#_subfunctions" class="code">function cleanmesh_Callback(hObject, eventdata, handles)</a><span class="comment">% hObject    handle to cleanmesh (see GCBO)</span><span class="comment">% eventdata  reserved - to be defined in a future version of MATLAB</span><span class="comment">% handles    structure with handles and user data (see GUIDATA)</span><span class="keyword">if</span> (handles.isNewindow == 0)    figure(1); subplot(1,2,2); <span class="comment">% in old window</span><span class="keyword">else</span>     handles.plotwindow = figure; <span class="comment">% in a new window</span>

⌨️ 快捷键说明

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