1#ifndef XPED_SPININDEX_HPP_
2#define XPED_SPININDEX_HPP_
4#include <boost/describe.hpp>
7BOOST_DEFINE_ENUM_CLASS(SPIN_INDEX, UP, DN, NOSPIN, UPDN)
9inline std::ostream& operator<<(std::ostream& s, SPIN_INDEX sigma)
11 if(sigma == SPIN_INDEX::UP) {
13 }
else if(sigma == SPIN_INDEX::DN) {
15 }
else if(sigma == SPIN_INDEX::NOSPIN) {
17 }
else if(sigma == SPIN_INDEX::UPDN) {