QMCPACK
einspline_helper.hpp File Reference
+ Include dependency graph for einspline_helper.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 qmcplusplus
 helper functions for EinsplineSetBuilder
 

Functions

template<typename T >
void unpack4fftw (const Vector< std::complex< T >> &cG, const std::vector< TinyVector< int, 3 >> &gvecs, const TinyVector< int, 3 > &maxg, Array< std::complex< T >, 3 > &fftbox)
 unpack packed cG to fftbox More...
 
template<typename T , typename T1 , typename T2 >
void fix_phase_rotate_c2r (Array< std::complex< T >, 3 > &in, Array< T1, 3 > &out, const TinyVector< T2, 3 > &twist, T &phase_r, T &phase_i)
 rotate the state after 3dfft More...
 
template<typename T , typename T1 , typename T2 >
void fix_phase_rotate_c2c (const Array< std::complex< T >, 3 > &in, Array< std::complex< T1 >, 3 > &out, const TinyVector< T2, 3 > &twist)
 
template<typename T , typename T1 , typename T2 >
void fix_phase_rotate_c2c (const Array< std::complex< T >, 3 > &in, Array< T1, 3 > &out_r, Array< T1, 3 > &out_i, const TinyVector< T2, 3 > &twist, T &phase_r, T &phase_i)
 
template<typename T , typename T1 >
void split_real_components_c2c (const Array< std::complex< T >, 3 > &in, Array< T1, 3 > &out_r, Array< T1, 3 > &out_i)
 Split FFTs into real/imaginary components. More...
 
template<typename T >
compute_norm (const Vector< std::complex< T >> &cG)
 Compute the norm of an orbital. More...
 
template<typename T , typename T2 >
void compute_phase (const Array< std::complex< T >, 3 > &in, const TinyVector< T2, 3 > &twist, T &phase_r, T &phase_i)
 Compute the phase factor for rotation. More...
 
template<typename T >
void fix_phase_rotate (const Array< std::complex< T >, 3 > &e2pi, Array< std::complex< T >, 3 > &in, Array< T, 3 > &out)
 rotate the state after 3dfft More...