04 2022 档案

摘要:参考自Introduction to Modern Fortran for the Earth System Sciences 过程重载 OOP中的另一个重要技术是过程重载(Procedure Overloading)(也称为“ad-hoc多态性(ad-hoc polymorphism)”)。这里的 阅读全文
posted @ 2022-04-05 08:52 chinagod 阅读(1505) 评论(0) 推荐(0)
摘要:继承(类扩展)和聚合 参考自Introduction to Modern Fortran for the Earth System Sciences 我们在3.3部分的开头提到过,OOP范式通常会导致类型的层次结构。Fortran程序员可以使用两种机制来构造这些层次结构:继承和聚合。我们将在本节中简 阅读全文
posted @ 2022-04-03 17:07 chinagod 阅读(643) 评论(0) 推荐(0)
摘要:以下为整理后的笔记,英文原文 Introduction to Modern Fortran for the Earth System Sciences, 英文翻译 https://www.cnblogs.com/jiangleads/articles/16089427.html 派生数据类型 在数值 阅读全文
posted @ 2022-04-02 21:00 chinagod 阅读(1229) 评论(0) 推荐(0)