Displaying 1 result from an estimated 1 matches for "latpoint".
Did you mean:
latpoints
2007 Mar 10
2
Table Construction from calculations
...le.
Starting with a data table "basis":
atom x y z
1 Cu 0.0 0.0 0.0
2 Cu 0.5 0.5 0.5
I want to add 0.5 0.5 0.5 (and also the 0 0 0 but it wouldn't change
the values below so I won't refer to it in the rest of the example) to a
list of vectors in the form of:
> latpoints
V1 V2 V3
1 0 0 0
2 0 0 1
3 0 0 2
4 0 0 3
5 0 1 1
so that I end up with a table such as:
V1 V2 V3
0.5 0.5 0.5
0.5 0.5 1.5
0.5 0.5 2.5
0.5 0.5 3.5
0.5 1.5 1.5
I've tried many variations on the following: (not just cat, but most of
the data/data.table options)
test =...