Reference documentation for deal.II version 9.3.3
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Macros
config.h File Reference
#include <mpi.h>
#include <deal.II/base/numbers.h>
#include <deal.II/base/types.h>
#include <boost/version.hpp>

Go to the source code of this file.

Macros

#define DEAL_II_PACKAGE_NAME   "deal.II"
 
#define DEAL_II_PACKAGE_VERSION   "9.3.3"
 
#define DEAL_II_VERSION_MAJOR   9
 
#define DEAL_II_VERSION_MINOR   3
 
#define DEAL_II_VERSION_SUBMINOR   3
 
#define DEAL_II_WITH_ADOLC
 
#define DEAL_II_WITH_ARPACK
 
#define DEAL_II_WITH_ASSIMP
 
#define DEAL_II_WITH_COMPLEX_VALUES
 
#define DEAL_II_WITH_GINKGO
 
#define DEAL_II_WITH_GMSH
 
#define DEAL_II_WITH_GSL
 
#define DEAL_II_WITH_LAPACK
 
#define DEAL_II_WITH_METIS
 
#define DEAL_II_WITH_MUPARSER
 
#define DEAL_II_WITH_SUNDIALS
 
#define DEAL_II_WITH_SYMENGINE
 
#define DEAL_II_WITH_TBB
 
#define DEAL_II_WITH_UMFPACK
 
#define DEAL_II_WITH_ZLIB
 
#define DEAL_II_WITH_THREADS
 
#define TBB_SUPPRESS_DEPRECATED_MESSAGES   1
 
#define DEAL_II_TBB_WITH_ONEAPI
 
#define DEAL_II_COMPILER_USE_VECTOR_ARITHMETICS
 
#define DEAL_II_HAVE_BUILTIN_EXPECT
 
#define DEAL_II_HAVE_GLIBC_STACKTRACE
 
#define DEAL_II_HAVE_LIBSTDCXX_DEMANGLER
 
#define DEAL_II_ALWAYS_INLINE   __attribute__((always_inline))
 
#define DEAL_II_RESTRICT   __restrict
 
#define DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA
 
#define DEAL_II_VECTORIZATION_WIDTH_IN_BITS   128
 
#define DEAL_II_COMPILER_VECTORIZATION_LEVEL   1
 
#define DEAL_II_OPENMP_SIMD_PRAGMA   _Pragma("omp simd")
 
#define DEAL_II_HAVE_CXX14
 
#define DEAL_II_HAVE_CXX17
 
#define DEAL_II_HAVE_FP_EXCEPTIONS
 
#define DEAL_II_HAVE_CXX17_BESSEL_FUNCTIONS
 
#define DEAL_II_DEPRECATED   [[deprecated]]
 
#define DEAL_II_DEPRECATED_EARLY
 
#define DEAL_II_FALLTHROUGH   [[fallthrough]]
 
#define DEAL_II_CONSTEXPR   constexpr
 
#define DEAL_II_WITH_CXX11
 
#define DEAL_II_WITH_CXX14
 
#define DEAL_II_WITH_CXX17
 
#define DEAL_II_HAVE_SYS_RESOURCE_H
 
#define DEAL_II_HAVE_UNISTD_H
 
#define DEAL_II_HAVE_GETHOSTNAME
 
#define DEAL_II_HAVE_GETPID
 
#define DEAL_II_ADOLC_WITH_ATRIG_ERF
 
#define DEAL_II_ADOLC_WITH_ADVANCED_BRANCHING
 
#define DEAL_II_SUNDIALS_WITH_IDAS
 
#define DEAL_II_VERSION_GTE(major, minor, subminor)
 
#define DEAL_II_BOOST_VERSION_MAJOR   1
 
#define DEAL_II_BOOST_VERSION_MINOR   78
 
#define DEAL_II_BOOST_VERSION_SUBMINOR   0
 
#define DEAL_II_BOOST_VERSION_GTE(major, minor, subminor)
 
#define DEAL_II_GMSH_EXECUTABLE_PATH   "/usr/bin/gmsh"
 
#define DEAL_II_P4EST_VERSION_MAJOR
 
#define DEAL_II_P4EST_VERSION_MINOR
 
#define DEAL_II_P4EST_VERSION_SUBMINOR
 
#define DEAL_II_P4EST_VERSION_PATCH
 
#define DEAL_II_P4EST_VERSION_GTE(major, minor, subminor, patch)
 
#define DEAL_II_SUNDIALS_VERSION_MAJOR   6
 
#define DEAL_II_SUNDIALS_VERSION_MINOR   2
 
#define DEAL_II_SUNDIALS_VERSION_PATCH   0
 
