DATA STRUCTURE OF "TIM" METHOD TO SOLVE 2D AND 3D PROBLEMS OF CONTINUUM MECHANICS
A. A. Voropinov VANT. Ser.: Mat. Mod. Fiz. Proc 2017. Вып.4. С. 3-13.
A static polumorphism-based approach to data structure organization using inheriting mechanisms of Fortran 2003 programming language is discussed. The advantage of the approach described is the possibility of simultaneous implementation of both the old structures that do not use inheriting mechanisms and new ones through the structures with polymorphism. The described approach is used in the program realization of the data structures of TIM method designed for solution of 2D and 3D problems of continuum mechanics on non-structured Lagrangian grids. Implementation of static polymorphism made it possible to realize a unified data structure for 2D abd 3D cases. Keywords: non-structured grid, data structure, polymorphism, Fortran 2003.
|