ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/SimInfo.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/SimInfo.cpp (file contents):
Revision 1108 by tim, Wed Apr 14 15:37:41 2004 UTC vs.
Revision 1113 by tim, Thu Apr 15 16:18:26 2004 UTC

# Line 322 | Line 322 | int SimInfo::getNDF(){
322   int SimInfo::getNDF(){
323    int ndf_local;
324  
325 +  ndf_local = 0;
326 +  
327    for(int i = 0; i < integrableObjects.size(); i++){
328      ndf_local += 3;
329      if (integrableObjects[i]->isDirectional())
# Line 350 | Line 352 | int SimInfo::getNDFraw() {
352    int ndfRaw_local;
353  
354    // Raw degrees of freedom that we have to set
355 +  ndfRaw_local = 0;
356  
357    for(int i = 0; i < integrableObjects.size(); i++){
358      ndfRaw_local += 3;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines