moyo_point_group_new Interface

interface
public function moyo_point_group_new(prim_rotations, num_operations, basis) result(point_group) bind(c, name="moyo_point_group_new"))

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: prim_rotations
integer(kind=c_int32_t), value :: num_operations
type(c_ptr), value :: basis

Return Value type(c_ptr)

Description

Identify the point group of num_operations primitive rotations; returns a pointer to MoyoPointGroup or NULL on failure. prim_rotations points to the rotation matrices (e.g. ops%rotations or c_loc of an integer(c_int32_t) array whose (:, :, k) slices are the transposed matrices). Pass c_null_ptr as basis to assume an identity basis, or c_loc of a real(c_double) :: basis(3, 3) whose columns are the basis vectors.