ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/selection/SelectionEvaluator.cpp
(Generate patch)

Comparing branches/development/src/selection/SelectionEvaluator.cpp (file contents):
Revision 1465 by chuckv, Fri Jul 9 23:08:25 2010 UTC vs.
Revision 1629 by gezelter, Wed Sep 14 21:15:17 2011 UTC

# Line 45 | Line 45
45   #include "primitives/DirectionalAtom.hpp"
46   #include "primitives/RigidBody.hpp"
47   #include "primitives/Molecule.hpp"
48 < #include "io/basic_ifstrstream.hpp"
48 > #include "io/ifstrstream.hpp"
49  
50   namespace OpenMD {
51  
# Line 278 | Line 278 | namespace OpenMD {
278      case Token::z:
279        propertyValue = sd->getPos().z();
280        break;
281 +    case Token::r:
282 +      propertyValue = sd->getPos().length();
283 +      break;
284      default:
285        unrecognizedAtomProperty(property);
286      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines