diff options
author | Thomas White <taw@physics.org> | 2012-03-06 14:46:13 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-03-06 14:46:13 +0100 |
commit | 3710defb709b7ab33ae7849873c4fb62de96e138 (patch) | |
tree | 0c50ad73099324891826efb2bbfc33a8ec03d8a3 /src/pattern_sim.c | |
parent | 95f05d7d455c9bfd28af83b72dfeb47b77fca621 (diff) |
Rename old array functions to get them out of the way of API consistency
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 19f58589..1ed6b8ba 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -113,7 +113,7 @@ static double *intensities_from_list(RefList *list) { Reflection *refl; RefListIterator *iter; - double *out = new_list_intensity(); + double *out = new_arr_intensity(); for ( refl = first_refl(list, &iter); refl != NULL; @@ -124,7 +124,7 @@ static double *intensities_from_list(RefList *list) get_indices(refl, &h, &k, &l); - set_intensity(out, h, k, l, intensity); + set_arr_intensity(out, h, k, l, intensity); } @@ -136,7 +136,7 @@ static double *phases_from_list(RefList *list) { Reflection *refl; RefListIterator *iter; - double *out = new_list_phase(); + double *out = new_arr_phase(); for ( refl = first_refl(list, &iter); refl != NULL; @@ -147,7 +147,7 @@ static double *phases_from_list(RefList *list) get_indices(refl, &h, &k, &l); - set_phase(out, h, k, l, phase); + set_arr_phase(out, h, k, l, phase); } @@ -160,7 +160,7 @@ static unsigned char *flags_from_list(RefList *list) { Reflection *refl; RefListIterator *iter; - unsigned char *out = new_list_flag(); + unsigned char *out = new_arr_flag(); for ( refl = first_refl(list, &iter); refl != NULL; @@ -170,7 +170,7 @@ static unsigned char *flags_from_list(RefList *list) get_indices(refl, &h, &k, &l); - set_flag(out, h, k, l, 1); + set_arr_flag(out, h, k, l, 1); } |