[petsc-dev] petsccusp.h is a weird file

Barry Smith bsmith at mcs.anl.gov
Wed Feb 13 19:09:37 CST 2013


  It is in include/petsccusp.h but has includes from the PETSc source code tree (which won't even work for --prefix installs). 

  Likely this need to be refactored or discarded or something 

  #if !defined(__PETSCCUSP_H)
#define __PETSCCUSP_H
/*
    This should only be included in user code that uses CUSP directly and hence the file name ends with .cu
*/
#include <../src/vec/vec/impls/dvecimpl.h>
#include <../src/vec/vec/impls/seq/seqcusp/cuspvecimpl.h>
#endif






More information about the petsc-dev mailing list