ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/parallel/ForceMatrixDecomposition.cpp
(Generate patch)

Comparing branches/development/src/parallel/ForceMatrixDecomposition.cpp (file contents):
Revision 1588 by gezelter, Sat Jul 9 15:05:59 2011 UTC vs.
Revision 1589 by gezelter, Sun Jul 10 16:05:34 2011 UTC

# Line 112 | Line 112 | namespace OpenMD {
112      AtomCommIntRow->gather(idents, identsRow);
113      AtomCommIntColumn->gather(idents, identsCol);
114      
115 <    vector<int>::iterator it;
116 <    for (it = AtomLocalToGlobal.begin(); it != AtomLocalToGlobal.end(); ++it) {
117 <      cerr << "my AtomLocalToGlobal = " << (*it) << "\n";
118 <    }
115 >    // allocate memory for the parallel objects
116 >    AtomRowToGlobal.resize(nAtomsInRow_);
117 >    AtomColToGlobal.resize(nAtomsInCol_);
118 >    cgRowToGlobal.resize(nGroupsInRow_);
119 >    cgColToGlobal.resize(nGroupsInCol_);
120 >    massFactorsRow.resize(nAtomsInRow_);
121 >    massFactorsCol.resize(nAtomsInCol_);
122 >    pot_row.resize(nAtomsInRow_);
123 >    pot_col.resize(nAtomsInCol_);
124 >
125      AtomCommIntRow->gather(AtomLocalToGlobal, AtomRowToGlobal);
126      AtomCommIntColumn->gather(AtomLocalToGlobal, AtomColToGlobal);
127      

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines