MADNESS 0.10.1
Macros | Typedefs
fortran_ctypes.h File Reference

Correspondence between C++ and Fortran types. More...

#include <complex>
#include <stdint.h>
#include <madness/madness_config.h>
Include dependency graph for fortran_ctypes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HAVE_INTEGER4
 

Typedefs

typedef int char_len
 Type of variable appended to argument list for length of fortran character strings.
 
typedef std::complex< float > complex_real4
 Fortran single complex.
 
typedef std::complex< double > complex_real8
 Fortran double complex.
 
typedef double double_precision
 Fortran double precision.
 
typedef std::complex< double > double_precision_complex
 Fortran double complex.
 
typedef integer4 integer
 Set the default Fortran integer type to integer*4.
 
typedef int32_t integer4
 Fortran type for 4-byte integers.
 
typedef float real4
 Fortran single precision.
 
typedef double real8
 Fortran double precision.
 
typedef float single_precision
 Fortran single precision.
 
typedef std::complex< float > single_precision_complex
 Fortran single complex.
 

Detailed Description

Correspondence between C++ and Fortran types.

Macro Definition Documentation

◆ HAVE_INTEGER4

#define HAVE_INTEGER4

Typedef Documentation

◆ char_len

typedef int char_len

Type of variable appended to argument list for length of fortran character strings.

◆ complex_real4

typedef std::complex<float> complex_real4

Fortran single complex.

◆ complex_real8

typedef std::complex<double> complex_real8

Fortran double complex.

◆ double_precision

typedef double double_precision

Fortran double precision.

◆ double_precision_complex

typedef std::complex<double> double_precision_complex

Fortran double complex.

◆ integer

typedef integer4 integer

Set the default Fortran integer type to integer*4.

◆ integer4

typedef int32_t integer4

Fortran type for 4-byte integers.

◆ real4

typedef float real4

Fortran single precision.

◆ real8

typedef double real8

Fortran double precision.

◆ single_precision

typedef float single_precision

Fortran single precision.

◆ single_precision_complex

typedef std::complex<float> single_precision_complex

Fortran single complex.