Class TempLat::MomentumInterpolator
template <typename T, size_t NDim>
ClassList > TempLat > MomentumInterpolator
#include <momentuminterpolator.h>
Public Types
| Type | Name |
|---|---|
| typedef device::memory::host_ptr< MemoryToolBox< NDim > > | ToolBoxPtr |
Public Functions
| Type | Name |
|---|---|
| MomentumInterpolator (const std::vector< T > & kIn, const std::vector< T > & psIn, ToolBoxPtr toolBox, T kIRIn) |
|
| DEVICE_INLINE_FUNCTION auto | eval (const IDX &... idx) const |
| ToolBoxPtr | getToolBox () const |
| std::string | operatorString () const |
Detailed Description
@vocab-summary Evaluates a tabulated function of \(\|k\|\) at every Fourier site, cubic-spline interpolated and clamped outside the table. The usual way to impose a prescribed initial power spectrum.
Public Types Documentation
typedef ToolBoxPtr
using TempLat::MomentumInterpolator< T, NDim >::ToolBoxPtr = device::memory::host_ptr<MemoryToolBox<NDim> >;
Public Functions Documentation
function MomentumInterpolator
inline TempLat::MomentumInterpolator::MomentumInterpolator (
const std::vector< T > & kIn,
const std::vector< T > & psIn,
ToolBoxPtr toolBox,
T kIRIn
)
function eval
template<typename... IDX>
inline DEVICE_INLINE_FUNCTION auto TempLat::MomentumInterpolator::eval (
const IDX &... idx
) const
function getToolBox
function operatorString
The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/templat/include/TempLat/lattice/algebra/adapter/momentuminterpolator.h