seams_kinds Module

Numeric kinds for the Fortran API.

Kinds come from iso_fortran_env. The C entry points hand double and int buffers across iso_c_binding, so seams_real must be c_double and seams_int must be c_int. A mismatch would silently reinterpret memory. The assertions divide by zero in a constant expression, which a conforming compiler rejects.



Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: seams_real = real64

Working precision for coordinates, cutoffs, and order parameters.

integer, public, parameter :: seams_int = int32

Default integer kind for counts, labels, and the stat argument.