# Create Interpolated Sets¶

This tutorial page explains how to create an interpolated set, necessary for the calculation of the energy profile and activation barrier for the multi-dimensional energy space of chemical reactions via the Nudged Elastic Bands (NEB) method, which is reviewed in a separate tutorial.

We consider the example of a one-dimensional, three-atom molecule of Hydrogen (H3) throughout the present tutorial.

## Upload Initial and Final Images to Materials Collection¶

The datafiles containing the structural information about the initial and final states of the H3 molecule under consideration should first be uploaded to the account-owned collection of materials.

For the sake of the present tutorial, we will consider the following two POSCAR files, containing the structural parameters for the initial and final molecular configurations respectively:

  1 2 3 4 5 6 7 8 9 10 11 initial 1.0 6.350127000 0.000000000 0.000000000 0.000000000 2.645886000 0.000000000 0.000000000 0.000000000 2.645886000 H 3 direct 0.619441600 0.000000000 0.000000000 H 0.000000000 0.000000000 0.000000000 H 0.129813900 0.000000000 0.000000000 H 
  1 2 3 4 5 6 7 8 9 10 11 final 1.0 6.350127000 0.000000000 0.000000000 0.000000000 2.645886000 0.000000000 0.000000000 0.000000000 2.645886000 H 3 direct 0.870186100 0.000000000 0.000000000 H 0.000000000 0.000000000 0.000000000 H 0.380558400 0.000000000 0.000000000 H 

## Create an Interpolated Set via Materials Designer¶

### Open Materials Designer and Import Initial/Final Configurations¶

The user should now open an instance of the Materials Designer Interface, through which we aim to create our Interpolated Set in between the above-mentioned initial and final configurations of the H3 molecule.

The first step consists in importing these two configurations into the interface by following these instructions. It is essential then to clone both initial and final images before generating the interpolated set, as well as to delete the original structures from the left-hand items list sidebar of the Materials Designer Interface, for a correct final attribution of the indices within the resulting ordered set.

### Generate Interpolated Set¶

Before creating a new interpolated set, the user should make sure that the active structure selected on the left-hand items list sidebar is the initial one, and not final. This ensures that the intermediate images will be correctly injected between the initial and final ones at the moment of creation of the new interpolated set.

The Interpolated Set itself can be generated via the corresponding option within the Advanced Menu of the header bar.

In the resulting "Generate Interpolated Set" dialog, the user is able to select the total number of intermediate images that need to be generated, which we select to be 3 for the sake of the present demonstrative explanation.

Atomic Constraints, specifying the constraints on the movement of atoms, can be also be defined as explained in this page.

These constraints need only be added to the initial image before the creation of the interpolated set, under the basis panel of the source editor in Materials Designer. Later, once the interpolated set is generated, the same constraints will be applied automatically to all other intermediate images.

Adding atomic constraints in this way can help to make the ensuing NEB calculation more computationally efficient.

### Inspect Intermediate Images¶

The user should now be able to inspect the structures for all the resulting intermediate images, which are listed together with the previously-imported initial and final molecular configurations within the left-hand items list sidebar of the Materials Designer Interface.

These images can be visualized and cycled through with the help of the incorporated 3D structure editor.

## Save all Images in NEB SET¶

Finally, all generated images should now be saved into an ordered set called "NEB SET", which can be created as explained in what follows. The creation and selection of sets in which to save images is made possible by the appropriate option of the "Save Items" dialog.

### Create an Ordered SET¶

These instructions demonstrate how to create a Set within the account-owned collection of materials, which we shall name and refer to as "NEB SET". Following its creation, the type of this set should then be changed to ordered.

## Animations¶

### General Interpolated Set Creation¶

We summarize the aforementioned steps involved in generating an Interpolated Set for our linear H3 molecule in the animation below. We conclude the video by inspecting the full list of images, including the initial and final molecular configurations, under the Explorer Interface of the newly-created "NEB SET".

### Constrained Interpolated Set Creation¶

In this second animation, we demonstrate how to add the atomic constraints discussed previously into a new "Constrained" Interpolated Set for NEB applications, confining the movement of atoms to only the x-direction since our H3 molecules are entirely one-dimensional. This is done by adding the "1 0 0" line next to the atoms in the initial image, except for the atom located at the origin, for which a "0 0 0" constraint suffices since this this atom remains fixed at all times.