GaussView contains a variety of controls and features for customizing the displays in view windows. These may be accessed via the View menu, and also via toolbar icons in some cases. The View menu may also be accessed by clicking the right mouse button in an open area of any view window or other molecule display.
The Center button and the View=>Center menu item centers and resizes the image in the active view window to make the most efficient use of the workspace.
Several View menu options toggle the display of optional items within a view window:
You can specify default values for these items via the General panel of the Display Format dialog (View menu) or the Display Format pane of the Preferences. You can also exclude labels and symbols on hydrogen atoms or hydrogen and carbon atoms using the Exclude View Labels and Exclude View Symbols items in the Text panel of the Display Format preferences (both default to excluding no atom types). Finally, the size of textual labels can be adjusted using the Size field in the Text panel of the Display Format preferences.
Figure 43. Displaying Cartesian Axes
These windows illustrate GaussView’s Cartesian Axes display option. The window on the left shows the initial position of the axes (which is quite arbitrary), and the one on the right shows the origin’s new position after using the Edit=>Reorient menu item.
Figure 44 illustrates the molecule positioning toolbar, which is accessed with the View=>Positioning Tools menu item.
Figure 44. The Positioning Toolbar
For all of the tools, the view’s X, Y and Z directions are the horizontal, vertical and depth of the window, and the molecule X, Y and Z directions are those indicated by the Cartesian axes. The various controls are described individually below (moving across the toolbar from left to right):
The Display Format button and the View=>Display Format menu item both open the Display Format dialog. Each panel in this dialog also has a twin within the Display preferences. We will consider the General, Text and Molecule panels here and will consider the Surface panel later in this book.
The items in the General panel control molecule display quality, additional items displayed in addition to the atoms (as mentioned above) and the fog feature. It is illustrated in Figure 45.
The options in top part of this panel govern how the molecule appears both when it is being moved in the view window by mouse action and when it is not moving. On slower systems, it can be often useful to set the slider more toward the Realistic end of the scale for Stationary Object Display and more toward the Fast end of the scale for Moving Object Display.
The Smooth checkboxes enable/disable smoothing in the display, and the Spotlight checkboxes enable/disable simulated spotlighting on the window contents.
Figure 45. Display Format General Panel
The Use Fog to Improve Depth Perception checkbox causes more distant atoms in the view window to recede to invisible, allowing nearer atoms to become more distinct. The Fog has Zero Visibility at field controls the depth at which atoms become completely invisible.
This feature is illustrated in Figure 46. In this example, the lefthand illustration shows the molecule with the fog feature disabled. In the righthand illustration, fog is turned on, and the frontmost atoms are much more distinct than more distant ones.
Figure 46. The Fog Depth Display Feature
Compare the display types between the two windows to understand the effect of fog.
The options in this panel control how atoms and bonds appear in the view window. The three popup menus specify how atoms in each of the three ONIOM layers will be displayed. If the ONIOM facility is not being used, then the setting for the High Layer is used. The Molecule panel is shown in Figure 47.
Figure 47. The Display Format Molecule Panel
The various items in this panel control various aspects of molecule displays.
The layer display settings are also used by some other GaussView features unrelated to ONIOM (e.g., displaying atoms at the boundaries of PBC unit cells).
The various supported display types are:
The Use Vanderwaals Radii checkbox and Scale Radii by field cause the atoms in the view window to be displayed at the indicated scaling of the van der Waals covalent radii. Using a scaling value of 150%-200% will produce a space filling-like molecular display, as in Figure 48.
Figure 48. A CPK-Like Display
The Z-Clip slider may be used to remove the frontmost portions of the image to allow views into the interior of the molecular display.
The Use Bond Color checkbox controls whether bonds are partially or entirely colored by atom type in the tube display format. The two options are illustrated in Figure 49.
Figure 49. Tube Display Formats
These windows show pyrazine using the the tube display format without (left) and with (right) the Use Bond Color item checked. The format on the left is the default.
The Text panel of the Display Format dialog controls the font and color of atom labels and symbols as well as allowing you to exclude certain atoms from labeling as previously mentioned. It is illustrated in Figure 50.
Figure 50. The Text Panel of the Display Format Dialog
This panel allows you to specify various aspects of text labeling of atoms.
The Font File menu allows you to select from several font files provided with GaussView. The Size field specifies the relative type size: type resizes with the molecule as you zoom in or out. The Render field specifies the type rendering method, and the Color field specifies the type color. Note that font sizes are generally limited to those included on the Size menu.
The Colors preferences allow you to customize the coloring of view window backgrounds, atoms (elements), bonds, surfaces and vibration vector displays. The dialog is illustrated on the left in Figure 51.
Figure 51. Customizing GaussView Colors
The Colors preferences dialog appears on the left, and the Element Colors preferences appears on the right.
The items in the Colors preferences dialog control the coloring of the following items:
The dialog in Figure 52 is used to specify coloring for single-color surfaces. For surfaces types having positive and negative lobes, two colors are specified (as in the figure, which specifies colors for MO surfaces). The dialogs for other Colors preferences items are similar.
The fields at the top of this example dialog allow you to select the surface type and display style (in dialog for other items, the appropriate items are substituted for these). The most important fields are located in the center of the dialog. The Scheme popup allows you to select the type of coloring that is applied to the object. The 1-Color Shaded, 2-Color Shaded, 3-Color Shaded, and 4-Color Shaded items select gradient-filled coloring consisting of shades of the indicated color (1-Color Shaded) or blends between the specified colors (2 or more colors). Keep in mind that less is more with gradients when good taste prevails. The 1-Color Flat colors the object using the specified color in a solid mode, without creating any illusion of three-dimensional shape.
Clicking on any of the color chips in this area allows you to modify that color. Note that two-lobed surfaces will have two sets of color chip(s), placed on the left and right sides of the dialog. If the Use RGB Selector checkbox is selected, then you can use the sliders below it to specify the RGB values for the desired color. If it is unchecked, then the system color picking utility will be invoked.
Figure 52. Surface Coloring Preferences
This dialog allows you to customize the colors used for surfaces.
View=>Add View menu item and the Add View button may be used to add a new view window for the current model. This view is independently adjustable, and begins with the default settings (rather than those of the current view window).
The View=>Synchronize menu item can be used to link distinct views of the same model with respect to mouse-based view operations: rotation, translation, zooming, etc. You must enable this item for each view window that you want to synchronize. Note that synchronization does not affect other display choices and that views are automatically synchronized with respect to structural changes.
The Windows menu contains items which control which view windows are open and/or visible. All views and associated dialogs of a molecule group can be hidden/shown by checking/unchecking the corresponding item in the Windows=>Molecule Groups submenu. Individual view windows can be hidden or shown using the corresponding item at the bottom of the main Windows menu. Selecting a window here makes it the active view. Note that hiding is not the same as closing and is solely for the purpose of managing screen space. It is also different from minimizing a window as no icon is visible for a hidden window.
The Show All and Show None items on the Windows=>Molecule Groups submenu display and hide windows for all model groups (respectively). The related Windows=>Minimize All, Windows=>Restore, and Windows=>Restore All menu items respectively minimize, open the active view, or open all minimized view windows (but not hidden ones). The Windows=>Close and Windows=>Close All items close the active window or all view windows (respectively).
The Windows=>Previous and Windows=>Next items (and the equivalent Previous and Next buttons) activate the previous or next window in sequence.
Finally, the Windows=>Cascade and Windows=>Tile menu items (and the equivalent Cascade and Tile buttons) arrange all windows in an overlapped pile or resize them and rearrange them on the screen so that the maximum number are simultaneously visible (all of them, if possible).
In this section, we will discuss operations related to molecules and molecule groups, including their storage in external files.
The Edit=>Cut and Edit=>Copy menu items and the corresponding Cut and Copy buttons can be used to cut or copy the entire structure in the current model to the system clipboard. Note that any atom selection within the model is ignored.
The Edit=>Delete Molecule menu item and the Delete Molecule button can be used to remove the structure in the current model, discarding it without copying it anywhere.
There are several options for pasting molecules from the clipboard. The Edit=>Paste menu item accesses a slideoff menu containing three items. These items can also be reached via the small downward pointing triangle on the Paste button. Clicking on the Paste icon itself (avoiding the triangle’s panel) selects the Replace Molecule item.
The items on the Paste submenu are:
On the Windows platform, files can be added to the current molecule group by dragging them from an Explorer window or other source and dropping them onto a view window. Dragging and dropping with the left mouse button will load the contents of each file and add it to the molecule group.
By default, file contents are placed as new molecules within the current molecule group. However, dragging and dropping multiple files with the right mouse button will open a context menu with these options:
The wording of the options differs slightly when only a single file is dragged, and the final option does not appear.
The File=>New menu item accesses a slideoff menu containing two items. The items on the New submenu are:
In both cases, the new view window is initially empty.
These items can also be reached via the small downward pointing triangle on the New button. Clicking on the New icon itself (avoiding the triangle’s panel) selects the Create Molecule Group item.
The File=>Open menu item and the Open button both bring up the Open File dialog. The format of this dialog follows the native form for the local computer, with the addition of some GaussView-specific fields which are illustrated in Figure 53.
Figure 53. GaussView Fields in the Open File Dialog
GaussView adds three fields and a checkbox to the standard Open File dialog provided by the operating system.
These additional items have the following meanings. The Files of Type popup is used to select the file type to open. It also acts as a filter selecting which files are displayed in the dialog’s file list. The file list will be limited to the files with the selected extension(s). Supported file types include:
All files may also be displayed if desired by selecting the All Files item.
The Open as popup is used to force an input file to be interpreted as the specified file type, regardless of the actual file extension. All supported file types except Gaussian cube files are available as choices here. The default is Auto, which identifies the file type by its extension alone.
The Target popup specifies where the read-in structure should be placed:
In general, only the first structure present in a file is input. Thus, only the structure in the first job step of Gaussian input files is retrieved. However, when selected, the Read intermediate geometries (optimization only) checkbox causes GaussView to retrieve all geometries that are present in some Gaussian results files as separate models within the designated target. This box applies to results files from geometry optimizations, IRC jobs, ADMP and BOMD trajectory calculations and potential energy surface scans: all jobs with an optimization component. It is not valid with the Append all files to active molecule choice.
The File=>Recent Files menu path contains a list of files that have been opened most recently. You can specify the number of items in the list with the Maximum Recent Files field in the File/Directory preferences. However, using these shortcuts always reads in only a single geometry from the specified file into a new model group, regardless of the current setting of the current settings in the Open File dialog or the method that was used to open the file on the previous occasion. The file list is saved across GaussView sessions.
The File=>Related Files menu path contains a list of openable files which are related to the active molecule (e.g., Gaussian output file, checkpoint file, and so on).
The File=>Refresh menu path reloads from the current molecule from its original file, centering and possibly reorienting the molecule. It is available only when the current molecule has not been modified.
Pressing the View File button or selecting the Results=>View File menu item opens the file which was opened for the current model, provided that the molecule has not been structurally modified in any way since it was opened. In the case of binary input files like Gaussian checkpoint files, the displayed file will be the one that was created automatically by GaussView with the formchk utility.
The File=>Save menu item and the Save button allow you to save the current model to an external file or set of files. These items use the system’s Save dialog, to which GaussView adds some additional fields (see Figure 54).
Figure 54. GaussView Fields in the Save File Dialog
GaussView adds several fields to the standard system Save dialog. Molecules can be written in several formats.
These fields have the following meanings:
Within a molecule group, the current model is saved. There is no way to save all of the molecules within a molecule group to a single file or to a group of files in a single operation.
Various options on the File and Edit menus, along with the corresponding buttons, can be used to print the contents of view windows and to save their graphical displays as image files.
The image in the active view window can be printed by selecting File=>Print or clicking on the Print button. The normal operating system Print dialog is then displayed.
Print output is also controlled by settings in the Print preferences, as shown in Figure 55. Settings in the print dialog have precedence over those in the preferences.
The default print operation increases the image resolution to match the printer resolution, up to a maximum factor of 4, and prints the image on a white background. Note that the image always prints at its current size (despite the wording of the second control). If you need to enlarge an image, use the Enlarge Width and Height instead (or in addition). A color image is produced unless Gray Scale is selected.
The Object Quality slider specifies the image quality. Moving the slider toward the Realistic end of the scale increases the file size and the time required to generate the image file. The maximum setting is recommended for publication quality images.
The remaining controls specify low-level graphics behavior. Generic Pixel Format says to use the system software renderer. This option should be checked only after rendering problems/failures have been encountered during image capture or printing. Use Pixel Buffers says to use OpenGL pixel buffers (may improve graphics performance in some implementations).
Figure 55. GaussView Print Preferences
This panel allows you to specify that printed images are always enlarged to match the printer resolution (subject to the maximum value in the Limit Enlargements to field) and/or that images always appear on a white background (vs. the background used in its view window), as well as other choices.
The Edit=>Image Capture menu path may be used to capture the image in the current view windows to the system clipboard (from which it may be pasted into another application). The File=>Save Image File menu item and the Save Image button allow you to save an image to an external file. They use the system Save dialog, with some additional fields as shown in Figure 56.
The Files of type field acts as usual as a filter determining what files are displayed in the file list. The Save as field specifies the kind of graphics file to be produced (by default, this is determined from file extension). The available files types are TIFF, JPEG, JPEG2, vector-based EPS, Windows Bitmap and PNG. In general, we recommend selecting TIFF for later high resolution printing and selecting JPEG or PNG for use on the web or in presentations.
Figure 56. GaussView Fields in the Save Image Dialog
These fields are added to the standard system Save dialog by GaussView when saving images.
The other GaussView fields in the dialog have the following meanings:
Both the image capture and image saving are subject to the settings in the Image preferences, shown in Figure 57. Settings in the Save dialog override those in the preferences.
The fields in this panel have the following meanings:
Figure 57. Image Capture Preferences
This panel allows you to set defaults for image captures. Preferences for Movies are similar.
The File=>Save Movie menu path and the Save Movie button save the various frames in the current molecule group as an animation. The menu path leads to a submenu, which can also be reached by clicking on the small triangle in the button. The submenu has the following selections:
The Movie preferences are similar to those for Images (see Figure 57 above).
The File/Directory preferences are illustrated in Figure 58. They allow you to specify the default locations for various kinds of GaussView-related files.
The Starting Directory popup allows you to select the following choices:
Figure 58. Specifying Default Directory Locations
This dialog allows you to specify default directory locations for file opens and saves, GaussView’s scratch directory and the custom fragment library. It also specifies how many files to include in the recent file list and whether to use filename completion within dialogs (if the operating system supports it).
The Scratch Directory popup, which specifies the location for temporary scratch files that GaussView uses in some cases, has the following choices:
On Windows systems, the Desktop section of the Preferences dialog allows you to set file associations: file extensions which will be associated with GaussView and for which the application will be opened automatically when such a file is opened. It is illustrated in Figure 59. Note that the file extensions are divided among two panels.
Figure 59. Specifying Windows File Associations
To create a file association between GaussView and the listed Gaussian file type, place a check mark in the associated box. Removing the check mark similarly removes the file association. The Scope fields specifies whether the file association is to affect only the current user or all users on the system.