Object-oriented programming of adaptive finite element and finite volume methods

被引:26
作者
Liu, JL
Lin, IJ
Shih, MZ
Chen, RC
Hsieh, MC
机构
[1] NATL CHIAO TUNG UNIV,DEPT MECH ENGN,HSINCHU,TAIWAN
[2] NATL YUNLIN POLYTECHN INST,DEPT POWER MECH ENGN,YUN LIN,TAIWAN
关键词
object-oriented programming; C++; adaptive methods; finite elements; finite volumes;
D O I
10.1016/S0168-9274(96)00044-X
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
This article describes an object-oriented implementation of the finite element method and the finite volume method in a unified adaptive system using the programming language C++. The system applies to various types of mathematical model problems. Traditionally, different numerical methods for different types of problems are implemented independently by procedural languages such as C and Fortran. Moreover, adaptive analysis programs are more complicated than nonadaptive programs. Nevertheless, these methods share many common properties such as linear system solvers, data structures, a posteriori error analyses, and refinement processes. Some advantageous features of object-oriented programming are demonstrated through the integration of these properties in the adaptive system. New data types of objects specific to adaptive methods are also introduced. The system is well-structured, extendable, and maintainable due mainly to the nature of encapsulation and inheritance of object-oriented programming.
引用
收藏
页码:439 / 467
页数:29
相关论文
共 38 条
[1]   2ND-ORDER FINITE-ELEMENT APPROXIMATIONS AND A POSTERIORI ERROR ESTIMATION FOR TWO-DIMENSIONAL PARABOLIC-SYSTEMS [J].
ADJERID, S ;
FLAHERTY, JE .
NUMERISCHE MATHEMATIK, 1988, 53 (1-2) :183-198
[2]   A UNIFIED APPROACH TO A POSTERIORI ERROR ESTIMATION USING ELEMENT RESIDUAL METHODS [J].
AINSWORTH, M ;
ODEN, JT .
NUMERISCHE MATHEMATIK, 1993, 65 (01) :23-50
[3]   A WEIGHTED LEAST-SQUARES METHOD FOR THE BACKWARD-FORWARD HEAT-EQUATION [J].
AZIZ, AK ;
LIU, JL .
SIAM JOURNAL ON NUMERICAL ANALYSIS, 1991, 28 (01) :156-167
[4]   ERROR ESTIMATES FOR ADAPTIVE FINITE-ELEMENT COMPUTATIONS [J].
BABUSKA, I ;
RHEINBOLDT, WC .
SIAM JOURNAL ON NUMERICAL ANALYSIS, 1978, 15 (04) :736-754
[5]   THE POST-PROCESSING APPROACH IN THE FINITE-ELEMENT METHOD .2. THE CALCULATION OF STRESS INTENSITY FACTORS [J].
BABUSKA, I ;
MILLER, A .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 1984, 20 (06) :1111-1129
[6]   THE POST-PROCESSING APPROACH IN THE FINITE-ELEMENT METHOD .3. A POSTERIORI ERROR-ESTIMATES AND ADAPTIVE MESH SELECTION [J].
BABUSKA, I ;
MILLER, A .
INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 1984, 20 (12) :2311-2324
[8]   ACCURACY OF LEAST-SQUARES METHODS FOR THE NAVIER-STOKES EQUATIONS [J].
BOCHEV, PB ;
GUNZBURGER, MD .
COMPUTERS & FLUIDS, 1993, 22 (4-5) :549-563
[9]   A LEAST-SQUARES FINITE-ELEMENT METHOD FOR THE HELMHOLTZ-EQUATION [J].
CHANG, CL .
COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 1990, 83 (01) :1-7
[10]  
CLARK K, 1994, APPL NUMER MATH, V14