HiveBoard Docs Search the docs… Ctrl K Get HiveBoard
Browse the help centre
  1. Help centre
  2. One job, opened

The Structure tab

The Structure tab draws a job's geometry in 3-D: the latest step, a trajectory or a NEB path, with playback, view options and the file it came from.

4 min read HiveBoard 0.1.7 Updated Reading your calculations · lesson 5 of 12

In short

  • The tab shows the latest geometry, a relaxation or MD trajectory, or a NEB path image by image, and opens on the last step.
  • Under the picture are play and pause, a step slider, a 0.5×–4× speed control and More, which holds Smooth motion and Save as video.
  • View options set the drawing style, the unit cell, how atoms at the cell boundary are treated, periodic images, the axes and auto-rotate.
  • The view is read-only; nothing you do in it changes a file.
Interactive walkthrough · 12 steps

The structure, and measuring it

The 3-D view of a running relaxation: play it, set how it is drawn, then click atoms for a bond length and an angle that follow the playback.

Start it

The Structure tab draws the job’s atoms in 3-D. Depending on the job it shows the latest geometry, the trajectory of a relaxation or a molecular dynamics run, or a NEB path image by image. It opens on the last step, so the first thing you see is where the job is now.

The view is read-only. Nothing you do in it changes a file on the server.

What it shows

Each code says which of its files hold geometry, and HiveBoard reads the first that has atoms in it. A few examples:

CodeWhat the tab shows
VASPXDATCAR as a trajectory, else CONTCAR
VASP NEBOne frame per image folder
ORCAThe _trj.xyz trajectory of an optimisation
OthersTheir engine’s geometry files

For VASP, at most the last 40 ionic steps of XDATCAR are played. Under the picture, the Source line names what was read, the number of atoms and steps, and (transitions smoothed) when there is more than one step:

Source: XDATCAR trajectory (last 23 steps) · 14 atoms · 23 steps (transitions smoothed)

For a molecule with no periodic cell, the line adds molecule (no periodic cell). Above it is a legend of the elements, in the colours the picture uses.

The geometry is read when you open the tab. It is not read again while you watch: to see steps written since, open another tab and come back.

A job that has not started, or a running job whose folder still holds an earlier run’s files, is labelled above the picture. See Queued jobs and reused folders.

Playing a trajectory

When there is more than one step, a play bar sits under the picture:

  • Play and Pause. Playback runs through the steps and starts again from the first.
  • The step slider, with the step shown beside it, such as step 23 of 23.
  • The speed: 0.5×, 1×, 2× or 4×. At 1× each step takes 0.6 seconds.
  • More (the three dots), which holds Smooth motion and Save as video.

Smooth motion

Real steps are far apart, so HiveBoard draws in-between frames from one step to the next. With Smooth motion on (the default), each atom’s path curves through the whole trajectory (a Catmull-Rom spline); off, it moves in straight lines between steps. Either way the in-between frames take the periodic cell into account, so an atom that crosses a face glides across it rather than streaking through the box. The in-between frames are drawn, not computed by your code: only the steps themselves are the calculation’s.

Save as video records the trajectory as it plays here.

Moving the camera

  • Drag to rotate.
  • Ctrl-drag to pan.
  • Scroll to zoom.
  • Reset the view, one of the two buttons in the top-left corner of the picture, recentres and fits the structure, and stops auto-rotate.

View options

The other corner button, View options, holds the settings you set once and leave:

OptionWhat it doesDefault
DrawingBall and stick, Space filling or SticksBall and stick
Unit cellDraws the box the structure repeats inOn
At the cell boundaryRepaired, Original or ClippedRepaired
Periodic imagesShows atoms that cross a face on both sidesOn
AxesA corner triad; click an axis to look down itOn
Auto-rotateTurns the camera, not the atomsOff

Unit cell, At the cell boundary and Periodic images appear only for a structure with a periodic cell. Periodic images works only with Repaired.

This browser remembers Smooth motion, At the cell boundary, Periodic images and Axes. The drawing style and auto-rotate start afresh each time you open the tab.

At the cell boundary

  • Repaired — molecules are kept whole; atoms that stick out of the box are drawn paler. A molecule that crosses a face stays in one piece, and a slab stays as the file wrote it.
  • Original — no boundary treatment: atoms may sit outside the box, and during a trajectory an atom that crosses a face carries on outside it.
  • Clipped — every atom is wrapped into the box. A molecule that straddles a face is shown split.

None of these changes the atoms’ positions in the file. They only decide where in the repeating lattice each atom is drawn.

Measuring

Click an atom to read its position, two for a distance, three for an angle. The readout follows playback. See Measuring atoms.

When there is nothing to show

If the folder holds no geometry the code’s engine knows, the tab says No structure to show, names the files it looked for, and offers Open Files.

To edit a geometry, download it from the Files tab and open it in a structure editor. HiveBoard never edits a job’s geometry in place.

Check yourself

2 quick questions on this page. Nothing is sent anywhere.

  1. What does Repaired do at the cell boundary?

    • Keeps molecules whole and fades atoms outside the box
    • Wraps every atom into the box, even if a molecule splits
    • Shows the coordinates exactly as the file wrote them
    • Moves atoms back to where they were in POSCAR
    Show the answer

    Keeps molecules whole and fades atoms outside the box Repaired keeps molecules whole and draws atoms that stick out of the box paler; Clipped wraps every atom in, and Original shows them as written.

  2. A relaxation keeps running while the Structure tab is open. How do you see the steps it has added?

    • Open another tab and come back to Structure
    • Wait 15 seconds; the picture updates by itself
    • Press Reset the view
    • Turn Smooth motion off and on
    Show the answer

    Open another tab and come back to Structure The geometry is read when you open the tab; it is not read again on the 15-second refresh.

Try it in the app

On your own computer, with HiveBoard open. Tick them off as you go.

Lesson 5 of 12 in Reading your calculations Next lesson: Measuring atoms

Written for HiveBoard 0.1.7, the version on the download page. Examples use a made-up cluster (Ember) and person (zoe). Something here not what you see? Report it from the app.

↑ ↓ to moveEnter to openEsc to close