WaveBlocksND
|
Abstract superclass that represents a scalar (1-component) hagedorn wavepacket. More...
#include <hawp_commons.hpp>
Public Member Functions | |
virtual real_t | eps () const =0 |
Retrieves the semi-classical scaling parameter \( \varepsilon \) of the wavepacket. More... | |
virtual HaWpParamSet< D > const & | parameters () const =0 |
Grants read-only access to the Hagedorn parameter set \( \Pi \) of the wavepacket. More... | |
virtual shapes::ShapeEnumSharedPtr< D, MultiIndex > | shape () const =0 |
Retrieves the basis shape \( \mathfrak{K} \) of the wavepacket. More... | |
virtual Coefficients const & | coefficients () const =0 |
Grants read-only access to the coefficients \( \{c_k\} \) for all \( k \in \mathfrak{K} \) of this wavepacket. More... | |
template<int N> | |
CArray< 1, N > | evaluate (CMatrix< D, N > const &grid) const |
Evaluates this wavepacket \( \Phi(x) \) at complex grid nodes \( x \in \gamma \). More... | |
template<int N> | |
CArray< 1, N > | evaluate (RMatrix< D, N > const &rgrid) const |
Evaluates this wavepacket \( \Phi(x) \) at real grid nodes \( x \in \gamma \). More... | |
complex_t | prefactor () const |
Computes the prefactor \( \frac{1}{\sqrt{det(Q)}} \). More... | |
complex_t | phasefactor () const |
Computes the global phase factor \( \exp{(\frac{i S}{\varepsilon^2})} \). More... | |
Public Member Functions inherited from waveblocks::wavepackets::AbstractScalarHaWpBasis< D, MultiIndex > | |
template<int N> | |
HaWpEvaluator< D, MultiIndex, N > | create_evaluator (CMatrix< D, N > const &grid) const |
template<int N> | |
HaWpBasisVector< N > | evaluate_basis (CMatrix< D, N > const &grid) const |
Evaluates all basis functions \( \{\phi_k\} \) on complex grid nodes \( x \in \gamma \). More... | |
template<int N> | |
HaWpBasisVector< N > | evaluate_basis (RMatrix< D, N > const &rgrid) const |
Evaluates all basis functions \( \{\phi_k\} \) on real grid nodes \( x \in \gamma \). More... | |
shapes::ShapeEnumSharedPtr< D, MultiIndex > | extended_shape () const |
Computes the extension \( \mathfrak{K}_{ext} \) of the stored basis shape \( \mathfrak{K} \). More... | |
Abstract superclass that represents a scalar (1-component) hagedorn wavepacket.
A subclass provides read-only access to the scaling parameter \( \varepsilon \), the Hagedorn parameter set \( \Pi \), the basis shape \( \mathfrak{K} \) and the coefficients \( c \).
Therefore it is able to evaluate itself ( \( \Phi(x) \)) on grid points \( x \).
D | wavepacket dimensionality |
MultiIndex | type to represent a multi-index |
|
pure virtual |
Grants read-only access to the coefficients \( \{c_k\} \) for all \( k \in \mathfrak{K} \) of this wavepacket.
Implemented in waveblocks::wavepackets::InhomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::HomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::ScalarHaWp< D, MultiIndex >, and waveblocks::wavepackets::HaWpGradient< D, MultiIndex >::Component.
|
pure virtual |
Retrieves the semi-classical scaling parameter \( \varepsilon \) of the wavepacket.
Implements waveblocks::wavepackets::AbstractScalarHaWpBasis< D, MultiIndex >.
Implemented in waveblocks::wavepackets::InhomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::HomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::ScalarHaWp< D, MultiIndex >, and waveblocks::wavepackets::HaWpGradient< D, MultiIndex >::Component.
|
inline |
Evaluates this wavepacket \( \Phi(x) \) at complex grid nodes \( x \in \gamma \).
Notice that this function does not include the prefactor \( \frac{1}{\sqrt{det(Q)}} \) nor the global phase \( \exp{(\frac{iS}{\varepsilon^2})} \).
grid | Complex grid nodes / quadrature points \( \gamma \). Complex matrix with shape (dimensionality, number of grid nodes). |
|
inline |
Evaluates this wavepacket \( \Phi(x) \) at real grid nodes \( x \in \gamma \).
Notice that this function does not include the prefactor \( \frac{1}{\sqrt{det(Q)}} \) nor the global phase \( \exp{(\frac{iS}{\varepsilon^2})} \).
rgrid | Real grid nodes / quadrature points \( \gamma \). Real matrix with shape (dimensionality, number of grid nodes). |
|
pure virtual |
Grants read-only access to the Hagedorn parameter set \( \Pi \) of the wavepacket.
Implements waveblocks::wavepackets::AbstractScalarHaWpBasis< D, MultiIndex >.
Implemented in waveblocks::wavepackets::InhomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::HomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::ScalarHaWp< D, MultiIndex >, and waveblocks::wavepackets::HaWpGradient< D, MultiIndex >::Component.
|
inline |
Computes the global phase factor \( \exp{(\frac{i S}{\varepsilon^2})} \).
|
inline |
Computes the prefactor \( \frac{1}{\sqrt{det(Q)}} \).
|
pure virtual |
Retrieves the basis shape \( \mathfrak{K} \) of the wavepacket.
Implements waveblocks::wavepackets::AbstractScalarHaWpBasis< D, MultiIndex >.
Implemented in waveblocks::wavepackets::InhomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::HomogeneousHaWp< D, MultiIndex >::Component, waveblocks::wavepackets::ScalarHaWp< D, MultiIndex >, and waveblocks::wavepackets::HaWpGradient< D, MultiIndex >::Component.