ivutils
|
Classes to handle Gaussian Wave Packets. More...
Classes | |
struct | eq_second< Type > |
Template for v=der operation in WavePacket::int2phys_der. More... | |
struct | eq_minus_second< Type > |
Template for v=-der operation in WavePacket::int2phys_der. More... | |
class | WavePacket |
wavepacket is w(x)=exp(-a*x^2+b*x+lz) More... | |
Functions | |
template<class CT > | |
int | compare_compl (const CT &a, const CT &b, double tol=0.) |
Compares complex numbers on a per component basis. | |
int | compare_vec (const Vector_3 &a, const Vector_3 &b, double tol=0.) |
Compares vectors on a per component basis. | |
WavePacket | conj (const WavePacket &wp) |
constructs a conjugate packet | |
Classes to handle Gaussian Wave Packets.
int compare_compl | ( | const CT & | a, |
const CT & | b, | ||
double | tol = 0. |
||
) |
Compares complex numbers on a per component basis.
0 | if all component differences are 0 within tolerance tol (EQUAL), |
-1 | for LESS |
2 | for GREATER |