Ignore:
Timestamp:
Nov 4, 2009, 5:34:05 PM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
5f1d021
Parents:
c1b76e
Message:

Extension to the periodic boundary case for analysis_correlation.cpp

other stuff:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/molecule_geometry.cpp

    rc1b76e r20895b  
    2424{
    2525  bool status = true;
    26   Vector x;
    2726  const Vector *Center = DetermineCenterOfAll(out);
    2827  double *M = ReturnFullMatrixforSymmetric(cell_size);
    29   double *Minv = x.InverseMatrix(M);
     28  double *Minv = InverseMatrix(M);
    3029
    3130  // go through all atoms
     
    4645{
    4746  bool status = true;
    48   Vector x;
    4947  double *M = ReturnFullMatrixforSymmetric(cell_size);
    50   double *Minv = x.InverseMatrix(M);
     48  double *Minv = InverseMatrix(M);
    5149
    5250  // go through all atoms
     
    231229void molecule::TranslatePeriodically(const Vector *trans)
    232230{
    233   Vector x;
    234231  double *M = ReturnFullMatrixforSymmetric(cell_size);
    235   double *Minv = x.InverseMatrix(M);
     232  double *Minv = InverseMatrix(M);
    236233
    237234  // go through all atoms
Note: See TracChangeset for help on using the changeset viewer.