Wiki

Clone wiki

pflotran / Depreciated / Documentation / QuickGuide / Debug

Back to Quick Guide

DEBUG Card

Defines debugging options for writing data to the screen, output file and other external files.

Required Cards:

DEBUG
Opens the block.

Optional Cards:

PRINT_SOLUTION
prints current solution at each Newton iteration (filename = MODExx.dat).
PRINT_RESIDUAL
prints current solution at each Newton iteration (filename = MODEresidual.dat)
PRINT_JACOBIAN
prints current solution at each Newton iteration (filename = MODEjacobian.dat)
PRINT_JACOBIAN_DETAILED
prints current solution at each Newton iteration, splitting out individual contributions (e.g. accumulation, internal fluxes, bc fluxes, src/sinks). Not supported for all modes.
PRINT_JACOBIAN_NORM
prints norm of Jacobian at each Newton iteration
PRINT_COUPLERS
prints each coupler to a file (for checking boundary connections)
PRINT_NUMERICAL_DERIVATIVES
Not yet supported
WAYPOINTS
prints list of waypoints to screen and pflotran.out
BINARY_FORMAT
Saves the PETSc vectors and matrices in binary format. The default output format for the PETSc vectors and matrices is ASCII.

Examples

DEBUG
  PRINT_SOLUTION
  PRINT_RESIDUAL
  PRINT_JACOBIAN
END

Updated