Fortran 90 Programming Rules Deltares Fortran90_rules Fortran90
User Manual: Pdf Deltares-Fortran90_rules
Open the PDF directly:
View PDF
.
Page Count: 52
Scroll down to view the document on your mobile browser.
1 Introduction
2 Which Fortran standard?
3 Declarations
3.1 Overall declarations
3.2 Dummy arguments and intents
3.3 Parameters
3.4 Arrays
3.5 Allocatables versus pointers
3.6 Dimensions
3.7 Character strings
3.8 Numeric variables and kinds
3.9 Variables
3.10 Attributes
3.11 Form of declarations
4 Control structures
4.1 GOTO statements
4.2 DO-loops
4.3 IF statements
4.4 STOP statement
4.5 WHERE statement
4.6 SELECT statement
5 I/O statements
5.1 File access
5.2 Logical unit numbers
6 Expressions and assignments
6.1 Pointers and allocatable arrays
6.2 Arrays
6.3 Logical operators
6.4 Mixed precision
6.5 Character strings
6.6 Intrinsic functions
7 Modules
7.1 Interfaces to routines
7.2 Derived types
7.3 Controlling access
8 Source code documentation by Doxygen
8.1 Documentation for files and modules
8.2 Documentation for subroutines and functions
8.3 Documentation for variables
9 Source files
9.1 File names and extension
9.2 Executable statements
9.3 Letters
9.4 Line length
9.5 Tabs
9.6 Comments
9.7 Include files
9.8 Indentation
9.9 Continuation
9.10 END statement
9.11 Header of function/subroutine
10 General recommendations
11 Points of attention
11.1 SAVE attribute
11.2 Alignment of arrays
11.3 Large datasets
11.4 Scope of variable
12 Prohibited features
References
A Example of a source file
Navigation menu
Upload a User Manual
Versions of this User Manual:
Wiki Guide
HTML
Mobile
Download & Help
Views
User Manual
Discussion / Help
Navigation