Programming in Fortran 95

Download Fortran 95 course, PDF tutorial for beginners to learn the basics of Fortran programming language.

Table of contents

  • A very simple program
  • Running the program
  • Variables and expressions
  • Other variable types: integer, complex and character
  • Intrinsic functions
  • Logical controls
  • Advanced use of if and logical comparisons
  • Repeating ourselves with loops: do
  • The stop statement
  • Expressions and the assignment statement
  • Control instructions
  • The tables
  • Reading and writing operations
  • The procedures
  • Modules
  • Structures or derived types
  • The DFLIB graphic library
  • Procedures: Advanced concepts
  • Modules: Advanced concepts
  • Pointers
  • Optimization notions
  • Execution in command lines
  • Array arithmetic
  • GOOD PROGRAMMING STYLE
  • Readability
  • Self-checking code
  • Write clear code that relates to the physics
  • INPUT TO AND OUTPUT FROM A F95 PROGRAM
  • F95 statements for I/O
  • GRAPHICS AND VISUALISATION
  • Plotting a data file
  • Getting help
  • Further examples
  • Printing graphs into PostScript files
  • Functions
  • Formal definition
  • Subroutines
  • Local and global variables
  • Passing arrays to subroutines and functions
  • Size and shape of array known
  • Arrays of unknown shape and size
  • The intent and save attributes
  • USING MODULES
  • Modules
  • public and private attributes
  • NUMERICAL PRECISION AND MORE ABOUT VARIABLES
  • Entering numerical values
  • Numerical Accuracy

 

Introduction to Fortran

Machine code (numeric notation in octal);

  • mnemonic code assemblers;
  • 1954: project creation of the first language symbolic FORTRAN by John Backus from IBM (Mathematical FORmula

TRANslating System):

  • Efficiency of generated code (performance);
  • Quasi natural language for scientists (productivity, maintenance, readability).
  • 1957: Delivery of the first compilers;
  • 1958: Fortran II (IBM) ⇒ independently computable sub programs.
  • Generalization to other manufacturers but:
  • Divergence of extensions ⇒Normalization requirement;
  • ASA American Standards Association (ANSI).

Committee for the development of a FORTRAN standard. 1966: Fortran IV (Fortran 66);

  • Evolution by divergent extensions. . .
  • 1977: Fortran V (Fortran 77).

almost compatible:
no iteration of the null loops (OD I = 1.0)

  • Main news:
  • type character;
  • IF-THEN-ELSE;
  • Direct access I / O and OPEN.

Anne Fouilloux Patrick Corde (anne.fouilloux@ecmwf.int Patrick.Corde@idris.fr Language Fortran (Base)) January 29, 2018 8/265
Introduction History

  • Work of the X3J3 / ANSI and WG5 / ISO committees to modernize Fortran 77:
  • Standardization: inclusion of extensions;
  • Development: new concepts already exploited by newer languages APL,

Algol, PASCAL, Ada; . . .

  • Performances in scientific computing;
  • Fully compatible with Fortran 77.
  • 1991/1992: Fortran 90 standard (ISO and ANSI);
  • 1994: Fortran 90 Cray and IBM first compilers;
  • 1997: Fortran 95 standard (ISO and ANSI);
  • 1999: First compilers Fortran 95 on Cray T3E then IBM RS / 6000;
  • September 2004: Fortran Standard 2003 (ISO and ANSI);
  • October 2010: Fortran Standard 2008 (ISO and ANSI).

 

Size : 326.145 Kb
File type : pdf
Downloads: 412
Created: 2018-05-21

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others Fortran Tutorials

Introduction to programming with Fortran 95

Getting started with Fortran language

Beginner Fortran 90 tutorial

Fortran 90 for Beginners

Introduction to Programming using Fortran 95/2003/2008

Others related eBooks about Programming in Fortran 95

Learning Symfony 3

Symfony 3 tutoririal to download for free, PDF document on 46 pages created by StackOverFlow which teaches you the basics of this framwork. After reading this tutorial you will know the basics of the Symfony 3 framework...

Think Perl 6: How to Think Like a Computer Scientist

Want to learn how to program and think like a computer scientist? This practical guide gets you started on your programming journey with the help of Perl 6, the younger sister of the popular Perl programming language. Ideal for beginners, this hands-on book includes over 100 exercises with multiple ...

Prolog tutorial in PDF

Download free Prolog tutorial course in PDF, training file in 17 chapters and 51 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

DotNet for professionnals

Download free DotNet tutorial course in PDF, training file in 58 chapters and 192 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Python Notes for Professionals

This book goes beyond the basics to teach beginner- and intermediate-level Python programmers the little-known tools and constructs that build concise, maintainable code. Design better architecture and write easy-to-understand code using highly adoptable techniques that result in more robust and eff...

Beginner's Android Development

Beginner's Android Development Tutorial in PDF,free training course document under 26 pages to learn the basics of Mobile development....

Create native apps with Flutter

Learn how to build beautiful native apps in record time with flutter, free pdf tutorial to download for beginners. Document tutorial by Eduardo Telaya....

Artificial Neural Networks

Artificial Neural Networks (ANN) are state-of-the-art, trainable algorithms that emulate certain major aspects in the functioning of the human brain. This gives them a unique, self-training ability, the ability to formalize unclassified information and, most importantly, the ability to make foreca...

Cookbook for R: Best R Programming TIPs

The goal of this cookbook is to provide solutions to common tasks and problems in analyzing data. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works....

Fundamentals of C# programming

This tutorial is designated to learn the C# language and think like a programmer ,it's a free PDF document under 1122 pages for all level users....