#define DEAL_II_SUNDIALS_VERSION_GTE(major, minor, patch)
 
#define DEAL_II_SUNDIALS_VERSION_LT(major, minor, patch)
 
#define DEAL_II_PETSC_VERSION_LT(major, minor, subminor)
 
#define DEAL_II_PETSC_VERSION_GTE(major, minor, subminor)
 
#define DEAL_II_SLEPC_VERSION_GTE(major, minor, subminor)
 
#define DEAL_II_TRILINOS_VERSION_MAJOR
 
#define DEAL_II_TRILINOS_VERSION_MINOR
 
#define DEAL_II_TRILINOS_VERSION_SUBMINOR
 
#define DEAL_II_TRILINOS_VERSION_GTE(major, minor, subminor)
 
#define DEAL_II_MPI_VERSION_MAJOR
 
#define DEAL_II_MPI_VERSION_MINOR
 
#define DEAL_II_MPI_VERSION_GTE(major, minor)
 
#define DEAL_II_NAMESPACE_OPEN   namespace dealii {
 
#define DEAL_II_NAMESPACE_CLOSE   }
 
#define DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 
#define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS   _Pragma("GCC diagnostic pop")
 
#define DEAL_II_FORTRAN_MANGLE(name, NAME)   name ## _
 
#define DEAL_II_FORTRAN_MANGLE_UNDERSCORE(name, NAME)   name ## _
 
#define DEAL_II_DO_PRAGMA(x)   _Pragma(#x)
 
#define DEAL_II_WARNING(desc)   DEAL_II_DO_PRAGMA(message(#desc))
 

Macro Definition Documentation

◆ DEAL_II_PACKAGE_NAME

#define DEAL_II_PACKAGE_NAME   "deal.II"

Definition at line 24 of file config.h.

◆ DEAL_II_PACKAGE_VERSION

#define DEAL_II_PACKAGE_VERSION   "9.3.3"

Definition at line 26 of file config.h.

◆ DEAL_II_VERSION_MAJOR

#define DEAL_II_VERSION_MAJOR   9

Definition at line 28 of file config.h.

◆ DEAL_II_VERSION_MINOR

#define DEAL_II_VERSION_MINOR   3

Definition at line 29 of file config.h.

◆ DEAL_II_VERSION_SUBMINOR

#define DEAL_II_VERSION_SUBMINOR   3

Definition at line 30 of file config.h.

◆ DEAL_II_WITH_ADOLC

#define DEAL_II_WITH_ADOLC

Definition at line 38 of file config.h.

◆ DEAL_II_WITH_ARPACK

#define DEAL_II_WITH_ARPACK

Definition at line 39 of file config.h.

◆ DEAL_II_WITH_ASSIMP

#define DEAL_II_WITH_ASSIMP

Definition at line 41 of file config.h.

◆ DEAL_II_WITH_COMPLEX_VALUES

#define DEAL_II_WITH_COMPLEX_VALUES

Definition at line 42 of file config.h.

◆ DEAL_II_WITH_GINKGO

#define DEAL_II_WITH_GINKGO

Definition at line 44 of file config.h.

◆ DEAL_II_WITH_GMSH

#define DEAL_II_WITH_GMSH

Definition at line 45 of file config.h.

◆ DEAL_II_WITH_GSL

#define DEAL_II_WITH_GSL

Definition at line 46 of file config.h.

◆ DEAL_II_WITH_LAPACK

#define DEAL_II_WITH_LAPACK

Definition at line 49 of file config.h.

◆ DEAL_II_WITH_METIS

#define DEAL_II_WITH_METIS

Definition at line 52 of file config.h.

◆ DEAL_II_WITH_MUPARSER

#define DEAL_II_WITH_MUPARSER

Definition at line 54 of file config.h.

◆ DEAL_II_WITH_SUNDIALS

#define DEAL_II_WITH_SUNDIALS

Definition at line 60 of file config.h.

◆ DEAL_II_WITH_SYMENGINE

#define DEAL_II_WITH_SYMENGINE

Definition at line 61 of file config.h.

◆ DEAL_II_WITH_TBB

#define DEAL_II_WITH_TBB

Definition at line 62 of file config.h.

◆ DEAL_II_WITH_UMFPACK

#define DEAL_II_WITH_UMFPACK

Definition at line 64 of file config.h.

◆ DEAL_II_WITH_ZLIB

#define DEAL_II_WITH_ZLIB

Definition at line 65 of file config.h.

◆ DEAL_II_WITH_THREADS

#define DEAL_II_WITH_THREADS

