Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Laurell, Pontus Bengt Johan
dmrgpp
Commits
110676ec
Commit
110676ec
authored
Sep 23, 2019
by
Alvarez, Gonzalo
Browse files
compilation fix
parent
4e0da8ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Models/Heisenberg/ModelHeisenberg.h
View file @
110676ec
...
...
@@ -211,8 +211,9 @@ public:
if
(
modelParameters_
.
magneticFieldDirection
==
"z"
)
{
hmatrix
+=
tmp
*
sz
.
getCRS
();
}
else
if
(
modelParameters_
.
magneticFieldDirection
==
"x"
)
{
hmatrix
+=
0.5
*
tmp
*
splus
.
getCRS
();
hmatrix
+=
0.5
*
tmp
*
sminus
.
getCRS
();
static
const
RealType
zeroPointFive
=
0.5
;
hmatrix
+=
zeroPointFive
*
tmp
*
splus
.
getCRS
();
hmatrix
+=
zeroPointFive
*
tmp
*
sminus
.
getCRS
();
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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