Defines
include/deal.II/base/config.h File Reference
Include dependency graph for config.h:

Defines

#define DEAL_II_NAMESPACE_OPEN   namespace dealii {
#define DEAL_II_NAMESPACE_CLOSE   }
#define DEAL_II_ABORT_NOTHROW_EXCEPTION   1
#define DEAL_II_CAN_USE_CXX1X   1
#define DEAL_II_COMPAT_MAPPING   true
#define DEAL_II_COMPILER_SUPPORTS_MPI   1
#define DEAL_II_HAVE_ISFINITE   1
#define DEAL_II_IMPLEMENTED_PURE_FUNCTION_BUG   1
#define DEAL_II_MAJOR   7
#define DEAL_II_MEMBER_OP_TEMPLATE_INST
#define DEAL_II_MINOR   0
#define DEAL_II_MIN_BOOL_VECTOR_CAPACITY   64
#define DEAL_II_MIN_VECTOR_CAPACITY   1
#define DEAL_II_NESTED_CLASS_TEMPL_FRIEND_BUG   1
#define DEAL_II_PATH   "/home/hazelsct/repositories/deal.ii"
#define DEAL_II_USE_METIS   1
#define DEAL_II_USE_MT   1
#define DEAL_II_USE_MT_POSIX   1
#define DEAL_II_USE_PETSC   1
#define DEAL_II_USE_SLEPC   1
#define DEAL_II_USE_TRILINOS   1
#define HAVE_BUILTIN_EXPECT   1
#define HAVE_DAXPY_   1
#define HAVE_DGEEVX_   1
#define HAVE_DGEEV_   1
#define HAVE_DGELSD_   1
#define HAVE_DGEMM_   1
#define HAVE_DGEMV_   1
#define HAVE_DGEQRF_   1
#define HAVE_DGESDD_   1
#define HAVE_DGESVD_   1
#define HAVE_DGETRF_   1
#define HAVE_DGETRI_   1
#define HAVE_DGETRS_   1
#define HAVE_DORGQR_   1
#define HAVE_DORMQR_   1
#define HAVE_DSTEV_   1
#define HAVE_DSYGV_   1
#define HAVE_DTRTRS_   1
#define HAVE_GETHOSTNAME   1
#define HAVE_GETPID   1
#define HAVE_GLIBC_STACKTRACE   1
#define HAVE_INTTYPES_H   1
#define HAVE_JN   1
#define HAVE_LIBBLAS   1
#define HAVE_LIBLAPACK   1
#define HAVE_LIBNETCDF   1
#define HAVE_LIBSTDCXX_DEMANGLER   1
#define HAVE_LIBUMFPACK   1
#define HAVE_LIBZ   1
#define HAVE_MEMORY_H   1
#define HAVE_SAXPY_   1
#define HAVE_SGEEVX_   1
#define HAVE_SGEEV_   1
#define HAVE_SGELSD_   1
#define HAVE_SGEMM_   1
#define HAVE_SGEMV_   1
#define HAVE_SGEQRF_   1
#define HAVE_SGESDD_   1
#define HAVE_SGESVD_   1
#define HAVE_SGETRF_   1
#define HAVE_SGETRI_   1
#define HAVE_SGETRS_   1
#define HAVE_SORGQR_   1
#define HAVE_SORMQR_   1
#define HAVE_SSTEV_   1
#define HAVE_SSYGV_   1
#define HAVE_STDINT_H   1
#define HAVE_STDLIB_H   1
#define HAVE_STD_IOSFWD_HEADER   1
#define HAVE_STD_ITERATOR_CLASS   1
#define HAVE_STD_NUMERIC_LIMITS   1
#define HAVE_STD_OSTREAM_HEADER   1
#define HAVE_STD_STRINGSTREAM   1
#define HAVE_STRINGS_H   1
#define HAVE_STRING_H   1
#define HAVE_STRTRS_   1
#define HAVE_SYS_STAT_H   1
#define HAVE_SYS_SYSCALL_H   1
#define HAVE_SYS_TYPES_H   1
#define HAVE_UNISTD_H   1
#define HAVE_VERBOSE_TERMINATE   1
#define DEAL_II_PACKAGE_BUGREPORT   "dealii@dealii.org"
#define DEAL_II_PACKAGE_NAME   "deal.II"
#define DEAL_II_PACKAGE_STRING   "deal.II 7.0.0"
#define DEAL_II_PACKAGE_TARNAME   "deal.II"
#define PACKAGE_URL   ""
#define DEAL_II_PACKAGE_VERSION   "7.0.0"
#define PETSC_SKIP_UNDERSCORE_CHKERR   1
#define STDC_HEADERS   1
#define DEAL_VOLATILE   volatile
#define DEAL_II_PETSC_VERSION_LT(major, minor, subminor)
#define DEAL_II_PETSC_VERSION_GTE(major, minor, subminor)

Define Documentation

#define DEAL_II_NAMESPACE_OPEN   namespace dealii {

Two macro names that we put at the top and bottom of all deal.II files and that will be expanded to "namespace dealii {" and "}".

