spin_order

This keyword sets the maximum polynomial degree of primitive spin inputs.

Syntax

spin_order <order>

Parameters

The range is 1–4 and the default is 2. Order 2 includes spin vectors, squared magnitudes, and rank-2 spin tensors when permitted by spin_l_max. Order 4 also includes cubic and quartic spin inputs.

This is not an upper bound on the polynomial degree or body order of the energy: squared tensor norms and the nonlinear fitting network combine these inputs. See Magnetic descriptor.

Output

None.

Examples

spin_order 2

Notes

None.