For backwards compatibility, continue defining DEAL_II_WITH_THREADS when the library is configured with TBB.

Definition at line 72 of file config.h.

◆ TBB_SUPPRESS_DEPRECATED_MESSAGES

#define TBB_SUPPRESS_DEPRECATED_MESSAGES   1

Definition at line 74 of file config.h.

◆ DEAL_II_TBB_WITH_ONEAPI

#define DEAL_II_TBB_WITH_ONEAPI

Definition at line 76 of file config.h.

◆ DEAL_II_COMPILER_USE_VECTOR_ARITHMETICS

#define DEAL_II_COMPILER_USE_VECTOR_ARITHMETICS

Definition at line 94 of file config.h.

◆ DEAL_II_HAVE_BUILTIN_EXPECT

#define DEAL_II_HAVE_BUILTIN_EXPECT

Definition at line 96 of file config.h.

◆ DEAL_II_HAVE_GLIBC_STACKTRACE

#define DEAL_II_HAVE_GLIBC_STACKTRACE

Definition at line 97 of file config.h.

◆ DEAL_II_HAVE_LIBSTDCXX_DEMANGLER

#define DEAL_II_HAVE_LIBSTDCXX_DEMANGLER

Definition at line 98 of file config.h.

◆ DEAL_II_ALWAYS_INLINE

#define DEAL_II_ALWAYS_INLINE   __attribute__((always_inline))

Definition at line 100 of file config.h.

◆ DEAL_II_RESTRICT

#define DEAL_II_RESTRICT   __restrict

Definition at line 101 of file config.h.

◆ DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA

#define DEAL_II_COMPILER_HAS_DIAGNOSTIC_PRAGMA

Definition at line 102 of file config.h.

◆ DEAL_II_VECTORIZATION_WIDTH_IN_BITS

#define DEAL_II_VECTORIZATION_WIDTH_IN_BITS   128

Definition at line 125 of file config.h.

◆ DEAL_II_COMPILER_VECTORIZATION_LEVEL

#define DEAL_II_COMPILER_VECTORIZATION_LEVEL   1

Definition at line 135 of file config.h.

◆ DEAL_II_OPENMP_SIMD_PRAGMA

#define DEAL_II_OPENMP_SIMD_PRAGMA   _Pragma("omp simd")

Definition at line 140 of file config.h.

◆ DEAL_II_HAVE_CXX14

#define DEAL_II_HAVE_CXX14

Definition at line 149 of file config.h.

◆ DEAL_II_HAVE_CXX17

#define DEAL_II_HAVE_CXX17

Definition at line 150 of file config.h.

◆ DEAL_II_HAVE_FP_EXCEPTIONS

#define DEAL_II_HAVE_FP_EXCEPTIONS

Definition at line 153 of file config.h.

◆ DEAL_II_HAVE_CXX17_BESSEL_FUNCTIONS

#define DEAL_II_HAVE_CXX17_BESSEL_FUNCTIONS

Definition at line 155 of file config.h.

◆ DEAL_II_DEPRECATED

#define DEAL_II_DEPRECATED   [[deprecated]]

Macro indicating that the current feature will be removed in a future release.

Definition at line 162 of file config.h.

◆ DEAL_II_DEPRECATED_EARLY

#define DEAL_II_DEPRECATED_EARLY

Same as above, but for things that have been deprecated during the current development cycle. By default, no warnings are printed for a feature deprecated prior to a release until after that release has been finalized - see DEAL_II_EARLY_DEPRECATIONS for more information.

Definition at line 170 of file config.h.

◆ DEAL_II_FALLTHROUGH

#define DEAL_II_FALLTHROUGH   [[fallthrough]]

Definition at line 171 of file config.h.

◆ DEAL_II_CONSTEXPR

#define DEAL_II_CONSTEXPR   constexpr

Definition at line 172 of file config.h.

◆ DEAL_II_WITH_CXX11

#define DEAL_II_WITH_CXX11

Definition at line 175 of file config.h.

◆ DEAL_II_WITH_CXX14

#define DEAL_II_WITH_CXX14

Definition at line 176 of file config.h.

◆ DEAL_II_WITH_CXX17

#define DEAL_II_WITH_CXX17

Definition at line 178 of file config.h.

◆ DEAL_II_HAVE_SYS_RESOURCE_H

#define DEAL_II_HAVE_SYS_RESOURCE_H

Definition at line 188 of file config.h.

◆ DEAL_II_HAVE_UNISTD_H

#define DEAL_II_HAVE_UNISTD_H

Definition at line 189 of file config.h.

◆ DEAL_II_HAVE_GETHOSTNAME

