BosonicMatsubaraValues< Idx, NT > Class Template Reference#

DiFfRG: DiFfRG::BosonicMatsubaraValues< Idx, NT > Class Template Reference
DiFfRG
DiFfRG::BosonicMatsubaraValues< Idx, NT > Class Template Reference

#include <stack_coordinates.hh>

Public Types

using ctype = NT
 

Public Member Functions

 BosonicMatsubaraValues (Idx start, Idx stop, NT T)
 
template<typename Idx2 , typename NT2 >
 BosonicMatsubaraValues (const BosonicMatsubaraValues< Idx2, NT2 > &other)
 
device::array< size_t, 1 > KOKKOS_FORCEINLINE_FUNCTION from_linear_index (size_t i) const
 
NT KOKKOS_FORCEINLINE_FUNCTION forward (const Idx &x) const
 Transform from the grid to the physical space.
 
template<typename IT >
device::array< NT, 1 > KOKKOS_FORCEINLINE_FUNCTION forward (const device::array< IT, 1 > &x) const
 
Idx KOKKOS_FORCEINLINE_FUNCTION backward (const NT &y) const
 Transform from the physical space to the grid.
 
size_t size () const
 
std::string to_string () const
 

Public Attributes

const Idx start
 
const Idx stop
 
const NT T
 

Static Public Attributes

static constexpr size_t dim = 1
 

Private Attributes

const size_t m_size
 

Member Typedef Documentation

◆ ctype

template<typename Idx = int, typename NT = double>
using DiFfRG::BosonicMatsubaraValues< Idx, NT >::ctype = NT

Constructor & Destructor Documentation

◆ BosonicMatsubaraValues() [1/2]

template<typename Idx = int, typename NT = double>
DiFfRG::BosonicMatsubaraValues< Idx, NT >::BosonicMatsubaraValues ( Idx start,
Idx stop,
NT T )
inline

◆ BosonicMatsubaraValues() [2/2]

template<typename Idx = int, typename NT = double>
template<typename Idx2 , typename NT2 >
DiFfRG::BosonicMatsubaraValues< Idx, NT >::BosonicMatsubaraValues ( const BosonicMatsubaraValues< Idx2, NT2 > & other)
inline

Member Function Documentation

◆ backward()

template<typename Idx = int, typename NT = double>
Idx KOKKOS_FORCEINLINE_FUNCTION DiFfRG::BosonicMatsubaraValues< Idx, NT >::backward ( const NT & y) const
inline

Transform from the physical space to the grid.

Parameters
yphysical coordinate
Returns
double grid coordinate

◆ forward() [1/2]

template<typename Idx = int, typename NT = double>
template<typename IT >
device::array< NT, 1 > KOKKOS_FORCEINLINE_FUNCTION DiFfRG::BosonicMatsubaraValues< Idx, NT >::forward ( const device::array< IT, 1 > & x) const
inline

◆ forward() [2/2]

template<typename Idx = int, typename NT = double>
NT KOKKOS_FORCEINLINE_FUNCTION DiFfRG::BosonicMatsubaraValues< Idx, NT >::forward ( const Idx & x) const
inline

Transform from the grid to the physical space.

Parameters
xgrid coordinate
Returns
NumberType physical coordinate

◆ from_linear_index()

template<typename Idx = int, typename NT = double>
device::array< size_t, 1 > KOKKOS_FORCEINLINE_FUNCTION DiFfRG::BosonicMatsubaraValues< Idx, NT >::from_linear_index ( size_t i) const
inline

◆ size()

template<typename Idx = int, typename NT = double>
size_t DiFfRG::BosonicMatsubaraValues< Idx, NT >::size ( ) const
inline

◆ to_string()

template<typename Idx = int, typename NT = double>
std::string DiFfRG::BosonicMatsubaraValues< Idx, NT >::to_string ( ) const
inline

Member Data Documentation

◆ dim

template<typename Idx = int, typename NT = double>
size_t DiFfRG::BosonicMatsubaraValues< Idx, NT >::dim = 1
staticconstexpr

◆ m_size

template<typename Idx = int, typename NT = double>
const size_t DiFfRG::BosonicMatsubaraValues< Idx, NT >::m_size
private

◆ start

template<typename Idx = int, typename NT = double>
const Idx DiFfRG::BosonicMatsubaraValues< Idx, NT >::start

◆ stop

template<typename Idx = int, typename NT = double>
const Idx DiFfRG::BosonicMatsubaraValues< Idx, NT >::stop

◆ T

template<typename Idx = int, typename NT = double>
const NT DiFfRG::BosonicMatsubaraValues< Idx, NT >::T

The documentation for this class was generated from the following file:
  • /home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/discretization/coordinates/stack_coordinates.hh