Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/molecule_fragmentation.cpp

    r952f38 rc27778  
    1515#include "config.hpp"
    1616#include "element.hpp"
    17 #include "Helpers/helpers.hpp"
     17#include "helpers.hpp"
    1818#include "lists.hpp"
    19 #include "Helpers/Verbose.hpp"
    20 #include "Helpers/Log.hpp"
     19#include "log.hpp"
     20#include "memoryallocator.hpp"
    2121#include "molecule.hpp"
    2222#include "periodentafel.hpp"
    2323#include "World.hpp"
    24 #include "LinearAlgebra/Matrix.hpp"
    25 #include "Box.hpp"
    26 #include "stackclass.hpp"
    2724
    2825/************************************* Functions for class molecule *********************************/
     
    17191716  atom *Walker = NULL;
    17201717  atom *OtherWalker = NULL;
    1721   Matrix matrix = World::getInstance().getDomain().getM();
     1718  double * const cell_size = World::getInstance().getDomain();
     1719  double *matrix = ReturnFullMatrixforSymmetric(cell_size);
    17221720  enum Shading *ColorList = NULL;
    17231721  double tmp;
     
    17591757          Translationvector[i] = (tmp < 0) ? +1. : -1.;
    17601758      }
    1761       Translationvector *= matrix;
     1759      Translationvector.MatrixMultiplication(matrix);
    17621760      //Log() << Verbose(3) << "Translation vector is ";
    17631761      Log() << Verbose(0) << Translationvector <<  endl;
     
    17901788  delete(AtomStack);
    17911789  delete[](ColorList);
     1790  delete[](matrix);
    17921791  DoLog(2) && (Log() << Verbose(2) << "End of ScanForPeriodicCorrection." << endl);
    17931792};
Note: See TracChangeset for help on using the changeset viewer.