error handling

  • Using the macro __FUNC__ to define routine names; Solves a linear system in parallel with SLES. Also
    illustrates setting a user-defined shell preconditioner and using the
    macro __FUNC__ to define routine names for use in error handling.
    Input parameters include:
    -user_defined_pc : Activate a user-defined preconditioner
  • using the macro __FUNC__ to define routine names; Uses Newton-like methods to solve u'' + u^{2} = f in parallel.
    This example employs a user-defined monitoring routine and optionally a user-defined
    routine to check candidate iterates produced by line search routines. This code also
    demonstrates use of the macro __FUNC__ to define routine names for use in error handling.