SyTen
rep_decomp_register.cpp File Reference

Implementation for inc/rep/rep_decomp_register.h. More...

+ Include dependency graph for rep_decomp_register.cpp:

Classes

struct  syten::RepRegister::Decomp::RepRepOrdinal
 Struct used as key in decomposition cache. More...
 

Namespaces

 syten
 Syten namespace.
 
 syten::RepRegister
 All representation-related registers.
 
 syten::RepRegister::Decomp
 All decomposition-related functions and registers.
 

Functions

void syten::RepRegister::Decomp::addDecomposition (Rep const &a, Rep const &b, Ordinal const &resultIndex, RepDecomposition const &decomp)
 Adds the decomposition to our register of known decompositions. More...
 
std::pair< bool, RepDecomposition > syten::RepRegister::Decomp::getDecomposition (Rep const &a, Rep const &b, Ordinal const &resultIndex)
 Checks if we already know about a given decomposition. More...
 
std::tuple< std::vector< DenseTensor< 2, MDef > >, std::vector< DenseTensor< 2, MDef > >, std::vector< DenseTensor< 2, MDef > > > syten::RepRegister::Decomp::product (Rep const &a, Rep const &b)
 returns the raising, lowering and z operators of the product rep of a and b More...
 
std::vector< std::pair< Rep, SparseTensor< 3, CDef > > > syten::RepRegister::Decomp::productDecomp (Rep const &a, Rep const &b, Ordinal const &resultIndex=Ordinal::Third)
 Decomposes the product representation and returns a list of pairs of irreps with the associated CGC spaces. More...
 

Variables

static std::unordered_map< RepRepOrdinal, RepDecomposition > syten::RepRegister::Decomp::repDecompositionData
 Data structure holding known decompositions. More...
 
static std::mutex syten::RepRegister::Decomp::repDecompositionDataMtx
 Used to protect our data structure containing known decompositions, repDecompositionData. More...
 

Detailed Description

Implementation for inc/rep/rep_decomp_register.h.