moyo_magnetic_space_group_new Interface

interface
public function moyo_magnetic_space_group_new(prim_rotations, prim_translations, prim_time_reversals, num_operations, basis, epsilon) result(magnetic_space_group) bind(c, name="moyo_magnetic_space_group_new"))

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: prim_rotations
type(c_ptr), value :: prim_translations
type(c_ptr), value :: prim_time_reversals
integer(kind=c_int32_t), value :: num_operations
type(c_ptr), value :: basis
real(kind=c_double), value :: epsilon

Return Value type(c_ptr)

Description

Identify the magnetic space group from num_operations primitive magnetic operations; returns a pointer to MoyoMagneticSpaceGroup or NULL on failure. Pass c_null_ptr as basis to assume an identity basis and a negative epsilon to use the default tolerance (1e-4).