WaveBlocksND
Functions
waveblocks::observables Namespace Reference

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)
 

Detailed Description

Namespace for functionality to compute observables.

Function Documentation

template<int D, class MultiIndex >
real_t waveblocks::observables::kinetic_energy ( const ScalarHaWp< D, MultiIndex > &  packet)

Computes kinetic energy of a Hagedorn Wavepacket.

Parameters
packet
Template Parameters
DDimension of argument space
MultiIndex
template<int D, class MultiIndex >
real_t waveblocks::observables::norm ( const ScalarHaWp< D, MultiIndex > &  packet)
template<class Potential , int D, class MultiIndex , class TQR >
real_t waveblocks::observables::potential_energy ( const ScalarHaWp< D, MultiIndex > &  packet,
const Potential &  V 
)

Computes potential energy of a Hagedorn Wavepacket.

Parameters
packet
Vpotential
Template Parameters
PotentialNeeds to implement evaluation::Abstract interface
DDimension of argument space
MultiIndex
TQR*