Namespaces | |
| namespace | mathConstants |
| namespace | mathFunctions |
| namespace | mpi |
| namespace | PeriodicTableInternal |
| namespace | SplineInternal |
| namespace | splineInternal |
| namespace | stringOps |
| namespace | TimerInternal |
Typedefs | |
| typedef std::logic_error | LogicError |
| typedef std::invalid_argument | InvalidArgument |
| typedef std::domain_error | DomainError |
| typedef std::length_error | LengthError |
| typedef std::out_of_range | OutOfRangeError |
| typedef std::runtime_error | RuntimeError |
| typedef std::overflow_error | OverflowError |
| typedef std::underflow_error | UnderflowError |
| typedef PointImpl< double > | Point |
| template<typename T > | |
| using | ScalarSpatialFunction = Function< utils::Point, T > |
| using | ScalarSpatialFunctionReal = Function< utils::Point, double > |
| using | ScalarSpatialFunctionComplex = Function< utils::Point, std::complex< double > > |
| using | ScalarSpatialFunctionReal1D = Function< double, double > |
Enumerations | |
| enum class | MemorySpace { HOST , HOST_PINNED , DEVICE } |
Functions | |
| unsigned int | abs_ (unsigned int a) |
| int | abs_ (int a) |
| double | abs_ (double a) |
| float | abs_ (float a) |
| double | abs_ (std::complex< double > a) |
| float | abs_ (std::complex< float > a) |
| unsigned int | absSq (unsigned int a) |
| int | absSq (int a) |
| double | absSq (double a) |
| float | absSq (float a) |
| double | absSq (std::complex< double > a) |
| float | absSq (std::complex< float > a) |
| template<typename ValueType > | |
| bool | absCompare (ValueType a, ValueType b) |
| template<typename T > | |
| RealType< T >::Type | realPart (const T &x) |
| template<> | |
| RealType< float >::Type | realPart (const float &x) |
| template<> | |
| RealType< double >::Type | realPart (const double &x) |
| template<> | |
| RealType< std::complex< float > >::Type | realPart (const std::complex< float > &x) |
| template<> | |
| RealType< std::complex< double > >::Type | realPart (const std::complex< double > &x) |
| template<typename T > | |
| RealType< T >::Type | imagPart (const T &x) |
| template<> | |
| RealType< float >::Type | imagPart (const float &x) |
| template<> | |
| RealType< double >::Type | imagPart (const double &x) |
| template<> | |
| RealType< std::complex< float > >::Type | imagPart (const std::complex< float > &x) |
| template<> | |
| RealType< std::complex< double > >::Type | imagPart (const std::complex< double > &x) |
| template<typename T > | |
| T | conjugate (const T &x) |
| template<> | |
| float | conjugate (const float &x) |
| template<> | |
| double | conjugate (const double &x) |
| template<> | |
| std::complex< float > | conjugate (const std::complex< float > &x) |
| template<> | |
| std::complex< double > | conjugate (const std::complex< double > &x) |
| void | throwException (bool condition, std::string msg) |
| template<class T > | |
| void | throwException (bool condition, std::string msg="") |
| template<typename ValueType , utils::MemorySpace memorySpaceDst> | |
| MemoryStorage< ValueType, memorySpaceDst > | memoryStorageFromSTL (const std::vector< ValueType > &src) |
| Create a MemoryStorage object from an input C++ STL vector. More... | |
| template<typename ValueType , dftefe::utils::MemorySpace memorySpace> | |
| void | swap (MemoryStorage< ValueType, memorySpace > &X, MemoryStorage< ValueType, memorySpace > &Y) |
| template<> | |
| double | getRealPart (const std::complex< float > &t) |
| template<> | |
| double | getRealPart (const std::complex< double > &t) |
| template<> | |
| double | getImagPart (const std::complex< float > &t) |
| template<> | |
| double | getImagPart (const std::complex< double > &t) |
| template<typename T > | |
| double | getRealPart (const T &t) |
| template<typename T > | |
| double | getImagPart (const T &t) |
| template<typename T > | |
| double | getAbs (const T &t) |
| template<typename T > | |
| PointImpl< T > & | operator*= (PointImpl< T > &p, T a) |
| In-plance multiplication of the point by a scalar p->p*a. More... | |
| template<typename T > | |
| PointImpl< T > | operator* (const PointImpl< T > &p, T a) |
| Multiplication by a scalar q = p*a. More... | |
| template<typename T > | |
| PointImpl< T > | operator* (T a, const PointImpl< T > &p) |
| Multiplication by a scalar q = p*a. More... | |
| template<typename T > | |
| PointImpl< T > & | operator+= (PointImpl< T > &p, const PointImpl< T > &q) |
| In-place addition of two pointts p-> p + q. More... | |
| template<typename T > | |
| PointImpl< T > | operator+ (const PointImpl< T > &v, const PointImpl< T > &u) |
| Addition of two points r = p + q. More... | |
| template<typename T > | |
| PointImpl< T > & | operator-= (PointImpl< T > &p, const PointImpl< T > &q) |
| In-place subtraction of two points p -> p - q;. More... | |
| template<typename T > | |
| PointImpl< T > | operator- (const PointImpl< T > &p, const PointImpl< T > &q) |
| Subtraction of two points = p - q. More... | |
| template<typename T > | |
| std::ostream & | operator<< (std::ostream &outputStream, const PointImpl< T > &p) |
| Output perator. More... | |
| void | printCurrentMemoryUsage (const MPI_Comm &mpiComm, const std::string message) |
| void | printCurrentMemoryUsage (const utils::mpi::MPIComm &mpiComm, const std::string message) |
| typedef std::domain_error dftefe::utils::DomainError |
| typedef std::invalid_argument dftefe::utils::InvalidArgument |
| typedef std::length_error dftefe::utils::LengthError |
| typedef std::logic_error dftefe::utils::LogicError |
| typedef std::out_of_range dftefe::utils::OutOfRangeError |
| typedef std::overflow_error dftefe::utils::OverflowError |
| typedef PointImpl<double> dftefe::utils::Point |
| typedef std::runtime_error dftefe::utils::RuntimeError |
| using dftefe::utils::ScalarSpatialFunction = typedef Function<utils::Point, T> |
| using dftefe::utils::ScalarSpatialFunctionComplex = typedef Function<utils::Point, std::complex<double> > |
| using dftefe::utils::ScalarSpatialFunctionReal = typedef Function<utils::Point, double> |
| using dftefe::utils::ScalarSpatialFunctionReal1D = typedef Function<double, double> |
| typedef std::underflow_error dftefe::utils::UnderflowError |
|
strong |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

