summaryrefslogtreecommitdiff
path: root/src/lib/tng_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/tng_io.c')
-rw-r--r--src/lib/tng_io.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/lib/tng_io.c b/src/lib/tng_io.c
index f4b7c36..d1deda5 100644
--- a/src/lib/tng_io.c
+++ b/src/lib/tng_io.c
@@ -16560,6 +16560,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_write
{
p_data->first_frame_with_data = frame_nr;
}
+ else
+ {
+ p_data->first_frame_with_data = frame_set->first_frame
+ }
memcpy((char *)p_data->values + sizeof(float) * frame_pos * n_particles *
n_values_per_frame, values, sizeof(float) *
@@ -16615,6 +16619,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_write
{
np_data->first_frame_with_data = frame_nr;
}
+ else
+ {
+ np_data->first_frame_with_data = frame_set->first_frame
+ }
memcpy((char *)np_data->values + sizeof(float) * frame_pos *
n_values_per_frame, values, sizeof(float) *
@@ -16771,6 +16779,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_double_write
{
p_data->first_frame_with_data = frame_nr;
}
+ else
+ {
+ p_data->first_frame_with_data = frame_set->first_frame
+ }
memcpy((char *)p_data->values + sizeof(float) * frame_pos * n_particles *
n_values_per_frame, values, sizeof(float) *
@@ -16826,6 +16838,10 @@ tng_function_status DECLSPECDLLEXPORT tng_util_generic_double_write
{
p_data->first_frame_with_data = frame_nr;
}
+ else
+ {
+ p_data->first_frame_with_data = frame_set->first_frame
+ }
memcpy((char *)np_data->values + sizeof(float) * frame_pos *
n_values_per_frame, values, sizeof(float) *
contact: Jan Huwald // Impressum