Elemental statement provides a simple and generic interface for a procedure regarding its rank -dimensions-. Due to Fortran strong typing programming style, It was a bit challenging to provide generic functions. It required to implement all possible forms (type and rank-dimensions-). Elemental focus in the rank issue with a simple interface. Note an elemental procedure…
read moreDue to Fortran being a strong type language It is required to have an implementation of the same algorithm for each type. Once done, it provides a generic subroutine. In order to achieve it in Fortran it is must be implemented in the following way: Finally: Output: ./a.out 5 11.0000000 15 No need to say…
read more
by lincador
485

JetBrains-cLion is a non-open source (paying) IDE for C/C++. It has support for CMake, GIT, Refactoring and many other features. Because of the payment, there is a 30 days trial period. It is worth mention because it has a Fortran plugin. It enables the possibility to enjoy all features mentioned above in a very stable…
read more