Back to main menu

Mode: merge

Syntax

pikashu -merge <firstfile> <secondfile> <outputfile> [<formats>]

or

pikashu [<formats>] <outputfile> -merge <firstfile> <secondfile>

Description

This will read two files and merge them, i.e. output all atomic positions in the same output file. This can be usefull for instance when one builds two different systems (say, one fcc metal and one bcc) and then wants to build an interface between these two systems. The results are output in the specified <outputfile>.

Beware that pikashu does not "automagically" shift atomic positions, find the optimum interface or whatsoever. It is up to you to build, for instance, one system in one half of the supercell, the other system in the other half, and then use this mode to merge them.

If you want to quickly find the dimensions of the final system you can use the rebox option.

Examples

Back to main menu