moyo_layer_group_new Interface

interface
public function moyo_layer_group_new(prim_rotations, prim_translations, num_operations, basis, setting, hall_number, epsilon) result(layer_group) bind(c, name="moyo_layer_group_new"))

Arguments

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

Return Value type(c_ptr)

Description

Identify the layer group from num_operations primitive layer-cell rotations and translations; returns a pointer to MoyoLayerGroup 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); hall_number is only used with MOYO_LAYER_SETTING_HALL_NUMBER.