Date: 2022-08-02T03:13:45+00:00

Actual source code: petscmatelemental.h

      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 */