Download Latest Version geomlib.tar.gz (58.3 kB)
Email in envelope

Get an email when there's a new version of CFD Utilities

Home / EXTRACT_FUNCTIONS
Name Modified Size InfoDownloads / Week
Parent folder
README 2018-09-19 1.8 kB
extract_functions.f90 2016-03-06 5.7 kB
build 2016-03-06 516 Bytes
Totals: 3 Items   8.0 kB 0
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!
   program extract_functions
!
!  Description:
!
!     EXTRACT_FUNCTIONS extracts the indicated list of functions from a PLOT3D
!  function file, probably to avoid redundant flow interpolation for some other
!  application.  The circumstance that prompted it involves working with volume
!  datasets compatible with BLAYER when only pressure, temperature and electron
!  number density are required for a RADIO_BLACKOUT program.
!
!     The input and output function file names are entered via prompts, and the
!  list of function numbers to extract is entered via a control file.  The form
!  of the input file is determined automatically, and the output file takes the
!  the same form (ASCII or unformatted).  There is no need to deal with the
!  associated grid file.
!
!  Control file ('extract_functions.inp'):
!
!     This should contain a list of integers representing the desired functions
!  and their output order.  The list can take any of the forms handled by the
!  RDLIST utility and it should be on a single line.  Examples:
!
!     2 3 14                    (p, T and electron density from a BLAYER input)
!
!     2 3 15:17                 (p, T and velocity components likewise)
!
!     15-17 1:3                 (any sensible list, not necessarily ascending)
!
!  History:
!
!     03/04/2016  D.A.Saunders  Initial adaptation of earlier utilities.
!     03/05/2016    "     "     Introduced f_io.f90 and made use of it for
!                               much more efficient function file I/O.
!
!  Author:  David Saunders, AMA, Inc./NASA Ames Research Ctr., Moffett Field, CA
!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Source: README, updated 2018-09-19