Programmer's Guide to Fortran 90, 3rd Edition

Table of Contents

Chapter 1 Introduction to Programming in Fortran 90

Programs That Calculate and Print

Intrinsic Data Types

Variables and Input

The Form of a Fortran Program

Some Intrinsic Functions

Expressions and Assignment

Introduction to Formatting

Case Studies: Quadratic Formula

Case Study: Debugging Pendulum Calculations

Chapter 2 Control Constructs

Statement Blocks

Construct Names

The if Construct and IF Statement

The case Construct

The do Construct

The stop Statement

Chapter 3 Procedures

Subroutines

Functions

Argument Passing

Scope

The save Attribute

Case Study: Numerical Integration

Case Study: Calculating Probabilities

Recursion

The return Statement

Chapter 4 Arrays

Declaring and Using Arrays in Fortran

Searching a List

Sorting

Selecting

Case Study: Solving Linear Equations

Case Study: Calculating Probabilities

Chapter 5 Character Data

Use of Character Data in Fortran Programs

Text Analysis

Case Study: Expression Evaluation

Chapter 6 Structures and Derived Types

Structures

Derived Types

Declaring and Using Structures

Chapter 7 Modules

Writing and Using Modules

Case Study: Adaptive Numerical Integration

Extending and Defining Operations

Computing with Big Integers

Chapter 8 Pointer Variables

The Use of Pointers in Fortran

Linked Lists

Trees

Case Study: Finding the Median

Arrays of Pointers

Chapter 9 Input and Output

Records

Files

Data Transfer Statements

The open Statement

The close Statement

The inquire Statement

File Positioning Statements

Formatting

Chapter 10 Redundant Features

Going Against the Flow

Data

Input/Output

Procedures

Miscellaneous

Appendix A Intrinsic Procedures

Intrinsic Functions

Elemental Intrinsic Procedures

Positional Arguments or Argument Keywords

Argument Presence Inquiry Function

Numeric, Mathematical, Character, and Logical Procedures

Numeric Manipulation and Inquiry Functions

Bit Manipulation and Inquiry Procedures

Transfer Function

Array Intrinsic Functions

Pointer Association Status Inquiry Function

Intrinsic Subroutines

Specific Names for Intrinsic Functions

Appendix B Syntax Rules

Notation Used in the Syntax Rules

Syntax Rules and Constraints

Cross References