1 |
Just say "No!"
-
EQUIVALENCE was never a good idea for new HPF codes
-
Included for ease of porting F77 codes, with debatable benefits
|
2 |
For new codes:
-
Always declare arrays to be their natural rank
-
Use ALLOCATABLE to make arrays their natural size
-
Use MODULE for global arrays, or pass as explicit arguments
|
3 |
For porting codes:
-
Top-down conversion of subroutines
-
If subroutine really needs EQUIVALENCE, it may be better as an EXTRINSIC
|