Dynamic polymorphism in Fortran 95: how submodules can help
暂无分享,去创建一个
This article discusses the implementation of generic list or tree structures in Fortran 95 via emulation of dynamic polymorphism. The method allows the unified handling of multiple kinds of information structures [1] using a single intermediate module. It is shown that a well-designed implementation additionally requires the use of the submodule feature as described in the Technical Report ISO/IEC 19767.
[1] Boleslaw K. Szymanski,et al. Introduction to Object-Oriented Concepts using Fortran90 , 2002 .
[2] Charles D. Norton,et al. Object-Oriented Plasma PIC Simulation Using Fortran 90 on Supercomputers , 1998 .
[3] David Thomas,et al. The Art in Computer Programming , 2001 .
[4] Roger Young,et al. A generic list implementation , 2001, FORF.