首页 | 本学科首页   官方微博 | 高级检索  
     检索      

Finite Element Programming Based on Template Chain Structure
作者姓名:YUAN Zheng qiang  BAI Shao liang  LI Zheng liang
摘    要:Traditional Finite Element Method is the structuralization programming method and the structuralization language (such as FORTRAN). Its data store uses fixed array structure, which makes the expanding ability of program limited, code's reuse ratio low, debugging complex. The template is an opposite new important characteristic of the object-oriented programming language C++. The template can quickly establish class library so as to increase greatly the development speed of the large software. The object-oriented programming concept is applied to finite element method. According to the nature of the finite element analysis, the classes and their methods, which describe virtual element, node, material etc., have been developed and implemented using the object-oriented programming language C++. The elements, nodes and materials are stored by chain. Many type's elements are stored mixedly by polymorphism characteristic. The program is implemented and a instance is given to show the programming of finite element method. The results show that the period of programming and debugging is obviously shorter than that of traditional method; the code's utilization ratio is also increased obviously.

关 键 词:object-oriented  finite  element  method  C++  language  template  chain  structure

Finite Element Programming Based on Template Chain Structure
YUAN Zheng qiang,BAI Shao liang,LI Zheng liang.Finite Element Programming Based on Template Chain Structure[J].Storage & Process,2002(6):102-105108.
Authors:YUAN Zheng qiang  BAI Shao liang  LI Zheng liang
Abstract:Traditional Finite Element Method is the structuralization programming method and the structuralization language (such as FORTRAN). Its data store uses fixed array structure, which makes the expanding ability of program limited, code's reuse ratio low, debugging complex. The template is an opposite new important characteristic of the object-oriented programming language C++. The template can quickly establish class library so as to increase greatly the development speed of the large software. The object-oriented programming concept is applied to finite element method. According to the nature of the finite element analysis, the classes and their methods, which describe virtual element, node, material etc., have been developed and implemented using the object-oriented programming language C++. The elements, nodes and materials are stored by chain. Many type's elements are stored mixedly by polymorphism characteristic. The program is implemented and a instance is given to show the programming of finite element method. The results show that the period of programming and debugging is obviously shorter than that of traditional method; the code's utilization ratio is also increased obviously.
Keywords:object-oriented  finite element method  C++ language  template chain structure
点击此处可从《保鲜与加工》浏览原始摘要信息
点击此处可从《保鲜与加工》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号