|
inline |

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

| double dftefe::utils::getAbs | ( | const T & | t | ) |
| double dftefe::utils::getImagPart | ( | const std::complex< double > & | t | ) |
| double dftefe::utils::getImagPart | ( | const std::complex< float > & | t | ) |
| double dftefe::utils::getImagPart | ( | const T & | t | ) |
| double dftefe::utils::getRealPart | ( | const std::complex< double > & | t | ) |
| double dftefe::utils::getRealPart | ( | const std::complex< float > & | t | ) |

| double dftefe::utils::getRealPart | ( | const T & | t | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

| MemoryStorage< ValueType, memorySpaceDst > dftefe::utils::memoryStorageFromSTL | ( | const std::vector< ValueType > & | src | ) |
Create a MemoryStorage object from an input C++ STL vector.
| [in] | src | Input C++ STL vector from which the MemoryStorage object is to be created |
| ValueType | Datatype of the underlying data in MemoryStorage as well as C++ STL vector (e.g., int, double, float, complex<double>, etc) |
| memorySpaceDst | MemorySpace (e.g. HOST, DEVICE, HOST_PINNED, etc) where the output MemoryStorage object should reside |
|
inline |
Multiplication by a scalar q = p*a.
| value | type for the point (int, float, double, ...) |
| [in] | p | the point to be scaled |
| [in] | a | the scalar value |
|
inline |
Multiplication by a scalar q = p*a.
| value | type for the point (int, float, double, ...) |
| [in] | a | the scalar value |
| [in] | p | the point to be scaled |
In-plance multiplication of the point by a scalar p->p*a.
| value | type for the point (int, float, double, ...) |
| [in] | p | the point to be scaled |
| [in] | a | the scalar value |
p. 
|
inline |
Addition of two points r = p + q.
| value | type for the point (int, float, double, ...) |
| [in] | p | the first point |
| [in] | q | the second point |
| exception | if the two points have different dimensions |
|
inline |
In-place addition of two pointts p-> p + q.
| value | type for the point (int, float, double, ...) |
| [in] | p | the first point (will be modified) |
| [in] | q | the second point |
p. | exception | if the two points have different dimensions |

|
inline |
Subtraction of two points = p - q.
| value | type for the point (int, float, double, ...) |
| [in] | p | the first point |
| [in] | q | the second point |
| exception | if the two points have different dimensions |
|
inline |
In-place subtraction of two points p -> p - q;.
| value | type for the point (int, float, double, ...) |
| [in] | p | the first point |
| [in] | q | the second point |
p. | exception | if the two points have different dimensions |

|
inline |
Output perator.
| value | type for the point (int, float, double, ...) |
| outputStream | Output stream to use for output. |
| p | PointImpl object. |

| void dftefe::utils::printCurrentMemoryUsage | ( | const MPI_Comm & | mpiComm, |
| const std::string | message | ||
| ) |

| void dftefe::utils::printCurrentMemoryUsage | ( | const utils::mpi::MPIComm & | mpiComm, |
| const std::string | message | ||
| ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |

| void dftefe::utils::swap | ( | MemoryStorage< ValueType, memorySpace > & | X, |
| MemoryStorage< ValueType, memorySpace > & | Y | ||
| ) |

| void dftefe::utils::throwException | ( | bool | condition, |
| std::string | msg | ||
| ) |
| void dftefe::utils::throwException | ( | bool | condition, |
| std::string | msg = "" |
||
| ) |