Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

Does fortran OOP decrease efficiency?

$
0
0

I'm maintaining some simulation code with intel fortran 2015. Now I want to add some OOP characteristic like inherent, polymorphism, allocatable scalar, etc. to make the project more manageable. My project is numeric intensive, so i wonder if OOP will cut down effiency much compared with ancient code style (without types, all data in different arrays in common blocks, as you all know, old f77 codes).

I think OOP will effect efficiency but would not too much, but not very sure. and i want to know if there is some probability, how to avoid?

And except the code management, does module/types have other advantages? for example, easy to be parallel than common blocks?

thanks!


Viewing all articles
Browse latest Browse all 5691

Trending Articles