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
Thomas White
pinkindexer
Commits
8e38d797
Commit
8e38d797
authored
Oct 28, 2018
by
Yaroslav Gevorkov
Browse files
finer multi seed refining
parent
2cfffd64
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/PinkIndexer.cpp
View file @
8e38d797
...
...
@@ -101,12 +101,12 @@ void PinkIndexer::refine(Lattice& indexedLattice, const Matrix3Xf& ucsDirections
break
;
case
RefinementType
::
firstFixedThenVariableLatticeParametersMultiSeed
:
{
#define REFINEMENT_TRIES
2
50
#define REFINEMENT_TRIES
7
50
int
fittedNodesCount
[
REFINEMENT_TRIES
];
double
fittedNodesMeanDefects
[
REFINEMENT_TRIES
];
Lattice
fittedLattices
[
REFINEMENT_TRIES
];
float
maxRelativeDeviation
=
0.012
;
float
maxRelativeDeviation
=
0.012
5
;
Array
<
float
,
1
,
3
>
columnDeviationNorms
=
indexedLattice
.
getBasis
().
colwise
().
norm
()
*
maxRelativeDeviation
;
#pragma omp parallel for
for
(
int
i
=
0
;
i
<
REFINEMENT_TRIES
;
++
i
)
...
...
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