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
6
namespace
Xped
{
7
8
enum
SUB_LATTICE
9
{
10
A
= 1,
11
B
= -1
12
};
13
14
inline
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
Xped
Definition:
bench.cpp:62
Xped::SUB_LATTICE
SUB_LATTICE
Definition:
SubLattice.hpp:9
Xped::B
@ B
Definition:
SubLattice.hpp:11
Xped::A
@ A
Definition:
SubLattice.hpp:10
Xped::operator<<
std::ostream & operator<<(std::ostream &os, const FusionTree< depth, Symmetry > &tree)
Definition:
FusionTree.hpp:93
include
Xped
Physics
SubLattice.hpp
Generated by
1.9.6