#define DEAL_II_HAVE_GETHOSTNAME

Definition at line 190 of file config.h.

◆ DEAL_II_HAVE_GETPID

#define DEAL_II_HAVE_GETPID

Definition at line 191 of file config.h.

◆ DEAL_II_ADOLC_WITH_ATRIG_ERF

#define DEAL_II_ADOLC_WITH_ATRIG_ERF

Definition at line 205 of file config.h.

◆ DEAL_II_ADOLC_WITH_ADVANCED_BRANCHING

#define DEAL_II_ADOLC_WITH_ADVANCED_BRANCHING

Definition at line 206 of file config.h.

◆ DEAL_II_SUNDIALS_WITH_IDAS

#define DEAL_II_SUNDIALS_WITH_IDAS

Definition at line 221 of file config.h.

◆ DEAL_II_VERSION_GTE

#define DEAL_II_VERSION_GTE (   major,
  minor,
  subminor 
)
Value:
((DEAL_II_VERSION_MAJOR * 10000 + \
DEAL_II_VERSION_MINOR * 100 + \
DEAL_II_VERSION_SUBMINOR) \
>= \
(major)*10000 + (minor)*100 + (subminor))
#define DEAL_II_VERSION_MAJOR
Definition: config.h:28

Definition at line 251 of file config.h.

◆ DEAL_II_BOOST_VERSION_MAJOR

#define DEAL_II_BOOST_VERSION_MAJOR   1

Definition at line 261 of file config.h.

◆ DEAL_II_BOOST_VERSION_MINOR

#define DEAL_II_BOOST_VERSION_MINOR   78

Definition at line 262 of file config.h.

◆ DEAL_II_BOOST_VERSION_SUBMINOR

#define DEAL_II_BOOST_VERSION_SUBMINOR   0

Definition at line 263 of file config.h.

◆ DEAL_II_BOOST_VERSION_GTE

#define DEAL_II_BOOST_VERSION_GTE (   major,
  minor,
  subminor 
)
Value:
DEAL_II_BOOST_VERSION_MINOR * 100 + \
DEAL_II_BOOST_VERSION_SUBMINOR) \
>= \
(major)*100000 + (minor)*100 + (subminor))
#define DEAL_II_BOOST_VERSION_MAJOR
Definition: config.h:261

Definition at line 265 of file config.h.

◆ DEAL_II_GMSH_EXECUTABLE_PATH

#define DEAL_II_GMSH_EXECUTABLE_PATH   "/usr/bin/gmsh"

Definition at line 276 of file config.h.

◆ DEAL_II_P4EST_VERSION_MAJOR

#define DEAL_II_P4EST_VERSION_MAJOR

Definition at line 284 of file config.h.

◆ DEAL_II_P4EST_VERSION_MINOR

#define DEAL_II_P4EST_VERSION_MINOR

Definition at line 285 of file config.h.

◆ DEAL_II_P4EST_VERSION_SUBMINOR

#define DEAL_II_P4EST_VERSION_SUBMINOR

Definition at line 286 of file config.h.

◆ DEAL_II_P4EST_VERSION_PATCH

#define DEAL_II_P4EST_VERSION_PATCH

Definition at line 287 of file config.h.

◆ DEAL_II_P4EST_VERSION_GTE

#define DEAL_II_P4EST_VERSION_GTE (   major,
  minor,
  subminor,
  patch 
)
Value:
DEAL_II_P4EST_VERSION_MINOR * 10000 + \
DEAL_II_P4EST_VERSION_SUBMINOR * 100 + \
DEAL_II_P4EST_VERSION_PATCH) \
>= \
(major)*1000000 + (minor)*10000 + (subminor)*100 + (patch))
#define DEAL_II_P4EST_VERSION_MAJOR
Definition: config.h:284

Definition at line 289 of file config.h.

◆ DEAL_II_SUNDIALS_VERSION_MAJOR

#define DEAL_II_SUNDIALS_VERSION_MAJOR   6

Definition at line 303 of file config.h.

◆ DEAL_II_SUNDIALS_VERSION_MINOR

#define DEAL_II_SUNDIALS_VERSION_MINOR   2

Definition at line 304 of file config.h.

◆ DEAL_II_SUNDIALS_VERSION_PATCH

#define DEAL_II_SUNDIALS_VERSION_PATCH   0

Definition at line 305 of file config.h.

◆ DEAL_II_SUNDIALS_VERSION_GTE

