Loading...
Searching...
No Matches
fftwCommon.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_MATHS_FFTWCOMMON_H
#define BALL_MATHS_FFTWCOMMON_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
#include <fftw3.h>
namespace BALL
{
struct BALL_EXPORT DoubleTraits
{
typedef double ComplexPrecision;
typedef fftw_plan FftwPlan;
};
struct BALL_EXPORT FloatTraits
{
typedef float ComplexPrecision;
typedef fftwf_plan FftwPlan;
};
struct BALL_EXPORT LongDoubleTraits
{
typedef long double ComplexPrecision;
typedef fftwl_plan FftwPlan;
};
}
#endif
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
common.h
BALL
Definition constants.h:13
BALL::DoubleTraits
Definition fftwCommon.h:17
BALL::DoubleTraits::FftwPlan
fftw_plan FftwPlan
Definition fftwCommon.h:19
BALL::DoubleTraits::ComplexPrecision
double ComplexPrecision
Definition fftwCommon.h:18
BALL::FloatTraits
Definition fftwCommon.h:23
BALL::FloatTraits::ComplexPrecision
float ComplexPrecision
Definition fftwCommon.h:24
BALL::FloatTraits::FftwPlan
fftwf_plan FftwPlan
Definition fftwCommon.h:25
BALL::LongDoubleTraits
Definition fftwCommon.h:29
BALL::LongDoubleTraits::FftwPlan
fftwl_plan FftwPlan
Definition fftwCommon.h:31
BALL::LongDoubleTraits::ComplexPrecision
long double ComplexPrecision
Definition fftwCommon.h:30