WaveBlocksND
|
Functions | |
template<class Potential , int D, class MultiIndex , class TQR > | |
real_t | potential_energy (const ScalarHaWp< D, MultiIndex > &packet, const Potential &V) |
Computes potential energy of a Hagedorn Wavepacket. More... | |
template<int D, class MultiIndex > | |
real_t | kinetic_energy (const ScalarHaWp< D, MultiIndex > &packet) |
Computes kinetic energy of a Hagedorn Wavepacket. More... | |
template<int D, class MultiIndex > | |
real_t | norm (const ScalarHaWp< D, MultiIndex > &packet) |
Namespace for functionality to compute observables.
real_t waveblocks::observables::kinetic_energy | ( | const ScalarHaWp< D, MultiIndex > & | packet | ) |
Computes kinetic energy of a Hagedorn Wavepacket.
packet |
D | Dimension of argument space |
MultiIndex |
real_t waveblocks::observables::norm | ( | const ScalarHaWp< D, MultiIndex > & | packet | ) |
real_t waveblocks::observables::potential_energy | ( | const ScalarHaWp< D, MultiIndex > & | packet, |
const Potential & | V | ||
) |
Computes potential energy of a Hagedorn Wavepacket.
packet | |
V | potential |
Potential | Needs to implement evaluation::Abstract interface |
D | Dimension of argument space |
MultiIndex | |
TQR | * |