Fortran: The Introduction
Fortran: The Introduction
THE INTRODUCTION
GROUP 1 PRESENTATION
MAJOR FACTS ABOUT FORTRAN/HISTORY
• FORTRAN - is a computer programming language that is extensively used in
numerical & scientifically computing. It’s applications are found in the scientific
fields, particularly numerical weather prediction, computations for fluid dynamics
and computational physics.
FORTRAN 2003 This is a major revision that introduced that provide new features
like Derived Types, Object Oriented Programming, and
Interoperability with C programming language.
FORTRAN 2008 Updated version of FORTRAN 2003, which released in 2010.
MAJOR FACTS ABOUT FORTRAN/HISTORY
• Original versions, Fortran I, II and III are considered obsolete now.
• Most commonly used versions today are : Fortran 77, Fortran 90, and Fortran 95.
A. INTEGER A.LOGICAL
EXAMPLE: 1,2,3 HAS ONLY TWO POSSIBLE VALUES:
TRUE AND FALSE
B. REAL B. CHARACTER
EXAMPLE FOR EXPONENTIAL: 1E6, 1.2E7 ENCLOSED WITHIN A PAIR OF SINGLE
QUOTES : ‘123’, ‘HELLO WORLD’
C. DOUBLE PRECISION
EXAMPLE: 1.2D6, 2.1D9
D. COMPLEX
EXAMPLE: (3,1), (2.1D4,1.22D2)
BASIC PROGRAMMING/ IMPORTANT TERMS
FORTRAN is case insensitive. For example: hello, HELLO, HeLLo are all the same.
• It was the first High Level programming language, developed by John W. Backus and
his team for IBM in 1954.
Fortran is rarely used today in industry, However, Fortran is still a dominant language for the
large scale simulation of physical systems, for things like the astrophysical modelling of
stars and galaxies, hydrodynamics codes ,large scale molecular dynamics, electronic
structure calculation codes ,large scale climate models, etc. In the field of high
performance computing (HPC), of which large scale numerical simulation is a subset, there
are only two languages in use today — C++ and “modern Fortran” (Fortran 90/95/03/08).
APPLICATION OF FORTRAN
Design of bridges
APPLICATION OF FORTRAN