pikashu -merge <firstfile> <secondfile> <outputfile> [<formats>]
or
pikashu [<formats>] <outputfile> -merge <firstfile> <secondfile>
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.
pikashu -merge fccal_bottom.cfg bcciron_top.xsf interface.xyz xsf
This will merge the two files fccal_bottom.cfg
and bcciron_top.xsf
and output the result in interface.xyz
and interface.xsf
.