#define DEAL_II_NAMESPACE_CLOSE   }
#define DEAL_II_ABORT_NOTHROW_EXCEPTION   1
#define DEAL_II_CAN_USE_CXX1X   1
#define DEAL_II_COMPAT_MAPPING   true
#define DEAL_II_COMPILER_SUPPORTS_MPI   1
#define DEAL_II_HAVE_ISFINITE   1
#define DEAL_II_IMPLEMENTED_PURE_FUNCTION_BUG   1
#define DEAL_II_MAJOR   7
#define DEAL_II_MEMBER_OP_TEMPLATE_INST
#define DEAL_II_MINOR   0
#define DEAL_II_MIN_BOOL_VECTOR_CAPACITY   64
#define DEAL_II_MIN_VECTOR_CAPACITY   1
#define DEAL_II_NESTED_CLASS_TEMPL_FRIEND_BUG   1
#define DEAL_II_PATH   "/home/hazelsct/repositories/deal.ii"
#define DEAL_II_USE_METIS   1
#define DEAL_II_USE_MT   1
#define DEAL_II_USE_MT_POSIX   1
#define DEAL_II_USE_PETSC   1
#define DEAL_II_USE_SLEPC   1
#define DEAL_II_USE_TRILINOS   1
#define HAVE_BUILTIN_EXPECT   1
#define HAVE_DAXPY_   1
#define HAVE_DGEEVX_   1
#define HAVE_DGEEV_   1
#define HAVE_DGELSD_   1
#define HAVE_DGEMM_   1
#define HAVE_DGEMV_   1
#define HAVE_DGEQRF_   1
#define HAVE_DGESDD_   1
#define HAVE_DGESVD_   1
#define HAVE_DGETRF_   1
#define HAVE_DGETRI_   1
#define HAVE_DGETRS_   1
#define HAVE_DORGQR_   1
#define HAVE_DORMQR_   1
#define HAVE_DSTEV_   1
#define HAVE_DSYGV_   1
#define HAVE_DTRTRS_   1
#define HAVE_GETHOSTNAME   1
#define HAVE_GETPID   1
#define HAVE_GLIBC_STACKTRACE   1
#define HAVE_INTTYPES_H   1
#define HAVE_JN   1
#define HAVE_LIBBLAS   1
#define HAVE_LIBLAPACK   1
#define HAVE_LIBNETCDF   1
#define HAVE_LIBSTDCXX_DEMANGLER   1
#define HAVE_LIBUMFPACK   1
#define HAVE_LIBZ   1
#define HAVE_MEMORY_H   1
#define HAVE_SAXPY_   1
#define HAVE_SGEEVX_   1
#define HAVE_SGEEV_   1
#define HAVE_SGELSD_   1
#define HAVE_SGEMM_   1
#define HAVE_SGEMV_   1
#define HAVE_SGEQRF_   1
#define HAVE_SGESDD_   1
#define HAVE_SGESVD_   1
#define HAVE_SGETRF_   1
#define HAVE_SGETRI_   1
#define HAVE_SGETRS_   1
#define HAVE_SORGQR_   1
#define HAVE_SORMQR_   1
#define HAVE_SSTEV_   1
#define HAVE_SSYGV_   1
#define HAVE_STDINT_H   1
#define HAVE_STDLIB_H   1
#define HAVE_STD_IOSFWD_HEADER   1
#define HAVE_STD_ITERATOR_CLASS   1
#define HAVE_STD_NUMERIC_LIMITS   1
#define HAVE_STD_OSTREAM_HEADER   1
#define HAVE_STD_STRINGSTREAM   1
#define HAVE_STRINGS_H   1
#define HAVE_STRING_H   1
#define HAVE_STRTRS_   1
#define HAVE_SYS_STAT_H   1
#define HAVE_SYS_SYSCALL_H   1
#define HAVE_SYS_TYPES_H   1
#define HAVE_UNISTD_H   1
#define HAVE_VERBOSE_TERMINATE   1
#define DEAL_II_PACKAGE_BUGREPORT   "dealii@dealii.org"
#define DEAL_II_PACKAGE_NAME   "deal.II"
#define DEAL_II_PACKAGE_STRING   "deal.II 7.0.0"
#define DEAL_II_PACKAGE_TARNAME   "deal.II"
#define PACKAGE_URL   ""
#define DEAL_II_PACKAGE_VERSION   "7.0.0"
#define PETSC_SKIP_UNDERSCORE_CHKERR   1
#define STDC_HEADERS   1
#define DEAL_VOLATILE   volatile

Depending on the use of threads, we will have to make some variables volatile. We do this here in a very old-fashioned C-style, but still convenient way.

#define DEAL_II_PETSC_VERSION_LT (   major,
  minor,
  subminor 
)
Value:
((PETSC_VERSION_MAJOR * 10000 + \
    PETSC_VERSION_MINOR * 100 + \
    PETSC_VERSION_SUBMINOR) \
    <  \
    (major)*10000 + (minor)*100 + (subminor))

These macros are defined to make testing for PETSc versions within the deal.II main code as simple as possible. In brief they are used like this: (i) DEAL_II_PETSC_VERSION_LT is used to advance the PETScWrappers to newer versions of PETSc while preserving backward compatibility; and (ii) DEAL_II_PETSC_VERSION_GTE is used to add functionality to the PETScWrappers that does not exist in previous versions of PETSc. Examples of usage can be found in lac/source/petsc_matrix_base.h. Note: SLEPcWrappers do not need their own analogical macros, since SLEPc and PETSc must have identical version numbers anyways.

#define DEAL_II_PETSC_VERSION_GTE (   major,
  minor,
  subminor 
)
Value:
((PETSC_VERSION_MAJOR * 10000 + \
    PETSC_VERSION_MINOR * 100 + \
    PETSC_VERSION_SUBMINOR) \
    >=  \
    (major)*10000 + (minor)*100 + (subminor))

deal.II documentation generated on Fri Aug 12 2011 15:00:21 by doxygen 1.7.4