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

📄 gmdouble.m

📁 matlab有限元分析工具,比经较全面的一个手册,请大家下载呀
💻 M
字号:
function [varargout]=gmdouble(varargin)%% gmdouble replicates internal boundary faces and mesh nodes on the boundary%%   Matlab: [brep2 {, mesh2}] = ...%%             gmdouble(brep, faceindexlist {,mesh});%%   Tcl/Tk: gmset {brep2 {mesh2}} \%%                 [gmdouble $brep $faceindexlist { $mesh}]%% This routine doubles internal boundaries, i.e., replaces them with two%% coincident child faces. This routine takes a brep whose regions have%% internal boundaries.  Some subset of those internal boundaries is%% specified by faceindexlist; this is a list of strings specifying the%% names of the faces of dimension d-1 that are internal boundaries to be%% doubled.  If * is specified ({'*'} in matlab), then all internal%% boundaries are doubled.  The routine replaces all the requested%% internal boundaries with two copies.  It may also duplicate lower%% dimensional faces that interconnect the specified internal boundaries.%% The resulting brep is the return argument brep2.  The optional mesh%% argument to this routine is a mesh generated for the original brep by%% gmmeshgen.  The gmdouble routine duplicates nodes that sit on faces%% that were duplicated.  Then for each simplex it determines which of%% the duplicated nodes go with that simplex.  The resulting mesh is the%% return argument mesh2. The simplices in mesh2 follow the same%% numbering to simplices in mesh.  The vertices in mesh2 have the same%% global numbers as in mesh, except duplicates of vertex i are renumbered%% i+k*(n+1), where k is the copy number and n is the highest global number%% occurring in the original mesh.  The global tolerance setting is used %% by this routine.gm_errmsg('gmdouble')

⌨️ 快捷键说明

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