DFT-EFE
 
Loading...
Searching...
No Matches
DataTypeOverloads.h File Reference
#include <complex>
#include <algorithm>
#include <utils/TypeConfig.h>
Include dependency graph for DataTypeOverloads.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  dftefe
 dealii includes
 
namespace  dftefe::utils
 

Functions

unsigned int dftefe::utils::abs_ (unsigned int a)
 
int dftefe::utils::abs_ (int a)
 
double dftefe::utils::abs_ (double a)
 
float dftefe::utils::abs_ (float a)
 
double dftefe::utils::abs_ (std::complex< double > a)
 
float dftefe::utils::abs_ (std::complex< float > a)
 
unsigned int dftefe::utils::absSq (unsigned int a)
 
int dftefe::utils::absSq (int a)
 
double dftefe::utils::absSq (double a)
 
float dftefe::utils::absSq (float a)
 
double dftefe::utils::absSq (std::complex< double > a)
 
float dftefe::utils::absSq (std::complex< float > a)
 
template<typename ValueType >
bool dftefe::utils::absCompare (ValueType a, ValueType b)
 
template<typename T >
RealType< T >::Type dftefe::utils::realPart (const T &x)
 
template<>
RealType< float >::Type dftefe::utils::realPart (const float &x)
 
template<>
RealType< double >::Type dftefe::utils::realPart (const double &x)
 
template<>
RealType< std::complex< float > >::Type dftefe::utils::realPart (const std::complex< float > &x)
 
template<>
RealType< std::complex< double > >::Type dftefe::utils::realPart (const std::complex< double > &x)
 
template<typename T >
RealType< T >::Type dftefe::utils::imagPart (const T &x)
 
template<>
RealType< float >::Type dftefe::utils::imagPart (const float &x)
 
template<>
RealType< double >::Type dftefe::utils::imagPart (const double &x)
 
template<>
RealType< std::complex< float > >::Type dftefe::utils::imagPart (const std::complex< float > &x)
 
template<>
RealType< std::complex< double > >::Type dftefe::utils::imagPart (const std::complex< double > &x)
 
template<typename T >
dftefe::utils::conjugate (const T &x)
 
template<>
float dftefe::utils::conjugate (const float &x)
 
template<>
double dftefe::utils::conjugate (const double &x)
 
template<>
std::complex< float > dftefe::utils::conjugate (const std::complex< float > &x)
 
template<>
std::complex< double > dftefe::utils::conjugate (const std::complex< double > &x)