repo.or.cz
/
cluster_expansion.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
deleted SymmetryParser including in cluster_expansion, since the parsing is now done...
[cluster_expansion.git]
/
Symmetry.h
blob
e6f547c68a061bd53b499f6eb6e55eaa8bde7cbd
1
#ifndef _SYMMETRY_H
2
#define _SYMMETRY_H
3
4
#include <string>
5
#include <vector>
6
7
#include <string>
8
#include <vector>
9
10
using namespace
std
;
11
12
struct
Direction
{
13
double
x
;
14
double
y
;
15
Direction
(
double
x
,
double
y
) :
x
(
x
),
y
(
y
) {};
16
};
17
18
typedef
vector
<
Direction
>
Directions
;
19
20
struct
Symmetry
{
21
string name
;
22
Directions directions
;
23
Symmetry
(
const
string name
=
""
) :
24
name
(
name
) {};
25
};
26
27
class
SymmetryOperations
:
public
vector
<
Symmetry
> {
28
};
29
30
#endif