merge_inp.m

From Spinach Documentation Wiki
Jump to: navigation, search

Merges multiple sys and inter structures into one. Useful for setting up chemical kinetics simulations where the molecules come from different DFT calculations.

Syntax

    [sys,inter]=merge_inp(sys_parts,inter_parts)

Arguments

   sys_parts   - a cell array of sys structures
                 to be merged

   inter_parts - a cell array of inter structures
                 to be merged

Outputs

   sys         - resulting sys structure
   inter       - resulting inter structure

Notes

Incomplete, an error is thrown for unhandled subfields, extend as appropriate.

See also

Spin system specification

Data import


Version 2.8, authors: Ilya Kuprov