Shadow-object interface between Fortran 95 and C++
Computing in Science and Engineering
A method for overlapping and erasure of lists
Communications of the ACM
Memory leaks in derived types revisited
ACM SIGPLAN Fortran Forum
An overview of the Trilinos project
ACM Transactions on Mathematical Software (TOMS) - Special issue on the Advanced CompuTational Software (ACTS) Collection
An on-the-fly reference-counting garbage collector for java
ACM Transactions on Programming Languages and Systems (TOPLAS)
Design patterns for multiphysics modeling in Fortran 2003 and C++
ACM Transactions on Mathematical Software (TOMS)
A reference counting implementation in Fortran 95/2003
ACM SIGPLAN Fortran Forum
Scientific Software Design: The Object-Oriented Way
Scientific Software Design: The Object-Oriented Way
Exploring capabilities within ForTrilinos by solving the 3D Burgers equation
Scientific Programming
Hi-index | 0.00 |
The object-oriented programming (OOP) constructs of Fortran 2003 facilitate an elegant memory management solution of particular value when Fortran drives a second language that does not provide automatic garbage collection. More specifically, when Fortran derived types shadow a companion language's objects, safe and economical execution requires destroying the companion objects when and only when all corresponding shadows have expired. This paper focuses on the object-oriented design (OOD) of reference-counted shadow objects. The presented class structure automatically controls the lifetimes of any shadow objects that extend a universal parent class. The paper also discusses a relevant use case in ForTrilinos, a set of object-oriented Fortran interfaces to C++ packages in the Trilinos parallel numerical solver library1.