viperleed.calc.files.displacements

Functions for reading and interpreting the DISPLACEMENTS file.

Functions

readDISPLACEMENTS(rp[, filename])

Reads the DISPLACEMENTS file to rp.disp_blocks without interpreting it.

readDISPLACEMENTS_block(rp, sl, dispblock[, ...])

Reads a block from the DISPLACEMENTS file and adds the information to all atoms in the slab.