|
seams-core v2.14.0
libyodaLib, the C++ engine of d-SEAMS
|
Version, names, error strings, and the thread team. More...
Functions | |
| SEAMS_API int | seams_abi (void) |
| ABI number compiled into this library. | |
| SEAMS_API int | seams_version (void) |
| Packed release number. | |
| SEAMS_API int | seams_version_major (void) |
| Major version of the library at run time. | |
| SEAMS_API int | seams_version_minor (void) |
| Minor version of the library at run time. | |
| SEAMS_API int | seams_version_patch (void) |
| Patch version of the library at run time. | |
| SEAMS_API const char * | seams_version_string (void) |
| Version text, for example "2.14.0". | |
| SEAMS_API const char * | seams_status_string (seams_status status) |
| Short name of a status code. | |
| SEAMS_API const char * | seams_last_error (void) |
| Thread-local detail of the last failing call on this thread. | |
| SEAMS_API const char * | seams_handle_error (const void *handle) |
| Detail string stored on a handle. | |
| SEAMS_API const char * | seams_label_name (int label) |
| Name of a CHILL label. | |
| SEAMS_API const char * | seams_ring_symmetry_name (int symmetry) |
| Name of a ring-symmetry code. | |
| SEAMS_API seams_status | seams_set_num_threads (int n) |
| Set the OpenMP team used by later analysis calls. | |
| SEAMS_API int | seams_get_num_threads (void) |
| Team width the next analysis call will request. | |
Version, names, error strings, and the thread team.
| SEAMS_API int seams_abi | ( | void | ) |
ABI number compiled into this library.
| SEAMS_API int seams_get_num_threads | ( | void | ) |
Team width the next analysis call will request.
| SEAMS_API const char * seams_handle_error | ( | const void * | handle | ) |
Detail string stored on a handle.
| handle | A seams_system, seams_neighbours, seams_rings, seams_cage_set, seams_topo, or seams_brine, or NULL. |
A call taking the handle non-const clears the string on entry. A call taking it const writes the string only when it fails, so after a successful const call the string still holds the last failure.
| SEAMS_API const char * seams_label_name | ( | int | label | ) |
Name of a CHILL label.
| label | A seams_label value. |
| SEAMS_API const char * seams_last_error | ( | void | ) |
Thread-local detail of the last failing call on this thread.
ABI 1 spelling of seams_last_error_message(). Both return the same string.
| SEAMS_API const char * seams_ring_symmetry_name | ( | int | symmetry | ) |
Name of a ring-symmetry code.
| symmetry | A seams_ring_symmetry value. |
| SEAMS_API seams_status seams_set_num_threads | ( | int | n | ) |
Set the OpenMP team used by later analysis calls.
| n | Positive width, or 0 to restore the width captured at first use. A negative width is rejected. |
| SEAMS_API const char * seams_status_string | ( | seams_status | status | ) |
Short name of a status code.
| status | A seams_status value. |
| SEAMS_API int seams_version | ( | void | ) |
Packed release number.
| SEAMS_API int seams_version_major | ( | void | ) |
Major version of the library at run time.
| SEAMS_API int seams_version_minor | ( | void | ) |
Minor version of the library at run time.
| SEAMS_API int seams_version_patch | ( | void | ) |
Patch version of the library at run time.
| SEAMS_API const char * seams_version_string | ( | void | ) |
Version text, for example "2.14.0".