Changes in src/molecule_fragmentation.cpp [952f38:c27778]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/molecule_fragmentation.cpp
r952f38 rc27778 15 15 #include "config.hpp" 16 16 #include "element.hpp" 17 #include " Helpers/helpers.hpp"17 #include "helpers.hpp" 18 18 #include "lists.hpp" 19 #include " Helpers/Verbose.hpp"20 #include " Helpers/Log.hpp"19 #include "log.hpp" 20 #include "memoryallocator.hpp" 21 21 #include "molecule.hpp" 22 22 #include "periodentafel.hpp" 23 23 #include "World.hpp" 24 #include "LinearAlgebra/Matrix.hpp"25 #include "Box.hpp"26 #include "stackclass.hpp"27 24 28 25 /************************************* Functions for class molecule *********************************/ … … 1719 1716 atom *Walker = NULL; 1720 1717 atom *OtherWalker = NULL; 1721 Matrix matrix = World::getInstance().getDomain().getM(); 1718 double * const cell_size = World::getInstance().getDomain(); 1719 double *matrix = ReturnFullMatrixforSymmetric(cell_size); 1722 1720 enum Shading *ColorList = NULL; 1723 1721 double tmp; … … 1759 1757 Translationvector[i] = (tmp < 0) ? +1. : -1.; 1760 1758 } 1761 Translationvector *= matrix;1759 Translationvector.MatrixMultiplication(matrix); 1762 1760 //Log() << Verbose(3) << "Translation vector is "; 1763 1761 Log() << Verbose(0) << Translationvector << endl; … … 1790 1788 delete(AtomStack); 1791 1789 delete[](ColorList); 1790 delete[](matrix); 1792 1791 DoLog(2) && (Log() << Verbose(2) << "End of ScanForPeriodicCorrection." << endl); 1793 1792 };
Note:
See TracChangeset
for help on using the changeset viewer.