Actual source code: tcqmrimpl.h
petsc-3.10.5 2019-03-28
Report Typos and Errors

      1: /*
      2:    Private include for tcqmr package
      3:  */

      5:  #include <petsc/private/kspimpl.h>

      7: /* vector names */
      8: #define VEC_OFFSET 0
      9: #define VEC_SOLN   ksp->vec_sol
     10: #define VEC_RHS    ksp->vec_rhs
     11: #define b          VEC_RHS
     12: #define x          VEC_SOLN
     13: #define r          ksp->work[VEC_OFFSET+1]
     14: #define um1        ksp->work[VEC_OFFSET+2]
     15: #define u          ksp->work[VEC_OFFSET+3]
     16: #define vm1        ksp->work[VEC_OFFSET+4]
     17: #define v          ksp->work[VEC_OFFSET+5]
     18: #define v0         ksp->work[VEC_OFFSET+6]
     19: #define pvec1      ksp->work[VEC_OFFSET+7]
     20: #define pvec2      ksp->work[VEC_OFFSET+8]
     21: #define p          ksp->work[VEC_OFFSET+9]
     22: #define y          ksp->work[VEC_OFFSET+10]
     23: #define z          ksp->work[VEC_OFFSET+11]
     24: #define utmp       ksp->work[VEC_OFFSET+12]
     25: #define up1        ksp->work[VEC_OFFSET+13]
     26: #define vp1        ksp->work[VEC_OFFSET+14]
     27: #define pvec       ksp->work[VEC_OFFSET+15]
     28: #define vtmp       ksp->work[VEC_OFFSET+16]
     29: #define TCQMR_VECS 17