SyTen
syten::RepRegister Namespace Reference

All representation-related registers. More...

Namespaces

 Decomp
 All decomposition-related functions and registers.
 

Typedefs

typedef std::vector< std::tuple< Group, RepLabel, Index, std::vector< DenseTensor< 2, MDef >, EternalAllocator< DenseTensor< 2, MDef > > >, std::vector< DenseTensor< 2, MDef >, EternalAllocator< DenseTensor< 2, MDef > > >, std::vector< DenseTensor< 2, MDef >, EternalAllocator< DenseTensor< 2, MDef > > > > > RepRegisterData
 Data type containing a list of matrix representations of groups. More...
 

Functions

void abortMissingIrrep (Group const &group, RepLabel const &label)
 Print diagnostic information if an unknown irrep has been requested. More...
 
Index dim (Group const &group, RepLabel const &label)
 Returns the dimension of the specified irrep. More...
 
bool getId (Group const &group, RepLabel const &label, Index &i)
 mutex-protected id() More...
 
bool id (Group const &group, RepLabel const &label, Index &i)
 Index of group in repRegisterData. More...
 
DenseTensor< 2, MDef > const & lOp (Group const &group, RepLabel const &label, Index const which)
 See lOp() More...
 
DenseTensor< 2, MDef > const & lOp (Index const id, Index const which)
 Returns the which'th lowering operator of the id'th rep registered here. More...
 
bool reg (Group const &group, RepLabel const &label, std::vector< DenseTensor< 2, MDef > > const &rOp, std::vector< DenseTensor< 2, MDef > > const &lOp, std::vector< DenseTensor< 2, MDef > > const &zOp)
 Registers a given representation. More...
 
DenseTensor< 2, MDef > const & rOp (Group const &group, RepLabel const &label, Index const which)
 Returns the which'th raising operator of the specified irrep. More...
 
DenseTensor< 2, MDef > const & rOp (Index const id, Index const which)
 Returns the which'th raising operator of the id'th rep registered here. More...
 
DenseTensor< 2, MDef > const & zOp (Group const &group, RepLabel const &label, Index const which)
 See rOp() More...
 
DenseTensor< 2, MDef > const & zOp (Index const id, Index const which)
 Returns the which'th z operator of the id'th rep registered here. More...
 

Variables

static RepRegisterData repRegisterData
 collection of known reps More...
 
static std::mutex repRegisterDataMtx
 mutex used to protect repRegisterData More...
 

Detailed Description

All representation-related registers.