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
comment editing in structure.h
[cluster_expansion.git]
/
Symmetry.h
blob
84e3dd95eee6eee11552fb9216ffa4540fc0fd8e
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
typedef
vector
<
Direction
>
Directions
;
18
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