Actual source code: petscmatelemental.h

petsc-3.13.6 2020-09-29
Report Typos and Errors
  1: #if !defined(PETSCMATELEMENTAL_H)
  2: #define PETSCMATELEMENTAL_H

  4:  #include <petscmat.h>

  6: #if defined(PETSC_HAVE_ELEMENTAL) && defined(__cplusplus)
  7: #include <El.hpp>
  8: #if defined(PETSC_USE_COMPLEX)
  9: typedef El::Complex<PetscReal> PetscElemScalar;
 10: #else
 11: typedef PetscScalar PetscElemScalar;
 12: #endif
 13: #endif

 15: #endif /* PETSCMATELEMENTAL_H */