Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mantidproject
mantid
Commits
13cee884
"Vates/VatesSimpleGui/StandAloneExec/src/SimpleGuiApp.cpp" did not exist on "63fe9afb7a1adf932fa6da50fb4ba2b027ffbea9"
Commit
13cee884
authored
9 years ago
by
Michael Wedel
Browse files
Options
Downloads
Patches
Plain Diff
Refs #14970. Renamed member variable
parent
b7ad233f
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/Geometry/inc/MantidGeometry/Crystal/SymmetryOperation.h
+1
-1
1 addition, 1 deletion
...k/Geometry/inc/MantidGeometry/Crystal/SymmetryOperation.h
Framework/Geometry/src/Crystal/SymmetryOperation.cpp
+5
-5
5 additions, 5 deletions
Framework/Geometry/src/Crystal/SymmetryOperation.cpp
with
6 additions
and
6 deletions
Framework/Geometry/inc/MantidGeometry/Crystal/SymmetryOperation.h
+
1
−
1
View file @
13cee884
...
...
@@ -161,7 +161,7 @@ protected:
const
V3R
&
vector
)
const
;
size_t
m_order
;
Kernel
::
IntMatrix
m_
i
nverseMatrix
;
Kernel
::
IntMatrix
m_
transposedI
nverseMatrix
;
V3R
m_reducedVector
;
std
::
string
m_identifier
;
...
...
This diff is collapsed.
Click to expand it.
Framework/Geometry/src/Crystal/SymmetryOperation.cpp
+
5
−
5
View file @
13cee884
...
...
@@ -9,7 +9,7 @@ namespace Geometry {
/// Default constructor, results in identity.
SymmetryOperation
::
SymmetryOperation
()
:
m_order
(
1
),
m_
i
nverseMatrix
(
Kernel
::
IntMatrix
(
3
,
3
,
true
)),
:
m_order
(
1
),
m_
transposedI
nverseMatrix
(
Kernel
::
IntMatrix
(
3
,
3
,
true
)),
m_reducedVector
(),
m_identifier
(),
m_matrixVectorPair
()
{
m_identifier
=
SymmetryOperationSymbolParser
::
getNormalizedIdentifier
(
m_matrixVectorPair
.
getMatrix
(),
m_matrixVectorPair
.
getVector
());
...
...
@@ -52,9 +52,9 @@ void SymmetryOperation::init(const Kernel::IntMatrix &matrix,
MatrixVectorPair
<
int
,
V3R
>
(
matrix
,
getWrappedVector
(
vector
));
// Inverse matrix for HKL operations.
m_
i
nverseMatrix
=
Kernel
::
IntMatrix
(
matrix
);
m_
i
nverseMatrix
.
Invert
();
m_
i
nverseMatrix
=
m_
i
nverseMatrix
.
Transpose
();
m_
transposedI
nverseMatrix
=
Kernel
::
IntMatrix
(
matrix
);
m_
transposedI
nverseMatrix
.
Invert
();
m_
transposedI
nverseMatrix
=
m_
transposedI
nverseMatrix
.
Transpose
();
m_order
=
getOrderFromMatrix
(
m_matrixVectorPair
.
getMatrix
());
m_identifier
=
SymmetryOperationSymbolParser
::
getNormalizedIdentifier
(
...
...
@@ -136,7 +136,7 @@ bool SymmetryOperation::hasTranslation() const {
* @return :: Transformed index triplet.
*/
Kernel
::
V3D
SymmetryOperation
::
transformHKL
(
const
Kernel
::
V3D
&
hkl
)
const
{
return
m_
i
nverseMatrix
*
hkl
;
return
m_
transposedI
nverseMatrix
*
hkl
;
}
/**
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment