allocatable_array_test


allocatable_array_test, a Fortran90 code which demonstrates how a main program can declare an allocatable array, which is then passed to a subroutine which allocates it, initializes it, and returns it to the calling program for further use.

Licensing:

The information on this web page is distributed under the MIT license.

Languages:

allocatable_array_test is available in a C version and a C++ version and a Fortran90 version.

Related Data and Programs:

f90_test, Fortran90 codes which illustrate the use of various Fortran90 features.

gfortran_test, Fortran90 codes which includes examples of the use of the gfortran compiler with Fortran90 code.

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.

Source code:


Last revised on 11 June 2019.