Finite Element Programming Based on Template Chain Structure
CSTR:
Author:
Affiliation:

Clc Number:

TP311

Fund Project:

  • Article
  • |
  • Figures
  • |
  • Metrics
  • |
  • Reference
  • |
  • Related
  • |
  • Cited by
  • |
  • Materials
  • |
  • Comments
    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.

    Reference
    Related
    Cited by
Get Citation

袁政强 白绍良 等.基于类模板链表结构的有限元程序设计[J].重庆大学学报,2002,25(6):102~105108

Copy
Related Videos

Share
Article Metrics
  • Abstract:
  • PDF:
  • HTML:
  • Cited by:
History
  • Received:
  • Revised:
  • Adopted:
  • Online:
  • Published:
Article QR Code