Emulating Multiple Inheritance in Fortran 20032008

المؤلف

Morris, Karla

المصدر

Scientific Programming

العدد

المجلد 2015، العدد 2015 (31 ديسمبر/كانون الأول 2015)، ص ص. 1-7، 7ص.

الناشر

Hindawi Publishing Corporation

تاريخ النشر

2015-02-11

دولة النشر

مصر

عدد الصفحات

7

التخصصات الرئيسية

الرياضيات

الملخص EN

Although the high-performance computing (HPC) community increasingly embraces object-oriented programming (OOP), most HPC OOP projects employ the C++ programming language.

Until recently, Fortran programmers interested in mining the benefits of OOP had to emulate OOP in Fortran 90/95.

The advent of widespread compiler support for Fortran 2003 now facilitates explicitly constructing object-oriented class hierarchies via inheritance and leveraging related class behaviors such as dynamic polymorphism.

Although C++ allows a class to inherit from multiple parent classes, Fortran and several other OOP languages restrict or prohibit explicit multiple inheritance relationships in order to circumvent several pitfalls associated with them.

Nonetheless, what appears as an intrinsic feature in one language can be modeled as a user-constructed design pattern in another language.

The present paper demonstrates how to apply the facade structural design pattern to support a multiple inheritance class relationshipin Fortran 2003.

The design unleashes the power of the associated class relationships for modeling complicated data structures yet avoids the ambiguities that plague some multiple inheritance scenarios.

نمط استشهاد جمعية علماء النفس الأمريكية (APA)

Morris, Karla. 2015. Emulating Multiple Inheritance in Fortran 20032008. Scientific Programming،Vol. 2015, no. 2015, pp.1-7.
https://search.emarefa.net/detail/BIM-1076498

نمط استشهاد الجمعية الأمريكية للغات الحديثة (MLA)

Morris, Karla. Emulating Multiple Inheritance in Fortran 20032008. Scientific Programming No. 2015 (2015), pp.1-7.
https://search.emarefa.net/detail/BIM-1076498

نمط استشهاد الجمعية الطبية الأمريكية (AMA)

Morris, Karla. Emulating Multiple Inheritance in Fortran 20032008. Scientific Programming. 2015. Vol. 2015, no. 2015, pp.1-7.
https://search.emarefa.net/detail/BIM-1076498

نوع البيانات

مقالات

لغة النص

الإنجليزية

الملاحظات

Includes bibliographical references

رقم السجل

BIM-1076498