Version 4 (modified by 12 years ago) ( diff ) | ,
---|
Readq(INTEGER n, INTEGER style)
Click here to view the Revision 161 source.
The Readq() subroutine essentially opens a data file and calls the Inputq() function. The input parameters n
and style
represent the starting frame and the style of the data file, respectively.
There are a number of file formats that are listed in the SELECT CASE
statement for which the support code is not complete; these are noted in the code. For the most part, AstroBEAR uses HDF-formatted files, so we don't have any trouble.
Note that the HDFx code in this function opens two descriptors for the HDF file; one for variable fields and one for grid data.
INCLUDES:
USES:
- HDF5 supplies HDF5 API.
- nodeinfodef.f90 supplies the NodeInfo data structure and some functions that operate on it.
- treeops.f90 supplies the Node and Forest structures and accompanying methods, as well as the ApplyOn_ functions.
- problem.f90 Supplies the problem setup data. This file exists in bearclaw/lib, but is superseded by bearclaw/contrib/astro/problem.f90.