Actual source code: vecnestimpl.h

      2: #if !defined(VecNest_impl_h)
      3: #define VecNest_impl_h

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

      7: typedef struct {
      8:   PetscInt  nb;           /* n blocks */
      9:   Vec       *v;
     10:   IS        *is;
     11:   PetscBool setup_called;
     12: } Vec_Nest;

     14: #if !defined(PETSC_CLANG_STATIC_ANALYZER)
     15: #define VecNestCheckCompatible2(x,xarg,y,yarg) do {                    \
     22:   } while (0)

     24: #define VecNestCheckCompatible3(x,xarg,y,yarg,z,zarg) do {             \
     35:   } while (0)
     36: #else
     37: template <typename Tv>
     38: void VecNestCheckCompatible2(Tv,int,Tv,int);
     39: template <typename Tv>
     40: void VecNestCheckCompatible3(Tv,int,Tv,int,Tv,int);
     41: #endif

     43: #endif