| 128 |
|
// if we have changed the group identities or haven't set up the |
| 129 |
|
// saved positions we automatically will need a neighbor list update: |
| 130 |
|
|
| 131 |
< |
if ( saved_CG_positions_.size() != nGroups ) { |
| 132 |
< |
cerr << "build because size\n"; |
| 133 |
< |
return true; |
| 134 |
< |
} |
| 131 |
> |
if ( saved_CG_positions_.size() != nGroups ) return true; |
| 132 |
|
|
| 133 |
|
RealType dispmax = 0.0; |
| 134 |
|
Vector3d disp; |
| 147 |
|
dispmax = 2.0 * sqrt (3.0 * dispmax * dispmax); |
| 148 |
|
|
| 149 |
|
|
| 150 |
< |
if (dispmax > skinThickness_) { |
| 154 |
< |
cerr << "build because movement\n"; |
| 150 |
> |
if (dispmax > skinThickness_) |
| 151 |
|
return (dispmax > skinThickness_); |
| 152 |
< |
} else { |
| 157 |
< |
cerr << "not rebuilding\n"; |
| 158 |
< |
} |
| 152 |
> |
|
| 153 |
|
return false; |
| 154 |
|
} |
| 155 |
|
} |