| DVS_DLL_EXPORT dvs_ret | dvs_connect (int32_t server_id, enum dvs_client_flags flags, const char *secret, int32_t *session_id) Connect to dvs server. |
| DVS_DLL_EXPORT dvs_ret | dvs_register_log_func (int32_t session_id, void *user_data, dvs_log_func func, enum dvs_log_flags flags) Register logging function for client to call (optional but recommended) |
| DVS_DLL_EXPORT const char * | dvs_get_version () Get the current version of the built library. |
| DVS_DLL_EXPORT dvs_ret | dvs_begin_init (int32_t session_id, const char *dataset_name, uint32_t current_rank, uint32_t total_ranks, uint32_t num_chunks) begin setup of rank |
| DVS_DLL_EXPORT dvs_ret | dvs_set_unit_system (int32_t session_id, const char *system) Set a unit system (optional but recommended) |
| DVS_DLL_EXPORT dvs_ret | dvs_add_metadata (int32_t session_id, const char *const metadata_keys[], const char *const metadata_vals[], uint32_t num_metadata_pairs) Add metadata for the current dataset. |
| DVS_DLL_EXPORT dvs_ret | dvs_add_part_info (int32_t session_id, const struct dvs_part_info *parts, uint32_t num_parts) Add part info for simulation. |
| DVS_DLL_EXPORT dvs_ret | dvs_add_var_info (int32_t session_id, const struct dvs_var_info *vars, uint32_t num_vars) Add var info for simulation. |
| DVS_DLL_EXPORT dvs_ret | dvs_add_plot_info (int32_t session_id, const struct dvs_plot_info *plots, uint32_t num_plots) Add plot info for simulation. |
| DVS_DLL_EXPORT uint32_t | dvs_get_num_part_info (int32_t session_id) Get the number of dvs_part_info objects for this client session. |
| DVS_DLL_EXPORT uint32_t | dvs_get_num_var_info (int32_t session_id) Get the number of dvs_var_info objects for this client session. |
| DVS_DLL_EXPORT uint32_t | dvs_get_num_plot_info (int32_t session_id) Get the number of dvs_plot_info objects for this client session. |
| DVS_DLL_EXPORT const struct dvs_part_info * | dvs_get_part_info (int32_t session_id, uint32_t index) Get the dvs_part_info object for this index. |
| DVS_DLL_EXPORT dvs_ret | dvs_get_part_id (int32_t session_id, const char *name, uint32_t *id) Get the ID being used by the client for the named part. |
| DVS_DLL_EXPORT const struct dvs_var_info * | dvs_get_var_info (int32_t session_id, uint32_t index) Get the dvs_var_info object for this index. |
| DVS_DLL_EXPORT dvs_ret | dvs_get_var_id (int32_t session_id, const char *name, uint32_t *id) Get the ID being used by the client for the named var. |
| DVS_DLL_EXPORT const struct dvs_plot_info * | dvs_get_plot_info (int32_t session_id, uint32_t index) Get the dvs_plot_info object for this index. |
| DVS_DLL_EXPORT dvs_ret | dvs_get_plot_id (int32_t session_id, const char *name, uint32_t *id) Get the ID being used by the client for the named plot. |
| DVS_DLL_EXPORT dvs_ret | dvs_end_init (int32_t session_id) end the initialization of the rank |
| DVS_DLL_EXPORT dvs_ret | dvs_begin_update (int32_t session_id, uint32_t update_num, uint32_t rank, uint32_t chunk, float time) Method to begin an update. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_copy_previous_part (int32_t session_id, uint32_t part_id, const char *options) Copy data from the previous timestep before applying other data. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_nodes (int32_t session_id, uint32_t part_id, const float *x, const float *y, const float *z, uint32_t num_values) Update nodes for a specific part. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_nodes_parallelepiped (int32_t session_id, uint32_t part_id, const uint32_t global_ijk_max[3], const uint32_t local_ijk_min[3], const uint32_t local_ijk_max[3], const float origin[3], const float dir_i[3], const float dir_j[3], const float dir_k[3], const float *i_vals, const float *j_vals, const float *k_vals) Update the nodes for a parallelepiped structured part. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_nodes_curvilinear (int32_t session_id, uint32_t part_id, const uint32_t global_ijk_max[3], const uint32_t local_ijk_min[3], const uint32_t local_ijk_max[3], const float *x_vals, const float *y_vals, const float *z_vals) Update the nodes for a curvilinear structured part. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_elements (int32_t session_id, uint32_t part_id, enum dvs_element_type type, const uint32_t *indices, uint32_t num_indices) Update elements for a specific part and element type. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_elements_polygon (int32_t session_id, uint32_t part_id, enum dvs_element_type type, const uint32_t *nodes_per_polygon, uint32_t nodes_per_polygon_size, const uint32_t *indices, uint32_t indices_size) Update N-SIDED elements. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_elements_polyhedral (int32_t session_id, uint32_t part_id, enum dvs_element_type type, const uint32_t *faces_per_element, uint32_t faces_per_element_size, const uint32_t *nodes_per_face, uint32_t nodes_per_face_size, const uint32_t *indices, uint32_t indices_size) Update N-FACED Elements. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_case_scalar (int32_t session_id, uint32_t var_id, float scalar) Update value of case scalar. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_part_scalar (int32_t session_id, uint32_t var_id, uint32_t part_id, float scalar) Update value of part scalar. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_case_vector (int32_t session_id, uint32_t var_id, const float *vec) Update value of case vector. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_part_vector (int32_t session_id, uint32_t var_id, uint32_t part_id, const float *vec) Update value of part scalar. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_element_scalar (int32_t session_id, uint32_t var_id, uint32_t part_id, enum dvs_element_type type, const float *scalars, uint32_t num_vals) Update a field of scalars on elements. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_element_scalar_int64 (int32_t session_id, uint32_t var_id, uint32_t part_id, enum dvs_element_type type, const int64_t *scalars, uint32_t num_vals) Update a field of int64 scalars on elements. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_node_scalar (int32_t session_id, uint32_t var_id, uint32_t part_id, const float *scalars, uint32_t num_vals) Update a field of scalars on nodes. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_node_scalar_int64 (int32_t session_id, uint32_t var_id, uint32_t part_id, const int64_t *scalars, uint32_t num_vals) Update a field of int64 scalars on nodes. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_element_vector (int32_t session_id, uint32_t var_id, uint32_t part_id, enum dvs_element_type type, const float *values, uint32_t num_values) Update a field of vectors on elements. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_var_node_vector (int32_t session_id, uint32_t var_id, uint32_t part_id, const float *values, uint32_t num_values) Update a field of vectors on nodes. |
| DVS_DLL_EXPORT dvs_ret | dvs_update_plot (int32_t session_id, uint32_t plot_id, const float *x_values, const float *y_values, uint32_t num_values) Update the data for a plot. |
| DVS_DLL_EXPORT dvs_ret | dvs_end_update (int32_t session_id) Call to end the update for this timestep/rank/chunk. |
| DVS_DLL_EXPORT dvs_ret | dvs_delete_item (int32_t session_id, uint32_t update_num, uint32_t rank, const char *filter) Delete an item. |
| DVS_DLL_EXPORT dvs_ret | dvs_print_stats (int32_t session_id) This will be deprecated, just placeholder for printing out stats that the client is collecting for prototyping. |
| DVS_DLL_EXPORT dvs_ret | dvs_session_shutdown (int32_t session_id) Shutdown session. |
| DVS_DLL_EXPORT void | dvs_session_shutdown_all () Shutdown all connected sessions. |
| DVS_DLL_EXPORT void | dvs_shutdown () Shuts down the api, performing any necessary cleanup, also calls dvs_server_shutdown_all() if any servers are currently running. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_create (const char *server_uri, int32_t *server_id) Create a Dynamic Visualization Store server instance for the client to connect. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_set_option (int32_t server_id, const char *key, const char *value) Add an option to the server. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_start (int32_t server_id, uint32_t server_number, uint32_t local_ranks) Start a Dynamic Visualization Store server in a separate thread to receive data from solver node. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_started (int32_t server_id, uint32_t *running) Check to see if a server was started with this server_num. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_timestep_count (int32_t server_id, uint32_t *num_pending, uint32_t *num_complete) Query a Dynamic Visualization Store server as to the number of timesteps it contains. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_shutdown (int32_t server_id) Shutdown this server thread. |
| DVS_DLL_EXPORT void | dvs_server_shutdown_all () Shutdown all server threads. |
| DVS_DLL_EXPORT dvs_ret | dvs_server_get_uri (int32_t server_id, char *uri, uint32_t *size) Return the URI of the requested server. |
| DVS_DLL_EXPORT dvs_ret | dvs_add_part_rigid_body_motion (int32_t session_id, uint32_t update_num, uint32_t part_id, const float *quaternion, const float *displacement, const float *cg_offset) Add rigid body motion data to a specific part for a specific update. Any non-needed input can be set to NULL. |
| DVS_DLL_EXPORT dvs_ret | dvs_convert_rotation_to_quaternion (int32_t session_id, const float *axis_start, const float *axis_end, float relative_rotation_angle, float *quaternion) Utility API to convert a rigid body rotation described by the rotation axis and the angle of rotation to its quaternion representation. |