diff options
author | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-29 09:04:20 (GMT) |
---|---|---|
committer | Magnus Lundborg <lundborg.magnus@gmail.com> | 2013-05-29 09:04:20 (GMT) |
commit | b2520beb9e688284273ce252cb56ae4176d7903d (patch) | |
tree | c99928564f26db5e201482c661f2b22336f22522 /include/tng_io.h | |
parent | 841d527a8e363cdd810249059475988d6ca3c9af (diff) |
Fix utility function for box shape reading.
Reading box shape using the high-level API should work.
Fixed bugs in data reading.
Updated utility usage examples.
Diffstat (limited to 'include/tng_io.h')
-rw-r--r-- | include/tng_io.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/tng_io.h b/include/tng_io.h index 5609647..1b7338a 100644 --- a/include/tng_io.h +++ b/include/tng_io.h @@ -424,7 +424,7 @@ typedef enum {TNG_TRAJ_BOX_SHAPE = 10000, /** Flag to specify if a data block contains data related to particles or not.*/ typedef enum {TNG_NON_PARTICLE_BLOCK_DATA, - TNG_PARTICLE_BLOCK_DATA} tng_particle_block_data; + TNG_PARTICLE_BLOCK_DATA} tng_particle_dependency; typedef enum {TNG_FALSE, TNG_TRUE} tng_bool; @@ -1984,8 +1984,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_box_shape_read_range tng_function_status DECLSPECDLLEXPORT tng_util_generic_write_frequency_set (tng_trajectory_t tng_data, const int64_t f, + const int64_t n_values_per_frame, const int64_t block_id, const char *block_name, + const tng_particle_dependency particle_dependency, const tng_compression compression); tng_function_status DECLSPECDLLEXPORT tng_util_pos_write_frequency_set @@ -2008,8 +2010,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_write (tng_trajectory_t tng_data, const int64_t frame_nr, const float *values, + const int64_t n_values_per_frame, const int64_t block_id, const char *block_name, + const tng_particle_dependency particle_dependency, const tng_compression compression); tng_function_status DECLSPECDLLEXPORT tng_util_pos_write |