📄 patran.h
字号:
/*Copyright (c) 1990 Massachusetts Institute of Technology, Cambridge, MA.All rights reserved.This Agreement gives you, the LICENSEE, certain rights and obligations.By using the software, you indicate that you have read, understood, andwill comply with the terms.Permission to use, copy and modify for internal, noncommercial purposesis hereby granted. Any distribution of this program or any part thereofis strictly prohibited without prior written consent of M.I.T.Title to copyright to this software and to any associated documentationshall at all times remain with M.I.T. and LICENSEE agrees to preservesame. LICENSEE agrees not to make any copies except for LICENSEE'Sinternal noncommercial use, or to use separately any portion of thissoftware without prior written consent of M.I.T. LICENSEE agrees toplace the appropriate copyright notice on any such copies.Nothing in this Agreement shall be construed as conferring rights to usein advertising, publicity or otherwise any trademark or the name of"Massachusetts Institute of Technology" or "M.I.T."M.I.T. MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. Byway of example, but not limitation, M.I.T. MAKES NO REPRESENTATIONS ORWARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE ORTHAT THE USE OF THE LICENSED SOFTWARE COMPONENTS OR DOCUMENTATION WILLNOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS.M.I.T. shall not be held liable for any liability nor for any direct,indirect or consequential damages with respect to any claim by LICENSEEor any third party on account of or arising from this Agreement or useof this software.*//*************************************************************************** This is the header file for patran.c. Written by Songmin Kim, July 24, 1990.***************************************************************************//* Refer to Chapter 29, Neutral System, of PATRAN manual for explanation. The variable names are identical to those that appear in the manual. */typedef struct node { int ID; double coord[3];} NODE;typedef struct element { int ID, shape, num_nodes; int corner[4];} ELEMENT;typedef struct grid { int ID, *equiv_ID, number_equiv_grids; double coord[3]; struct grid *next, *prev;} GRID;typedef struct cfeg { int ID, NELS, LPH, LPH_ID, LSHAPE, NODES, ICONF, NDIM; struct cfeg *next, *prev; int *element_list;} CFEG;typedef struct patch { int ID, corner[4], conductor_ID; struct patch *next, *prev;} PATCH;typedef struct sm_patch { int ID, conductor_ID; struct sm_patch *next;} SM_PATCH;/* intermediate name struct; used for compatability with patran i/f */typedef struct name { char *name; SM_PATCH *patch_list; struct name *next;} NAME;/* used to build linked list of conductor names */struct Name { char *name; struct Name *next; struct Name *alias_list;};typedef struct Name Name;/* used to make linked lists of iteration or conductor #s */struct ITER { int iter; struct ITER *next;};typedef struct ITER ITER;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -