Xped
Loading...
Searching...
No Matches
SubLattice.hpp
Go to the documentation of this file.
1#ifndef XPED_SUB_LATTICE_HPP_
2#define XPED_SUB_LATTICE_HPP_
3
4#include <boost/describe.hpp>
5
6namespace Xped {
7
9{
10 A = 1,
11 B = -1
12};
13
14inline std::ostream& operator<<(std::ostream& s, SUB_LATTICE sublat)
15{
16 if(sublat == A) {
17 s << "A";
18 } else if(sublat == B) {
19 s << "B";
20 }
21 return s;
22};
23
24} // namespace Xped
25#endif
Definition: bench.cpp:62
SUB_LATTICE
Definition: SubLattice.hpp:9
@ B
Definition: SubLattice.hpp:11
@ A
Definition: SubLattice.hpp:10
std::ostream & operator<<(std::ostream &os, const FusionTree< depth, Symmetry > &tree)
Definition: FusionTree.hpp:93