SyTen
rep_sector.cpp File Reference

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

#include <boost/functional/hash.hpp>
#include "inc/rep/rep_sector.h"
+ Include dependency graph for rep_sector.cpp:

Namespaces

 syten
 Syten namespace.
 

Functions

SRDef syten::dist (Sector const &s1, Sector const &s2)
 Returns the distance between two sectors, i.e. the sum of the distances between constituent irreps. More...
 
bool syten::isFermionic (Sector const &a)
 Returns true if the sector is odd/fermionic. More...
 
bool syten::isVacuum (Sector const &s)
 Returns true iff all reps in the sector return true for rep.isVacuum(). More...
 
Sector syten::make_vacuum (Sector const &like)
 Returns a vacuum sector of symmetries identical to like. More...
 
bool syten::minus_on_swap (Sector const &a, Sector const &b)
 Returns true if swapping the two sectors induces a minus sign. More...
 
Sector syten::parseSector (Sector const &systemReps, std::string desc)
 Parse a string defining a Sector into a Sector. More...
 

Detailed Description

Implementation for inc/rep/rep_sector.h.