Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Oleksii Turkot
CrystFEL
Commits
97193f88
Commit
97193f88
authored
Nov 09, 2011
by
Thomas White
Browse files
get_hkl: Only expand phases we have
parent
96e73c46
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/get_hkl.c
View file @
97193f88
...
...
@@ -264,6 +264,8 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target,
signed
int
he
,
ke
,
le
;
Reflection
*
new
;
int
have_phase
;
double
ph
;
/* Get the equivalent */
get_equiv
(
initial
,
m
,
j
,
h
,
k
,
l
,
&
he
,
&
ke
,
&
le
);
...
...
@@ -277,6 +279,10 @@ static RefList *expand_reflections(RefList *in, const SymOpList *target,
/* FIXME: Make phase negative if the reflection is
* separated from the original via an inversion */
get_phase
(
refl
,
&
have_phase
);
if
(
have_phase
)
{
set_ph
(
new
,
-
ph
);
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment