pairinteraction
A Rydberg Interaction Calculator
pairinteraction::GreenTensor< Scalar > Class Template Reference

#include <GreenTensor.hpp>

Data Structures

class  ConstantEntry
 
class  OmegaDependentEntry
 

Public Types

using real_t = typename traits::NumTraits< Scalar >::real_t
 
using complex_t = std::complex< real_t >
 
using Entry = std::variant< ConstantEntry, OmegaDependentEntry >
 

Public Member Functions

void set_entries (int kappa1, int kappa2, const Eigen::MatrixX< Scalar > &tensor_in_cartesian_coordinates)
 
void set_entries (int kappa1, int kappa2, const std::vector< Eigen::MatrixX< Scalar > > &tensors_in_cartesian_coordinates, const std::vector< double > &omegas)
 
const std::vector< Entry > & get_entries (int kappa1, int kappa2) const
 

Detailed Description

template<typename Scalar>
class pairinteraction::GreenTensor< Scalar >

Definition at line 19 of file GreenTensor.hpp.

Member Typedef Documentation

◆ complex_t

template<typename Scalar >
using pairinteraction::GreenTensor< Scalar >::complex_t = std::complex<real_t>

Definition at line 24 of file GreenTensor.hpp.

◆ Entry

template<typename Scalar >
using pairinteraction::GreenTensor< Scalar >::Entry = std::variant<ConstantEntry, OmegaDependentEntry>

Definition at line 54 of file GreenTensor.hpp.

◆ real_t

template<typename Scalar >
using pairinteraction::GreenTensor< Scalar >::real_t = typename traits::NumTraits<Scalar>::real_t

Definition at line 23 of file GreenTensor.hpp.

Member Function Documentation

◆ get_entries()

template<typename Scalar >
const std::vector< typename GreenTensor< Scalar >::Entry > & pairinteraction::GreenTensor< Scalar >::get_entries ( int  kappa1,
int  kappa2 
) const

Definition at line 159 of file GreenTensor.cpp.

Referenced by pairinteraction::construct_operator_matrices().

+ Here is the caller graph for this function:

◆ set_entries() [1/2]

template<typename Scalar >
void pairinteraction::GreenTensor< Scalar >::set_entries ( int  kappa1,
int  kappa2,
const Eigen::MatrixX< Scalar > &  tensor_in_cartesian_coordinates 
)

Definition at line 65 of file GreenTensor.cpp.

Referenced by pairinteraction::construct_green_tensor().

+ Here is the caller graph for this function:

◆ set_entries() [2/2]

template<typename Scalar >
void pairinteraction::GreenTensor< Scalar >::set_entries ( int  kappa1,
int  kappa2,
const std::vector< Eigen::MatrixX< Scalar > > &  tensors_in_cartesian_coordinates,
const std::vector< double > &  omegas 
)

Definition at line 90 of file GreenTensor.cpp.


The documentation for this class was generated from the following files: