Fortran 90 Programming By Ellis Philips And Lahey Pdf

Leave a comment

F90, programs which illustrate some of the features of the FORTRAN90 programming language.

2011-11-10  1.3 Your first programming session Locate and double click the Plato icon Click File, New Select Free Format Fortran File Click File, Save As Create a directory called fortranprograms and open it Type first.f95 1.4 Plato ‐ a programming environment.

The new array syntax added to FORTRAN90 is one of the nicest features for general scientific programming. Other useful features include a standard random number generator, a standard way to get the time and CPU time, and some ways to make a chunk of data available without resorting to common blocks or very long argument lists.

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Languages:

Directories related to F90Rapidshare download. are available in a C version and a C++ version and a FORTRAN90 version and a MATLAB version and a Python version.

Related Data and Programs:

ALLOCATABLE_ARRAY, a FORTRAN90 program which demonstrates how a FORTRAN90 program can declare an allocatable array, pass it to a subroutine, which then allocates and initializes it, returning the allocated and initialized array to the calling program.

F90_INTRINSICS, FORTRAN90 programs which illustrate the use of FORTRAN90 intrinsic functions.

F90_INTRINSICS, FORTRAN90 programs which illustrate the use of FORTRAN90 intrinsic functions.

F90_RANDOM, FORTRAN90 programs which illustrate the use of Fortran's random number generator routines.

G95_INTRINSICS, FORTRAN90 programs which illustrate the use of intrinsic functions peculiar to the G95 FORTRAN compiler.

GFORTRAN_INTRINSICS, a FORTRAN90 program which demonstrates the use of some of the intrinsic functions included with the GFORTRAN compiler.

MAKEFILES, FORTRAN90 programs which show how to use makefiles with a set of FORTRAN90 files.

MIXED, FORTRAN90 programs which show how to write a program partly in FORTRAN90 and partly in some other language.

MPI, FORTRAN90 programs which show how to set up parallel programs in FORTRAN90.

REAL_PRECISION, FORTRAN90 programs which investigate the somewhat awkward methods for requesting a real data type with given precision. This is the preferred method for requesting double or quadruple precision arithmetic;

TIMER, FORTRAN90 programs which show how to compute elapsed CPU time in FORTRAN90.

TIMESTAMP, a FORTRAN90 library which shows how to get a timestamp in FORTRAN90.

XLF_INTRINSICS, FORTRAN90 programs which includes some examples of the use of intrinsic functions peculiar to the IBM XLF FORTRAN compiler.

Reference:

  1. Jeanne Adams, Walter Brainerd, Jeanne Martin, Brian Smith, Jerrold Wagener,
    Fortran90 Handbook,
    Complete ANSI/ISO Reference,
    McGraw Hill, 1992,
    ISBN: 0-07-000406-4,
    LC: QA76.73.F28.F67.
  2. Ian Chivers, Jane Sleightholme,
    Introduction to Programming with Fortran,
    Springer, 2005,
    ISBN: 1846280532,
    LC: QA76.73.F29.C48.
  3. Miles Ellis, Ivor Philips, Thomas Lahey,
    Fortran90 Programming,
    Addison-Wesley, 1994,
    ISBN: 0-201-54446-6,
    LC: QA76.73.F25E435.
  4. Michael Metcalf,
    Fortran95/2003 Explained,
    Oxford, 2004,
    ISBN: 0198526938,
    LC: QA76.73.F235.M48.
  5. Larry Nyhoff, Sanford Leestma,
    Introduction to Fortran90 for Engineers and Scientists,
    Prentice-Hall, 1996,
    ISBN: 0135052157,
    LC: QA76.73.F25N925.
  6. James Ortega,
    An Introduction to FORTRAN90 for Scientific Computing,
    Oxford, 1994,
    ISBN: 0-19-517213-2,
    LC: QA76.73.O75.
  7. William Press, Brian Flannery, Saul Teukolsky, William Vetterling,
    Numerical Recipes in FORTRAN: The Art of Scientific Computing,
    Second Edition,
    Cambridge University Press, 1992,
    ISBN: 0-521-43064-X,
    LC: QA297.N866.
  8. GNU,
    GFORTRAN Reference Manual.
  9. IBM Corporation,
    XLF Language Reference Manual
  10. Intel Corporation,
    Intel Fortran Language Reference.

Examples and Tests:

BIG_INTS shows how you can use the new KIND qualifier to create, for example, really big integers.

  • big_ints.f90, the source code;
  • big_ints.txt, the output file;

