--- trunk/OOPSE-2.0/doc/SelectionExpression.html 2005/02/25 16:38:26 2061 +++ trunk/OOPSE-2.0/doc/SelectionExpression.html 2005/02/28 17:24:51 2063 @@ -1,170 +1,441 @@ +
+Select Commands in OOPSE
++ +
Stuntdouble stands in for some object that can be manipulated by the Integrators or Minimizers.
+Atom is a fundamental unit in OOPSE
+DirectionalAtom is a special atom
+Rigid-body is a collection of atoms or directional atoms.
+ Every molecule, atom and directional atom in OOPSE have their own name which are given by .md file. In contrast, the name of rigid-body, which is [MoleculeName]_RB_[index] (the content inside the brackets will be replaced), is generated automatically. For example, the name of the first rigi-body of DMPC molecule is DMPC_RB_0.
+
The expression represents an arbitrary set of stuntdoubles (atoms or rigid-bodies) in OOPSE. Expressions are composed of either name expressions, index expression, predefined sets, user define expression, comparison operators, within expressions, or logical combinations of the above expression types. Expression can be combined with parentheses and the Boolean operators
+ +The logical operators allow complex queries to be constructed out of simpler ones using the standard boolean connectives and, or, not. Parentheses can be used to alter the precedence of the operators. +
logical operator |
+
equivalent operator |
+
|
and |
+
"&", "&&" |
+
|
or |
- "|","||", "," |
+
+ "|", "||", "," |
+
not |
+
"!" |
+
+
expression |
+
description |
+
|
expression without "." | +select DMPC |
+
select all stuntdoubles belong to DMPC molecule | +
select C* |
+
select all carbon atoms | +|
select DMPC_RB_* |
+
select all rigid-bodies (only select rigid-bodies, not include the atoms belong to them) | +|
expression has one "." | +select TIP3P.O_TIP3P | +select stuntdoubles belong to molecule | +
select DMPC_RB_0.PO4 | +select atoms belong to rigid-bodies | +|
select DMPC.20 | +select stuntdoubles by their internal indices inside the molecules | +|
expression has two "." | +select DMPC.DMPC_RB_?.* | +select all atoms belong to rigid-bodies within DMPC molecule | +
+
Index expression is used to select stuntdobules by their global indices.
+select 20 | +select stuntdoubles which global index is 20 | +
select 20 to 30 | +select stuntdoubles which global indices are between 20 (inclusive) and 30 (exclusive) | +
+ +
keyword |
+
description |
+
all |
+
select all stuntdoubles |
+
none |
+
select none of the stuntdoubles |
+
rigidbody |
+
select all rigid-bodies |
+
+ +
User can define arbitrary terms to represent groups of stuntdoubles, and then use the terms you have defined in select commands. The general form for the define command is: define term expression
+Once defined, user can use such terms in boolean expressions
+define SSDWATER SSD or SSD1 or SSDRF +select SSDWATER |
+
Stuntdoubles can be distinguished using comparision operators on their properties. The general form for the comparison command is: a property name, followed by a comparision operator and then a number.
+property |
+
mass, dipole, charge |
+
comparision operator |
+
">", "<", "=", ">=", "<=", "!=" |
+
select mass > 16.0 and charge < -2 | +select stuntdoubles which mass is great than 16.0 and charge is less than -2 | +
+
Within selection selects all stuntdoubles within the specified distance (in ?) from a selection, including the selection itself. The general form for within selection is: select within(distance, expression) +
select within(2.5, PO4 or NC4) | -select stunntdoules which are within 2.5 ? from either PO4 or NC4 |
+
+ select within(2.5, PO4 or NC4) | + +select stunntdoules which are within 2.5 ? from either PO4 or NC4 |
+
-
+ +
Dump2XYZ can transform an OOPSE dump file into a xyz file which could be opened by other molecular viewers, such as Jmol and VMD. +
+ |
+ Specifying --selection="selection command" with Dump2XYZ, user can select an arbitrary set of stuntdoubles to be converted. | +
+ |
+ In order to rotate the system, --originsele and --refselec must be given to define the new coordinate set. A stuntdouble with a dipole, which direction is always (0, 0, 1) in body frame, is specified by --originsele. The new x-z plane is defined by the direction of dipole and the stuntdouble specified by --refsele. | +
+ |
+
+
+
+
There are five seperate radial distribution functions availiable in OOPSE. Since every radial distrbution function invlove the calculation between a pair, --sele1 and --sele2 must be given. +
+ |
+ + |
+
+ |
+ normal pair distribution function. | +
+ |
+ Calculate angle dependent pair distribution function. The angle is defined by r and A's dipole moment. | +
+ |
+ Calculate angle dependent pair distribution function. The angle is defined by A's dipole moment and B's dipole moment . | +
+ |
+ Calculate the two dimension distribution of two angles. | +
+ |
+ Calculate the three dimension distribution of the particle B in the body frame of particle A. Therefore, --originsele and --refsele must be given to define the A's internal coordinate set. | +
+
option |
+ + |
+
--rcorr |
+ mean square displacement | +
--vcorr |
+ velocity correlation function | +
--dcorr |
+ dipole correlation function | +
+ +