Thin iso_c_binding image of include/seams.h.
Every procedure is bind(C) to the C symbol of the same name,
except the string helpers at the bottom, which only pack Fortran
strings. Lengths that the C header types as size_t stay
integer(c_size_t). A null pointer is c_null_ptr. This module
does not allocate result arrays and does not own handles: the
caller creates, sizes, and destroys them. The seams module is
the Fortran API.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer(kind=c_int), | public, | parameter | :: | SEAMS_OK | = | 0 |
The call succeeded. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_NULL | = | 1 |
A required pointer is null. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_RANGE | = | 2 |
A number is outside the accepted range. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_BOX | = | 3 |
The cell is missing or has no volume. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_ARG | = | 4 |
A caller argument is the wrong shape. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_STATE | = | 5 |
The handle has no frame yet. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_NOMEM | = | 6 |
An allocation failed. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_ERR_INTERNAL | = | 7 |
The library hit an internal failure. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_CHILL_PUBLISHED | = | 0 |
CHILL+ rule from Nguyen and Molinero, 2015. Inclusive c_ij edges. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_CHILL_OVITO | = | 1 |
CHILL+ rule used by OVITO. The same thresholds, open edges. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_GRAPH_CUTOFF | = | 0 |
Neighbour graph of every pair inside the cutoff. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_GRAPH_MUTUAL | = | 1 |
Mutual four-nearest neighbour graph. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_GRAPH_SEEDED | = | 2 |
Cage graph: mutual seeds and union completions. |
| integer(kind=c_int), | public, | parameter | :: | SEAMS_LABEL_CUBIC | = | 0 |
CHILL+ cubic-ice label. |
Version text, for example 2.14.0. The pointer is static; the caller does not free it.
Thread-local detail of the last failing call on this thread. Never NULL.
Set the OpenMP team used by later analysis. Zero restores the saved default.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | value | :: | n |
Team width the next analysis call will request.
Allocate an empty frame. NULL means allocation failed.
Store points and an orthorhombic cell. types and ids may be c_null_ptr.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | intent(in) | :: | xyz(*) | |||
| integer(kind=c_int), | value | :: | n | |||
| real(kind=c_double), | value | :: | ox | |||
| real(kind=c_double), | value | :: | oy | |||
| real(kind=c_double), | value | :: | oz | |||
| real(kind=c_double), | value | :: | lx | |||
| real(kind=c_double), | value | :: | ly | |||
| real(kind=c_double), | value | :: | lz | |||
| type(c_ptr), | value | :: | types | |||
| type(c_ptr), | value | :: | ids |
Store points and a nine-number LAMMPS cell.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | intent(in) | :: | xyz(*) | |||
| integer(kind=c_int), | value | :: | n | |||
| real(kind=c_double), | intent(in) | :: | box9(*) | |||
| type(c_ptr), | value | :: | types | |||
| type(c_ptr), | value | :: | ids |
CHILL+ labels and nine population counts. counts is label order, 1-based in Fortran.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| integer(kind=c_int), | value | :: | rule | |||
| integer(kind=c_int), | intent(out) | :: | labels(*) | |||
| integer(kind=c_int), | intent(out) | :: | counts(*) |
Local q4 and q6 on the cutoff shell.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| real(kind=c_double), | intent(out) | :: | q4(*) | |||
| real(kind=c_double), | intent(out) | :: | q6(*) |
Build a cutoff or mutual neighbour list. out receives the handle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| type(c_ptr), | intent(out) | :: | out |
Borrow the neighbour CSR. The pointers are owned by the handle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | nb | |||
| type(c_ptr), | intent(out) | :: | offsets | |||
| integer(kind=c_int), | intent(out) | :: | n_offsets | |||
| type(c_ptr), | intent(out) | :: | cols | |||
| integer(kind=c_int), | intent(out) | :: | nnz |
Primitive rings up to max_depth. out receives the handle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| integer(kind=c_int), | value | :: | max_depth | |||
| type(c_ptr), | intent(out) | :: | out |
Count rings by size. counts(k) is the number of rings of size k-1 when the array is 1-based; a 0-based array stores size k at index k.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings | |||
| integer(kind=c_int), | intent(out) | :: | counts(*) | |||
| integer(kind=c_int), | value | :: | counts_len |
Fraction of atoms that sit on a ring. size 0 counts every ring.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings | |||
| integer(kind=c_int), | value | :: | size | |||
| real(kind=c_double), | intent(out) | :: | fraction |
Detail string stored on a handle. Survives a later call on another handle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | handle |
Number of points in the frame, or 0 when the handle is empty.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys |
Read one 1-based frame. type_filter negative keeps every atom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(kind=c_char, len=1), | intent(in) | :: | path(*) | |||
| integer(kind=c_int), | value | :: | frame | |||
| integer(kind=c_int), | value | :: | type_filter |
Original CHILL labels. labels_len is at least the frame count.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| integer(kind=c_int), | value | :: | rule | |||
| integer(kind=c_int), | intent(out) | :: | labels(*) | |||
| integer(kind=c_size_t), | value | :: | labels_len | |||
| integer(kind=c_int), | intent(out) | :: | counts(*) |
Local q_l and the Lechner-Dellago average on the cutoff shell.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | order_l | |||
| real(kind=c_double), | intent(out) | :: | ql(*) | |||
| integer(kind=c_size_t), | value | :: | ql_len | |||
| real(kind=c_double), | intent(out) | :: | qlbar(*) | |||
| integer(kind=c_size_t), | value | :: | qlbar_len |
Hexagonal and double-diamond cage membership.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| integer(kind=c_int), | value | :: | k | |||
| integer(kind=c_int), | value | :: | complete | |||
| type(c_ptr), | intent(out) | :: | out |
Disjoint cage population counts. The four counts sum to the atoms the search kept.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | cages | |||
| integer(kind=c_int), | intent(out) | :: | n_hex | |||
| integer(kind=c_int), | intent(out) | :: | n_cubic | |||
| integer(kind=c_int), | intent(out) | :: | n_water | |||
| integer(kind=c_int), | intent(out) | :: | n_both |
Closed cages whose ring census matches spec, for example 512.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | graph | |||
| character(kind=c_char, len=1), | intent(in) | :: | spec(*) | |||
| integer(kind=c_size_t), | intent(out) | :: | n_cages | |||
| integer(kind=c_size_t), | intent(out) | :: | n_atoms |
k-nearest neighbour list. mutual nonzero keeps the mutual graph.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| integer(kind=c_int), | value | :: | k | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | mutual | |||
| type(c_ptr), | intent(out) | :: | out |
Partial radial distribution. A null column queries the length.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | rmax | |||
| integer(kind=c_int), | value | :: | bins | |||
| integer(kind=c_int), | value | :: | type_i | |||
| integer(kind=c_int), | value | :: | type_j | |||
| type(c_ptr), | value | :: | r | |||
| type(c_ptr), | value | :: | g | |||
| type(c_ptr), | value | :: | count | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out | |||
| type(c_ptr), | value | :: | volume |
Running coordination number along the partial RDF.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | rmax | |||
| integer(kind=c_int), | value | :: | bins | |||
| integer(kind=c_int), | value | :: | type_i | |||
| integer(kind=c_int), | value | :: | type_j | |||
| type(c_ptr), | value | :: | r | |||
| type(c_ptr), | value | :: | cn | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Coordination number integrated to rmax.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | rmax | |||
| integer(kind=c_int), | value | :: | bins | |||
| integer(kind=c_int), | value | :: | type_i | |||
| integer(kind=c_int), | value | :: | type_j | |||
| real(kind=c_double), | intent(out) | :: | cn |
Hydrogen-bond count. dist_cutoff is angstrom and angle_cutoff is degrees.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | oxygen_type | |||
| integer(kind=c_int), | value | :: | hydrogen_type | |||
| real(kind=c_double), | value | :: | dist_cutoff | |||
| real(kind=c_double), | value | :: | angle_cutoff | |||
| integer(kind=c_int), | intent(out) | :: | n_bonds |
Number density along one cell axis. axis is 0, 1, or 2.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | bins | |||
| integer(kind=c_int), | value | :: | axis | |||
| type(c_ptr), | value | :: | z | |||
| type(c_ptr), | value | :: | rho | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Topological fingerprint of the bonded graph.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | k | |||
| integer(kind=c_int), | value | :: | graph | |||
| integer(kind=c_int), | value | :: | hops | |||
| integer(kind=c_int), | value | :: | color_types | |||
| type(c_ptr), | intent(out) | :: | out |
Frame key text. A null buffer queries the length without the terminating NUL.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | fp | |||
| type(c_ptr), | value | :: | buf | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Primitive-ring census stored on the fingerprint. counts(k) is size k for a 0-based buffer.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | fp | |||
| integer(kind=c_int), | intent(out) | :: | counts(*) | |||
| integer(kind=c_size_t), | value | :: | counts_len |
Mutual nearest unlike contacts of a site table.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(kind=c_char, len=1), | intent(in) | :: | spec(*) | |||
| integer(kind=c_size_t), | intent(out) | :: | n_pairs | |||
| integer(kind=c_int), | intent(out) | :: | n_cation | |||
| integer(kind=c_int), | intent(out) | :: | n_anion |
Largest polar or apolar domain. subset 0 is apolar and 1 is polar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| character(kind=c_char, len=1), | intent(in) | :: | spec(*) | |||
| integer(kind=c_int), | value | :: | subset | |||
| integer(kind=c_int), | intent(out) | :: | n_subset | |||
| integer(kind=c_int), | intent(out) | :: | largest | |||
| real(kind=c_double), | intent(out) | :: | percolation |
Perfect and imperfect prism counts by ring size.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | intent(out) | :: | perfect(*) | |||
| integer(kind=c_int), | intent(out) | :: | imperfect(*) | |||
| integer(kind=c_size_t), | value | :: | len |
Primitive-ring histogram of a monolayer.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | max_depth | |||
| real(kind=c_double), | value | :: | sheet_area | |||
| integer(kind=c_int), | intent(out) | :: | counts(*) | |||
| integer(kind=c_size_t), | value | :: | counts_len |
Number of primitive rings.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings |
Atom indices of one ring. index is 0-based. A null buffer queries the length.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings | |||
| integer(kind=c_int), | value | :: | index | |||
| integer(kind=c_int), | intent(out) | :: | atoms(*) | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Per-atom site kind from a site-table spec.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(kind=c_char, len=1), | intent(in) | :: | spec(*) | |||
| integer(kind=c_int), | intent(out) | :: | kinds(*) | |||
| integer(kind=c_size_t), | value | :: | len |
ABI number compiled into this library. It is 1.
Packed release number, (major << 16) | (minor << 8) | patch.
Major version.
Minor version.
Patch version.
Short name of a status code. The pointer is static.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | value | :: | status |
Name of a CHILL label. Unknown codes return “unknown”.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | value | :: | label |
Name of a ring-symmetry code.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer(kind=c_int), | value | :: | symmetry |
Store points and a cell. n and box_len are size_t. box_len must be 9.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | intent(in) | :: | xyz(*) | |||
| integer(kind=c_size_t), | value | :: | n | |||
| real(kind=c_double), | intent(in) | :: | box9(*) | |||
| integer(kind=c_size_t), | value | :: | box_len | |||
| type(c_ptr), | value | :: | types | |||
| type(c_ptr), | value | :: | ids |
Number of frames in a trajectory path.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(kind=c_char, len=1), | intent(in) | :: | path(*) | |||
| integer(kind=c_size_t), | intent(out) | :: | nframes |
Number of neighbour rows.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | nb |
Copy the neighbour CSR into caller buffers. A null buffer queries the length.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | nb | |||
| type(c_ptr), | value | :: | offsets | |||
| integer(kind=c_size_t), | value | :: | offsets_cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_offsets | |||
| type(c_ptr), | value | :: | cols | |||
| integer(kind=c_size_t), | value | :: | cols_cap | |||
| integer(kind=c_size_t), | intent(out) | :: | nnz |
Local q_l and, on request, its neighbour average.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| integer(kind=c_int), | value | :: | order_l | |||
| integer(kind=c_int), | value | :: | graph | |||
| type(c_ptr), | value | :: | ql | |||
| integer(kind=c_size_t), | value | :: | ql_len | |||
| type(c_ptr), | value | :: | qlbar | |||
| integer(kind=c_size_t), | value | :: | qlbar_len |
Lechner-Dellago q6-bar and the ice count above ice_cut.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | cutoff | |||
| integer(kind=c_int), | value | :: | typ | |||
| real(kind=c_double), | value | :: | ice_cut | |||
| type(c_ptr), | value | :: | q6bar | |||
| integer(kind=c_size_t), | value | :: | q6bar_len | |||
| type(c_ptr), | value | :: | mean | |||
| type(c_ptr), | value | :: | median | |||
| type(c_ptr), | value | :: | n_ice |
Size and symmetry of each ring. Either pointer may be c_null_ptr, not both.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings | |||
| type(c_ptr), | value | :: | sizes | |||
| type(c_ptr), | value | :: | symmetry |
Per-atom cage code. len is at least the frame count stored on the handle.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | cages | |||
| integer(kind=c_int), | intent(out) | :: | per_atom(*) | |||
| integer(kind=c_size_t), | value | :: | len |
Per-atom ice shell label. A non-positive shell_rmsd selects the library ceiling.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| real(kind=c_double), | value | :: | shell_rmsd | |||
| integer(kind=c_int), | intent(out) | :: | labels(*) | |||
| integer(kind=c_size_t), | value | :: | labels_len |
Planar ice front. ice(i) nonzero means atom i is ice.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| integer(kind=c_int), | intent(in) | :: | ice(*) | |||
| integer(kind=c_size_t), | value | :: | n_ice | |||
| integer(kind=c_int), | value | :: | water_type | |||
| integer(kind=c_int), | value | :: | ion_type | |||
| integer(kind=c_int), | value | :: | n_bins | |||
| integer(kind=c_int), | value | :: | axis | |||
| type(c_ptr), | intent(out) | :: | out |
The two planar crossings of the ice slab. Lengths are angstrom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | front | |||
| type(c_ptr), | value | :: | z_enter | |||
| type(c_ptr), | value | :: | z_exit | |||
| type(c_ptr), | value | :: | thickness | |||
| type(c_ptr), | value | :: | found |
Molal rejection coefficient k = c_ice / c_liquid.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | front | |||
| type(c_ptr), | value | :: | c_ice | |||
| type(c_ptr), | value | :: | c_liquid | |||
| type(c_ptr), | value | :: | k | |||
| type(c_ptr), | value | :: | defined |
Concentration profile. A null column is skipped. cap is the capacity of each column.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | front | |||
| type(c_ptr), | value | :: | z_mid | |||
| type(c_ptr), | value | :: | molality | |||
| type(c_ptr), | value | :: | ice_fraction | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Brine pockets trapped in the ice, excluding the liquid reservoir.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | front | |||
| type(c_ptr), | value | :: | n_pockets | |||
| type(c_ptr), | value | :: | reservoir_waters |
Local key of one atom. Same buffer rule as seams_fingerprint_key.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | fp | |||
| integer(kind=c_int), | value | :: | index | |||
| type(c_ptr), | value | :: | buf | |||
| integer(kind=c_size_t), | value | :: | cap | |||
| integer(kind=c_size_t), | intent(out) | :: | n_out |
Free a frame. NULL is ignored. Neighbour and ring handles keep their own copies.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys |
Free a neighbour list. NULL is ignored.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | nb |
Free a ring set. NULL is ignored.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | rings |
Free a cage-membership handle. NULL is ignored.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | cages |
Free a fingerprint. NULL is ignored.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | fp |
Free a brine-front handle. NULL is ignored.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | front |
Copy a Fortran string into a NUL-terminated C buffer.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | text |
Read one frame. path is a Fortran string.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(len=*), | intent(in) | :: | path | |||
| integer, | intent(in) | :: | frame | |||
| integer, | intent(in) | :: | type_filter |
Count cages of spec on the cutoff graph at 3.5 angstrom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(len=*), | intent(in) | :: | spec | |||
| integer(kind=c_size_t), | intent(out) | :: | n_cages | |||
| integer(kind=c_size_t), | intent(out) | :: | n_atoms |
Per-atom site kinds for spec.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(len=*), | intent(in) | :: | spec | |||
| integer(kind=c_int), | intent(out) | :: | kinds(*) | |||
| integer(kind=c_size_t), | value | :: | n |
Contact-pair census for spec.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(len=*), | intent(in) | :: | spec | |||
| integer(kind=c_size_t), | intent(out) | :: | n_pairs | |||
| integer(kind=c_int), | intent(out) | :: | n_cation | |||
| integer(kind=c_int), | intent(out) | :: | n_anion |
Apolar domain size for spec at 3.5 angstrom.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(c_ptr), | value | :: | sys | |||
| character(len=*), | intent(in) | :: | spec | |||
| integer(kind=c_int), | intent(out) | :: | n_subset | |||
| integer(kind=c_int), | intent(out) | :: | largest | |||
| real(kind=c_double), | intent(out) | :: | percolation |