VMD-L Mailing List
From: Peter Freddolino (petefred_at_ks.uiuc.edu)
Date: Fri Jun 27 2008 - 12:34:01 CDT
- Next message: dimka: "select cylindrical slab"
- Previous message: Marylou Kunkle: "Compiling from source on Mac OS X 10.5"
- In reply to: dimka: "select cylindrical slab"
- Next in thread: Axel Kohlmeyer: "Re: select cylindrical slab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
"within" refers to specific atoms matching a selection criteria, so what
you're actually doing is selecting everything within 10 angstroms of
atoms that are exactly on the z axis (probably nothing). Try
(x*x + y*y) < 100
instead.
Peter
dimka wrote:
> Hi VMD list, can you please tell me how to select a cylindrical volume?
>
> i've tried something like this but it doesn't work
>
> "within 10 of (x==0 and y==0)"
>
> supposedly this command should select a cylindrical slab in the Z
> direction... but it doesn't.
>
- Next message: dimka: "select cylindrical slab"
- Previous message: Marylou Kunkle: "Compiling from source on Mac OS X 10.5"
- In reply to: dimka: "select cylindrical slab"
- Next in thread: Axel Kohlmeyer: "Re: select cylindrical slab"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]