Difference between revisions of "Cubic lattice.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Add NOTOC to Spinach function page header)
(Update function See also links and function index membership)
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
     [sys,inter]=cubic_lattice(isotope,spacing,n_periods)
 
     [sys,inter]=cubic_lattice(isotope,spacing,n_periods)
  
−
==Arguments==
+
==Parameters==
  
 
   isotope  - character string specifying the isotope,
 
   isotope  - character string specifying the isotope,
Line 24: Line 24:
  
 
==See also==
 
==See also==
−
[[g2spinach.m]], [[x2spinach.m]], [[oparse.m]]
+
[[g2spinach.m]], [[x2spinach.m]], [[oparse.m]], [[chemshifts.m]], [[dilute.m]], [[get_coupling.m]], [[gtensorof.m]], [[idxof.m]], [[iselectron.m]], [[isnucleus.m]], [[isoswap.m]], [[kill_spin.m]], [[nearest_spin.m]], [[shift_iso.m]], [[Kernel_utilities]]
  
 
''Version 2.1, authors: [[Ilya Kuprov]]''
 
''Version 2.1, authors: [[Ilya Kuprov]]''

Latest revision as of 18:35, 6 June 2026

Creates a periodic volume-centered cubic lattice with user-supplied parameters.

Syntax

    [sys,inter]=cubic_lattice(isotope,spacing,n_periods)

Parameters

  isotope   - character string specifying the isotope,
              for example, '13C'

  spacing   - lattice spacing in Angstroms

  n_periods - number of lattice periods in each of the
              three spatial dimensions

Outputs

  sys, inter - Spinach input data structures with the
               following fields set:

               sys.isotopes, inter.coordinates, inter.pbc

See also

g2spinach.m, x2spinach.m, oparse.m, chemshifts.m, dilute.m, get_coupling.m, gtensorof.m, idxof.m, iselectron.m, isnucleus.m, isoswap.m, kill_spin.m, nearest_spin.m, shift_iso.m, Kernel_utilities

Version 2.1, authors: Ilya Kuprov