Changeset 20895b for molecuilder/src/molecule_geometry.cpp
- Timestamp:
- Nov 4, 2009, 5:34:05 PM (16 years ago)
- Children:
- 5f1d021
- Parents:
- c1b76e
- File:
-
- 1 edited
-
molecuilder/src/molecule_geometry.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/molecule_geometry.cpp
rc1b76e r20895b 24 24 { 25 25 bool status = true; 26 Vector x;27 26 const Vector *Center = DetermineCenterOfAll(out); 28 27 double *M = ReturnFullMatrixforSymmetric(cell_size); 29 double *Minv = x.InverseMatrix(M);28 double *Minv = InverseMatrix(M); 30 29 31 30 // go through all atoms … … 46 45 { 47 46 bool status = true; 48 Vector x;49 47 double *M = ReturnFullMatrixforSymmetric(cell_size); 50 double *Minv = x.InverseMatrix(M);48 double *Minv = InverseMatrix(M); 51 49 52 50 // go through all atoms … … 231 229 void molecule::TranslatePeriodically(const Vector *trans) 232 230 { 233 Vector x;234 231 double *M = ReturnFullMatrixforSymmetric(cell_size); 235 double *Minv = x.InverseMatrix(M);232 double *Minv = InverseMatrix(M); 236 233 237 234 // go through all atoms
Note:
See TracChangeset
for help on using the changeset viewer.
