chem cryst
CRYSTALS manual
University of Oxford


chem cryst news



Cameron Manual

Chapter 21: Group Definitions

21.1: Example

For complicated structures it is sometimes useful to define GROUPS of atoms which can be referred to as a whole later. EXCLUDE, INCLUDE, COLOUR BONDS etc can all be used with the GROUP sub-command.

DEFGROUP

This is the main header command and is followed by the name of the group. Note that it is not possible to have group names that begin with GROUP itself - g1, g2 are valid names but group1, group2 are not. Up to twelve characters are allowed to define the group name.

ATOMS

This is followed by a list of atoms/elements to be included in the group.

GROUP

It is possible to have an atom as a member of up to three groups at once. You can therefore add groups into other groups (see Example).

FRAGMENT

The user can include atoms in a group by defining a fragment. The fragment definition requires a single atom. Any atoms joined to it, and any atoms to those etc are made part of the group.

DELETE

You can also remove atoms from groups if required.


[Top] [Index] Manuals generated on Wednesday 8 November 2006

21.1: Example

Consider an molecule that contains a tri-phenyl phosphine. A use of the DEFGROUP command would be :-

 DEFGROUP PHENYL1
 ATOMS C1 C2 C3 C4 C5 C6
 DEFGROUP PHENYL2
 ATOMS C11 C12 C13 C14 C15 C16
 DEFGROUP PHENYL3
 ATOMS C21 C22 C23 C24 C35 C36
 DEFGROUP PPH3
 ATOMS P
 GROUP PHENYL1 PHENYL2 PHENYL3
 


If you then realise that there are two phosphorus atoms in the molecule P1 and P2 you can use :-

 DEFGROUP PPH3 DELETE P2
 


to remove P2 as it is not a member of the tri-phenyl phosphine group.


[Introduction | How To Get Started | Data Input | Outputting Data | Editing The Atom List | Obeying Files | Archiving And Retrieving Views | Graphical Output Devices | View Direction Control | Include And Exclude | Drawing Style Control | Connectivity Control | Control Of Colour | Atom Labelling | Other Picture Controlling Commands | Symmetry Input | Crystal Packing Commands | Add And Move - Further Symmetry Related Commands | Distance And Angle Calculations | Information On Data Held Within The Program | Group Definitions | Miscellaneous Commands | How To Stop The Program | Menu Definition File | Some Useful Ideas ]

Crystals Now!  Manuals NOW!

© Copyright Chemical Crystallography Laboratory, Oxford, 2006. Comments or queries to David Watkin - david.watkin@chem.ox.ac.uk Telephone +44 1865 285019. This page last changed on Wednesday 8 November 2006. The website was re-generated on Wednesday 8 November 2006. Choose your nearest mirror for faster access: [ Original | CCP14 UK Mirror | CCP14 Canadian Mirror | CCP14 USA Mirror | CCP14 Australian Mirror ]
Authorised people, edit: this file, news, tree, template, stylesheet. Rebuild website.