wiki:problemIO

Version 2 (modified by trac, 12 years ago) ( diff )

SUBROUTINE problemIO(INTEGER nFrame, REAL tnow, INTEGER IOrequest, NodeInfo Info, REAL[] qmax, REAL[] qmin)


Defined In:

contrib/astro/problem.f90


Inputs:

INTEGER nFrame. The number of the current frame.

REAL tnow. The current time.

INTEGER IOrequest. An integer flag with one of the following possible values:

  • -1: Indicates that IO should happen prior to the parsing of a node.
  • -2: Indicates that IO should happen after the parsing of a node.
  • -3: Requires the subroutine to use a user-defined format.
  • 0: Indicates that local minima and maxima have been determined.
  • 1 or more: Instructs problemIO() to print the field variable indicated by this index.


OPTIONAL: NodeInfo Info. A grid to be operated on.

OPTIONAL: REAL[] qmax. A one-dimensional array included if the maximum is to be sought.

OPTIONAL: REAL[] qmin. A one-dimensional array included if the minimum is to be sought.


Description:

An old I/O routine that produces 1D lineout plots of the field variables using PGPlot. Only method -3 from the IOrequest option list is implemented, and we don't really use it any more.

(Note: This routine will complain endlessly if you don't have PGPlot installed. You are better off just commenting out the entire body of the subroutine if this happens, as the one beario.f90 function that still calls problemIO() is itself never called. This is definitely a candidate for deprecation/deletion.)


Called In:

BearIO :: UserIO()


Modules Used:

None.


Files Included:

None.

Note: See TracWiki for help on using the wiki.