Ignore:
Timestamp:
Apr 30, 2010, 10:07:23 AM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
59e7832
Parents:
f70c2a
Message:

Declared the Vector class as single point spaces

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/analysis_correlation.cpp

    rf70c2a r4eee8f  
    131131                                checkOtherX = Vector(Othern[0], Othern[1], Othern[2]) + periodicOtherX;
    132132                                checkOtherX.MatrixMultiplication(FullMatrix);
    133                                 distance = checkX.Distance(checkOtherX);
     133                                distance = checkX.distance(checkOtherX);
    134134                                //Log() << Verbose(1) <<"Inserting " << *Walker << " and " << *OtherWalker << endl;
    135135                                outmap->insert ( pair<double, pair <atom *, atom*> > (distance, pair<atom *, atom*> (Walker, OtherWalker) ) );
     
    224224                checkX = Vector(n[0], n[1], n[2]) + periodicX;
    225225                checkX.MatrixMultiplication(FullMatrix);
    226                 distance = checkX.Distance(*point);
     226                distance = checkX.distance(*point);
    227227                DoLog(4) && (Log() << Verbose(4) << "Current distance is " << distance << "." << endl);
    228228                outmap->insert ( pair<double, pair<atom *, const Vector*> >(distance, pair<atom *, const Vector*> (Walker, point) ) );
Note: See TracChangeset for help on using the changeset viewer.