Difference between revisions of "Eqmag.m"

From Spinach Documentation Wiki
Jump to: navigation, search
Line 21: Line 21:
  
 
==Notes==
 
==Notes==
−
The use of bas.formalism='zeeman-hilb' is obligatory.
+
The use of bas.formalism='zeeman-hilb' is obligatory. Spinach uses NMR convention for the exchange coupling: the exchange term in the Hamiltonian is 2*pi*J*(LxSx+LySy+LzSz) where J is in Hz.
  
 
==See also==
 
==See also==

Revision as of 11:09, 24 December 2017

Molar magnetization vector at the thermal equilibrium.

Syntax

    magn=eqmag(spin_system,parameters)

Description

Computes the molar magnetization vector at the thermal equilibrium at the temperature specified in inter.temperature and magnetic field specified in sys.magnet (assumed to be along the Z-axis), averaged over system orientations using the spherical grid specified.

Arguments

    parameters.grid - spherical grid for averaging

Outputs

    magn - molar magnetization vector [Mx My Mz] in [Na*mu_bohr]

Examples

See triple_dy_eqmag_field.m and triple_dy_eqmag_temp.m files in examples/giant_spin directory.

Notes

The use of bas.formalism='zeeman-hilb' is obligatory. Spinach uses NMR convention for the exchange coupling: the exchange term in the Hamiltonian is 2*pi*J*(LxSx+LySy+LzSz) where J is in Hz.

See also

fieldscan_magn.m, fieldscan_enlev.m, stev2sph.m, stevens.m, equilibrium.m,


Version 2.1, authors: Ilya Kuprov, Liza Suturina