Gyoto
Macros
GyotoConfig.h File Reference

Compile-time configuration. More...

Go to the source code of this file.

Macros

#define GYOTO_DEBUG_ENABLED   1
 Whether debugging information gathering code was enabled.
 
#define GYOTO_PLUGIN_SFX   "so"
 Suffix for Gyoto plug-ins.
 
#define GYOTO_PREFIX   (undefined)
 Gyoto prefix.
 
#define GYOTO_PKGLIBDIR   (undefined)
 Gyoto pkglibdir, usually GYOTO_PREFIX/lib/gyoto.
 
#define GYOTO_SIZE__T_IS_UNSIGNED_LONG   1
 Define to 1 if size_t and unsigned long are the same.
 
#define GYOTO_SOVERS   "8"
 Gyoto ABI version. More...
 
#define GYOTO_USE_AEAE   (undefined)
 Whether aeae support is compiled-in. More...
 
#define GYOTO_USE_ARBLIB   1
 Whether arblib support is compiled-in. More...
 
#define GYOTO_USE_CFITSIO   1
 Whether cfitsio support is compiled-in. More...
 
#define GYOTO_USE_UDUNITS   1
 Whether libudunits2 support is compiled in. More...
 
#define HAVE_UDUNITS
 Whether libudunits2 support is compiled in. More...
 
#define GYOTO_USE_XERCES   1
 Whether Xerces support (XML i/o) is compiled-in. More...
 
#define HAVE_DLFCN_H   1
 Whether <dlfcn.h> header file was found.
 
#define undefined   )
 
#define HAVE_INTTYPES_H   1
 Whether <inttypes.h> header file was found.
 
#define HAVE_LIBDL   1
 Whether the ‘dl’ library (-ldl) was found. More...
 
#define HAVE_MEMORY_H   (undefined)
 Whether the <memory.h> header file was found.
 
#define HAVE_MPI   1
 Whether MPI support is compiled in. More...
 
#define HAVE_PTHREAD   1
 Whether POSIX threads support is compiled-in. More...
 
#define HAVE_PTHREAD_PRIO_INHERIT   1
 Have PTHREAD_PRIO_INHERIT.
 
#define HAVE_SINCOS   1
 Whether the ‘sincos’ function is available. More...
 
#define HAVE_STDINT_H   1
 Whether the <stdint.h> header file was found.
 
#define HAVE_STDLIB_H   1
 Whether the <stdlib.h> header file was found.
 
#define HAVE_STRINGS_H   1
 Whether the <strings.h> header file was found.
 
#define HAVE_STRING_H   1
 Whether the <string.h> header file was found.
 
#define HAVE_SYS_STAT_H   1
 Whether the <sys/stat.h> header file was found.
 
#define HAVE_SYS_TYPES_H   1
 Whether the <sys/types.h> header file was found.
 
#define HAVE_BOOST_MULTIPRECISION_CPP_DEC_FLOAT_HPP   1
 Whether support for arbitrary precision arithmetics is present.
 
#define HAVE_BOOST_ARRAY_HPP   1
 Whether boost::array is available.
 
#define GYOTO_HAVE_BOOST_INTEGRATORS   1
 Whether Boost.odeint is present, as well as C++11. More...
 
#define HAVE_UNISTD_H   1
 Whether the <unistd.h> header file was found.
 
#define HAVE_FENV_H   1
 Define to 1 to use fenv.h.
 
#define HAVE__BOOL   (undefined)
 Whether the system has the type ‘_Bool’.
 
#define PTHREAD_CREATE_JOINABLE   (undefined)
 Define to necessary symbol if this constant uses a non-standard name on your system.
 
#define STDC_HEADERS   1
 Whether the ANSI C header files were found.
 
#define size_t   (undefined)
 If not defined in <sys/types.h>.
 

Detailed Description

Compile-time configuration.

Codes based on Gyoto and Gyoto plug-ins must have access to the flags used when compiling Gyoto. This files is generated by Gyoto's configure script and holds influential variables such as HAVE_SINCOS.

The values determined by configure when this documentation was built are documented, replaced by "(undefined)" if the macro was undefined.

Macro Definition Documentation

◆ GYOTO_HAVE_BOOST_INTEGRATORS

#define GYOTO_HAVE_BOOST_INTEGRATORS   1

Whether Boost.odeint is present, as well as C++11.

Advanced integrators from boost/numeric/odeint/.

◆ GYOTO_SOVERS

#define GYOTO_SOVERS   "8"

Gyoto ABI version.

Updated in stable releases, not during dev. cycle.

◆ GYOTO_USE_AEAE

#define GYOTO_USE_AEAE   (undefined)

Whether aeae support is compiled-in.

One of ARBLIB or AEAE is necessary for Astrobj::Jet.

◆ GYOTO_USE_ARBLIB

#define GYOTO_USE_ARBLIB   1

Whether arblib support is compiled-in.

One of ARBLIB or AEAE is necessary for Astrobj::Jet.

◆ GYOTO_USE_CFITSIO

#define GYOTO_USE_CFITSIO   1

Whether cfitsio support is compiled-in.

Necessary for FITS file format i/o, used in the Gyoto tool and optional in Gtyoto::PatternDisk.

◆ GYOTO_USE_UDUNITS

#define GYOTO_USE_UDUNITS   1

Whether libudunits2 support is compiled in.

Foundation for the Gyoto::Units framework. Gyoto ought to build and work without it, but with restricted unit conversion capabilities.

◆ GYOTO_USE_XERCES

#define GYOTO_USE_XERCES   1

Whether Xerces support (XML i/o) is compiled-in.

Used only in the Gyoto::Factory but Gyoto build is not often tested without it.

◆ HAVE_LIBDL

#define HAVE_LIBDL   1

Whether the ‘dl’ library (-ldl) was found.

Plug-in support.

◆ HAVE_MPI

#define HAVE_MPI   1

Whether MPI support is compiled in.

Message-passing interface, used in multi-process ray-tracing

◆ HAVE_PTHREAD

#define HAVE_PTHREAD   1

Whether POSIX threads support is compiled-in.

Multi-threading support, see Gyoto::Scenery::nthreads_.

◆ HAVE_SINCOS

#define HAVE_SINCOS   1

Whether the ‘sincos’ function is available.

Else Gyoto provides it as a macro in GyotoDefs.h.

◆ HAVE_UDUNITS

#define HAVE_UDUNITS

Whether libudunits2 support is compiled in.

Foundation for the Gyoto::Units framework. Gyoto ought to build and work without it, but with restricted unit conversion capabilities.