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
9c34a0bf
Commit
9c34a0bf
authored
Jul 14, 2010
by
Thomas White
Browse files
process_hkl: Show information about symmetry
parent
7cb53822
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/process_hkl.c
View file @
9c34a0bf
...
...
@@ -442,6 +442,13 @@ int main(int argc, char *argv[])
rewind
(
fh
);
STATUS
(
"There are %i patterns to process
\n
"
,
n_total_patterns
);
/* Show useful symmetry information */
const
char
*
holo
=
get_holohedral
(
sym
);
int
np
=
num_general_equivs
(
holo
)
/
num_general_equivs
(
sym
);
STATUS
(
"Resolving from point group %s to %s (%i possibilities)
\n
"
,
holo
,
sym
,
np
);
n_patterns
=
0
;
f0_valid
=
0
;
do
{
...
...
src/symmetry.c
View file @
9c34a0bf
...
...
@@ -57,7 +57,7 @@ static int check_cond(signed int h, signed int k, signed int l, const char *sym)
}
static
int
num_general_equivs
(
const
char
*
sym
)
int
num_general_equivs
(
const
char
*
sym
)
{
/* Triclinic */
if
(
strcmp
(
sym
,
"1"
)
==
0
)
return
1
;
...
...
src/symmetry.h
View file @
9c34a0bf
...
...
@@ -25,6 +25,8 @@ extern void get_asymm(signed int h, signed int k, signed int l,
extern
int
num_equivs
(
signed
int
h
,
signed
int
k
,
signed
int
l
,
const
char
*
sym
);
extern
int
num_general_equivs
(
const
char
*
sym
);
extern
void
get_equiv
(
signed
int
h
,
signed
int
k
,
signed
int
l
,
signed
int
*
he
,
signed
int
*
ke
,
signed
int
*
le
,
const
char
*
sym
,
int
idx
);
...
...
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