BIG_INTS_REAL shows what can go wrong when you try to move large integer values into and out of real variables.

  • big_ints_real.f90, the source code;
  • big_ints_real.txt, the output file;

BINARY_TREE shows how a binary tree can be defined and manipulated, using the FORTRAN90 'POINTER' type.

  • binary_tree.f90, the source code;
  • binary_tree.txt, the output file;

CHAR_ALLOC shows that in FORTRAN90 it is possible to declare an allocatable array of characters, for which the dimension, or perhaps the maximum string length (LEN) is not specified in advance.

  • char_alloc.f90, the source code;
  • char_alloc.txt, the output file;
  • CONSTANT_TYPE shows that FORTRAN90 constants have a type, and that if you don't specify it for real values, the default will be single precision.

    • constant_type.f90, the source code;
    • constant_type.txt, the output file;

    DIGITS investigates how many digits you can usefully specify for data.

    • digits.f90, the source code;
    • digits.txt, the output file;

    DIVISION shows that, if you're expecting double precision accuracy, you need to specify your constants carefully, as double precision values.

    • division.f90, the source code;
    • division.txt, the output file;

    DOUBLE_COMPLEX shows how you can use the new KIND qualifier to create and use variables of type 'double precision complex'.

    • double_complex.f90, the source code;
    • double_complex.txt, the output file;

    EXPONENT_FORMAT_OVERFLOW shows that (at least some) FORTRAN compilers cannot properly print real numbers with exponents of magnitude greater than 99. This becomes an especially serious problem if you write a very large or very small number out, and then read it back in, only to find that it has suddenly entirely lost its exponent, and now has magnitude roughly 1!

    • exponent_format_overflow.f90, the source code;
    • exponent_format_overflow.txt, the output file;

    EXPONENTIAL investigates ways of approximating the exponential function.

    • exponential.f90, the source code;
    • exponential.txt, the output file;

    HELLO is just a 'Hello, world!' program.

    • hello.f90, the source code;
    • hello.txt, the output file;

    LINKED_LIST shows how a linked list can be defined, using the FORTRAN90 'POINTER' type.

    • linked_list.f90, the source code;
    • linked_list.txt, the output file;

    MATRIX_FUNCTION_TEST shows how you may now define a function whose return value is a matrix.

    • matrix_function_test.f90, the source code;
    • matrix_function_test.txt, the output file;

    MAXMIN_TEST shows the use of the very useful MAXVAL and MINVAL operators for vectors and arrays, and the so-very-fussy and hence maddeningly useless operators MAXLOC and MINLOC.

    • maxmin_test.f90, the source code;
    • maxmin_test.txt, the output file;

    MXM multiplies two matrices using the MATMUL intrinsic.

    • mxm.f90, the source code;
    • mxm.txt, the output file;

    RANDOM_test demonstrates the random number routines.

    • random_test.f90, the source code;
    • random_test.txt, the output file;

    READ_VARIABLE_RECORDS shows how to read lines of data when you don't know how many items are on each line. We're assuming that every item is in 'I4' format, but the number of such items variables from line to line.

    • read_variable_records.f90, the source code;
    • read_variable_records.txt, the input file to be read.
    • read_variable_records.txt, the output file;

    RECURSIVE_FUN_TEST shows how you can use recursion in a function definition.

    • recursive_fun_test.f90, the source code;
    • recursive_fun_test.txt, the output file;

    RECURSIVE_SUB_TEST shows how you can use recursion in a subroutine definition.

    Fortran 90 programming by ellis philips and lahey pdf free
    • recursive_sub_test.f90, the source code;
    • recursive_sub_test.txt, the output file;

    SGE_MOD tries to set up an interesting example of the use of modules. In this case, the idea is that a set of linear algebra routines will share a module that stores the value of a matrix, its LU factor and determinant, and also knows which of these items have been computed. This hides a lot of information from the user, and makes for simple calls.

    • sge_mod.f90, the source code;
    • sge_mod_test.f90, a sample calling code;
    • sge_mod_test.txt, the output file;

    SORT_TEST bubble-sorts a real vector.

    • sort_test.f90, the source code;
    • sort_test.txt, the output file;

    STAR16 looks at the use of the common but nonstandard way to request quadruple real precision using 'REAL*16' declarations. Most recently, this seems to work with the G95 compiler, but not with the GFORTRAN compiler.

    • star16.f90, the source code;
    • star16.txt, the output file;

    STOP_MESSAGE shows that a FORTRAN STOP statement can include a message to be printed.

    • stop_message.f90, the source code;
    • stop_message.txt, the output file;

    TRIANGLE_TYPE demonstrates how to create and use a derived data type.

    • triangle_type.f90, the source code;
    • triangle_type.txt, the output file;

    VECTOR_MAX inquires whether a loop with the body 'Z(I)=max(X(I),Y(I))' can be replaced by the vector operation 'Z(1:N)=max(X(1:N),Y(1:N))'.

    • vector_max.f90, the source code;
    • vector_max.txt, the output file;

    WHERE_TEST demonstrates the WHERE statement.

    • where_test.f90, the source code;
    • where_test.txt, the output file;

    You can go up one level to the FORTRAN90 source codes.

    Last revised on 19 March 2019.

    Fortran 90 Programming. Addison-Wesley Longman, Limited, – pages. Fortran 90 programming / T.M.R. Ellis, Ivor R. Philips, Thomas M. Author: Ellis, T. R., Browse; Format: Book; Language: English.

    Fortran 90 Programming by T.M.R. Ellis, available at Book Depository with free delivery worldwide.Author:Vojin DoujinCountry:CanadaLanguage:English (Spanish)Genre:EducationPublished (Last):2 August 2009Pages:118PDF File Size:3.7 MbePub File Size:20.81 MbISBN:933-8-52113-296-1Downloads:24852Price:Free.Free Regsitration RequiredUploader:Fortran 90 ProgrammingOther books in this series. Return to Book Page.Creating your own environment with modules Table Of Content Preface 1. By using our website you agree to our use of cookies. Want to Read saving.

    See all 6 pre-owned listings.Offering a clear tutorial guide for the new Fortran 90 language, this book highlights Fortran 90’s role as a powerful tool for problem-solving in engineering and science. No trivia or quizzes yet. Having been involved in the development of the new standard, the authors provide as a bonus an inside perspective on the design rationale behind the major features of Fortran Fortran 90 programming Series: Following the same format as the author’s Fortran 77 Programming, this work provides a clear, structured approach to problem solving and programming in Fortran Looking for beautiful books? An introduction to numerical methods in Fortran 90 programs Thanks for telling us about the problem.

    Features comprehensive coverage of all the major language features, with clear guidelines on the differences between the 77 and 90 standards case studies illustrating its applications in scientific problem-solving two authoritative chapters in coding numerical methods in Fortran 90 an early introduction to procedures and modules to encourage a structural approach to programming B Repeating parts of your program 7.Global data through storage association Essential data handling 4. International computer science series Format: Intrinsic functions Appendix B. More control over input and output 9. Controlling the flow of your program 6.

    Just a moment while we sign you in to your Goodreads account. Best Selling in Textbooks, Education See all. Fortran 77 Programming: With an Introduction to Fortran 90 Standard – T.

    Ellis – Google BooksAlgorithms and Data Structures Jeffrey H. With an Introduction to Fortran 90 Standard T.

    Brandon marked it as to-read Dec 22, Science Fiction Joe R. Be the first to write a review. Table of contents Preface 1. Basic building blocks 5.

    No ratings or reviews yet. Lahey Addison-Wesley- Computers – pages 0 Reviews https: This book is not yet featured on Listopia.

    Luis F marked it as to-read Aug 27, Skip to main content. To see what your friends thought of this book, please sign up. Tuhin Maji marked it as to-read Sep 14, First steps in Fortran 90 programming 3. PhillipsPaperback Be the first to write a review. We use cookies to give you the best possible experience.Andy rated it liked it Jan 14, Lahey and Ivor R.

    About this product Synopsis Following the same format as the author’s Fortran 77 Programming, this work provides a clear, structured approach to problem solving and programming in Fortran Advanced Computer Architectures T.Goodreads is the world’s largest site for readers with over 50 million reviews.Pointers and dynamic data structures An introduction to arrays 8. Science Fiction Stephen R. The lowest-priced item that has been used or worn previously. Having program,ing involved in the development of the new standard, the authors provide as a bonus an inside perspective on the design rationale behind the major features of Fortran. This website uses cookies to improve your experience while you navigate through the website.

    Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies.

    But opting out of some of these cookies may have an effect on your browsing experience. This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies.

    But opting out of some of these cookies may have an effect on your browsing experience.