centralize cluster in poscar file
Posted: Thu Apr 18, 2013 8:50 am
Dear sir,
I have a small cluster to run in vasp which has both negative and positive coordinates.
I need to put that cluster in the center of box in poscar file.
Please help me in poscar file.
For example:
cubic box:
1.0
30.0 0.0 0.0
0.0 30.0 0.0
0.0 0.0 30.0
S Cd
33 33
Cart
0.00000000 0.00000000 0.00000000
5.81800000 0.00000000 0.00000000
-5.81800000 0.00000000 0.00000000
0.00000000 5.81800000 0.00000000
0.00000000 -5.81800000 0.00000000
0.00000000 0.00000000 5.81800000
0.00000000 0.00000000 -5.81800000
2.90900000 2.90900000 0.00000000
-2.90900000 2.90900000 0.00000000
2.90900000 -2.90900000 0.00000000
-2.90900000 -2.90900000 0.00000000
2.90900000 2.90900000 5.81800000
2.90900000 2.90900000 -5.81800000
-2.90900000 2.90900000 5.81800000
2.90900000 -2.90900000 5.81800000
-2.90900000 -2.90900000 -5.81800000
0.00000000 2.90900000 2.90900000
5.81800000 2.90900000 2.90900000
-5.81800000 2.90900000 2.90900000
0.00000000 -2.90900000 2.90900000
5.81800000 -2.90900000 2.90900000
0.00000000 2.90900000 -2.90900000
5.81800000 2.90900000 -2.90900000
0.00000000 -2.90900000 -2.90900000
2.90900000 0.00000000 2.90900000
-2.90900000 0.00000000 2.90900000
2.90900000 5.81800000 2.90900000
2.90900000 -5.81800000 2.90900000
-2.90900000 5.81800000 2.90900000
2.90900000 0.00000000 -2.90900000
-2.90900000 0.00000000 -2.90900000
2.90900000 5.81800000 -2.90900000
-2.90900000 -5.81800000 -2.90900000
-1.45450000 -1.45450000 -1.45450000
4.36350000 -1.45450000 -1.45450000
-1.45450000 4.36350000 -1.45450000
-1.45450000 -7.27250000 -1.45450000
4.36350000 4.36350000 -1.45450000
-1.45450000 -1.45450000 4.36350000
4.36350000 -1.45450000 4.36350000
-1.45450000 4.36350000 4.36350000
4.36350000 4.36350000 4.36350000
1.45450000 1.45450000 -1.45450000
7.27250000 1.45450000 -1.45450000
-4.36350000 1.45450000 -1.45450000
1.45450000 -4.36350000 -1.45450000
-4.36350000 -4.36350000 -1.45450000
1.45450000 1.45450000 4.36350000
-4.36350000 1.45450000 4.36350000
1.45450000 -4.36350000 4.36350000
-1.45450000 1.45450000 1.45450000
4.36350000 1.45450000 1.45450000
-1.45450000 -4.36350000 1.45450000
4.36350000 -4.36350000 1.45450000
-1.45450000 1.45450000 -4.36350000
4.36350000 1.45450000 -4.36350000
-1.45450000 -4.36350000 -4.36350000
1.45450000 -1.45450000 1.45450000
7.27250000 -1.45450000 1.45450000
-4.36350000 -1.45450000 1.45450000
1.45450000 4.36350000 1.45450000
1.45450000 -7.27250000 1.45450000
-4.36350000 4.36350000 1.45450000
1.45450000 -1.45450000 -4.36350000
-4.36350000 -1.45450000 -4.36350000
1.45450000 4.36350000 -4.36350000
How can i centralize this cluster.
Thank u
I have a small cluster to run in vasp which has both negative and positive coordinates.
I need to put that cluster in the center of box in poscar file.
Please help me in poscar file.
For example:
cubic box:
1.0
30.0 0.0 0.0
0.0 30.0 0.0
0.0 0.0 30.0
S Cd
33 33
Cart
0.00000000 0.00000000 0.00000000
5.81800000 0.00000000 0.00000000
-5.81800000 0.00000000 0.00000000
0.00000000 5.81800000 0.00000000
0.00000000 -5.81800000 0.00000000
0.00000000 0.00000000 5.81800000
0.00000000 0.00000000 -5.81800000
2.90900000 2.90900000 0.00000000
-2.90900000 2.90900000 0.00000000
2.90900000 -2.90900000 0.00000000
-2.90900000 -2.90900000 0.00000000
2.90900000 2.90900000 5.81800000
2.90900000 2.90900000 -5.81800000
-2.90900000 2.90900000 5.81800000
2.90900000 -2.90900000 5.81800000
-2.90900000 -2.90900000 -5.81800000
0.00000000 2.90900000 2.90900000
5.81800000 2.90900000 2.90900000
-5.81800000 2.90900000 2.90900000
0.00000000 -2.90900000 2.90900000
5.81800000 -2.90900000 2.90900000
0.00000000 2.90900000 -2.90900000
5.81800000 2.90900000 -2.90900000
0.00000000 -2.90900000 -2.90900000
2.90900000 0.00000000 2.90900000
-2.90900000 0.00000000 2.90900000
2.90900000 5.81800000 2.90900000
2.90900000 -5.81800000 2.90900000
-2.90900000 5.81800000 2.90900000
2.90900000 0.00000000 -2.90900000
-2.90900000 0.00000000 -2.90900000
2.90900000 5.81800000 -2.90900000
-2.90900000 -5.81800000 -2.90900000
-1.45450000 -1.45450000 -1.45450000
4.36350000 -1.45450000 -1.45450000
-1.45450000 4.36350000 -1.45450000
-1.45450000 -7.27250000 -1.45450000
4.36350000 4.36350000 -1.45450000
-1.45450000 -1.45450000 4.36350000
4.36350000 -1.45450000 4.36350000
-1.45450000 4.36350000 4.36350000
4.36350000 4.36350000 4.36350000
1.45450000 1.45450000 -1.45450000
7.27250000 1.45450000 -1.45450000
-4.36350000 1.45450000 -1.45450000
1.45450000 -4.36350000 -1.45450000
-4.36350000 -4.36350000 -1.45450000
1.45450000 1.45450000 4.36350000
-4.36350000 1.45450000 4.36350000
1.45450000 -4.36350000 4.36350000
-1.45450000 1.45450000 1.45450000
4.36350000 1.45450000 1.45450000
-1.45450000 -4.36350000 1.45450000
4.36350000 -4.36350000 1.45450000
-1.45450000 1.45450000 -4.36350000
4.36350000 1.45450000 -4.36350000
-1.45450000 -4.36350000 -4.36350000
1.45450000 -1.45450000 1.45450000
7.27250000 -1.45450000 1.45450000
-4.36350000 -1.45450000 1.45450000
1.45450000 4.36350000 1.45450000
1.45450000 -7.27250000 1.45450000
-4.36350000 4.36350000 1.45450000
1.45450000 -1.45450000 -4.36350000
-4.36350000 -1.45450000 -4.36350000
1.45450000 4.36350000 -4.36350000
How can i centralize this cluster.
Thank u