#define DEAL_II_SUNDIALS_VERSION_GTE (   major,
  minor,
  patch 
)
Value:
DEAL_II_SUNDIALS_VERSION_MINOR * 100 + \
DEAL_II_SUNDIALS_VERSION_PATCH) \
>= \
(major)*10000 + (minor)*100 + (patch))
#define DEAL_II_SUNDIALS_VERSION_MAJOR
Definition: config.h:303

Definition at line 307 of file config.h.

◆ DEAL_II_SUNDIALS_VERSION_LT

#define DEAL_II_SUNDIALS_VERSION_LT (   major,
  minor,
  patch 
)
Value:
DEAL_II_SUNDIALS_VERSION_MINOR * 100 + \
DEAL_II_SUNDIALS_VERSION_PATCH) \
< \
(major)*10000 + (minor)*100 + (patch))

Definition at line 314 of file config.h.

◆ DEAL_II_PETSC_VERSION_LT

#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))

Definition at line 336 of file config.h.

◆ DEAL_II_PETSC_VERSION_GTE

#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))

Definition at line 343 of file config.h.

◆ DEAL_II_SLEPC_VERSION_GTE

#define DEAL_II_SLEPC_VERSION_GTE (   major,
  minor,
  subminor 
)
Value:
((SLEPC_VERSION_MAJOR * 10000 + \
SLEPC_VERSION_MINOR * 100 + \
SLEPC_VERSION_SUBMINOR) \
>= \
(major)*10000 + (minor)*100 + (subminor))

Definition at line 354 of file config.h.

◆ DEAL_II_TRILINOS_VERSION_MAJOR

#define DEAL_II_TRILINOS_VERSION_MAJOR

Definition at line 366 of file config.h.

◆ DEAL_II_TRILINOS_VERSION_MINOR

#define DEAL_II_TRILINOS_VERSION_MINOR

Definition at line 367 of file config.h.

◆ DEAL_II_TRILINOS_VERSION_SUBMINOR

#define DEAL_II_TRILINOS_VERSION_SUBMINOR

Definition at line 368 of file config.h.

◆ DEAL_II_TRILINOS_VERSION_GTE

#define DEAL_II_TRILINOS_VERSION_GTE (   major,
  minor,
  subminor 
)
Value:
DEAL_II_TRILINOS_VERSION_MINOR * 100 + \
DEAL_II_TRILINOS_VERSION_SUBMINOR) \
>= \
(major)*10000 + (minor)*100 + (subminor))
#define DEAL_II_TRILINOS_VERSION_MAJOR
Definition: config.h:366

Definition at line 370 of file config.h.

◆ DEAL_II_MPI_VERSION_MAJOR

#define DEAL_II_MPI_VERSION_MAJOR

Definition at line 383 of file config.h.

◆ DEAL_II_MPI_VERSION_MINOR

#define DEAL_II_MPI_VERSION_MINOR

Definition at line 384 of file config.h.

◆ DEAL_II_MPI_VERSION_GTE

#define DEAL_II_MPI_VERSION_GTE (   major,
  minor 
)
Value:
DEAL_II_MPI_VERSION_MINOR) \
>= \
(major)*100 + (minor))
#define DEAL_II_MPI_VERSION_MAJOR
Definition: config.h:383

Definition at line 386 of file config.h.

◆ DEAL_II_NAMESPACE_OPEN

#define DEAL_II_NAMESPACE_OPEN   namespace dealii {

Definition at line 402 of file config.h.

◆ DEAL_II_NAMESPACE_CLOSE

#define DEAL_II_NAMESPACE_CLOSE   }

Definition at line 403 of file config.h.

◆ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS

#define DEAL_II_DISABLE_EXTRA_DIAGNOSTICS

Definition at line 416 of file config.h.

◆ DEAL_II_ENABLE_EXTRA_DIAGNOSTICS

#define DEAL_II_ENABLE_EXTRA_DIAGNOSTICS   _Pragma("GCC diagnostic pop")

Definition at line 454 of file config.h.

◆ DEAL_II_FORTRAN_MANGLE

#define DEAL_II_FORTRAN_MANGLE (   name,
  NAME 
)    name ## _

Definition at line 469 of file config.h.

◆ DEAL_II_FORTRAN_MANGLE_UNDERSCORE

#define DEAL_II_FORTRAN_MANGLE_UNDERSCORE (   name,
  NAME 
)    name ## _

Definition at line 471 of file config.h.

◆ DEAL_II_DO_PRAGMA

#define DEAL_II_DO_PRAGMA (   x)    _Pragma(#x)

Definition at line 485 of file config.h.

◆ DEAL_II_WARNING

#define DEAL_II_WARNING (   desc)    DEAL_II_DO_PRAGMA(message(#desc))

Definition at line 486 of file config.h.