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
70ef409d
Commit
70ef409d
authored
Mar 09, 2021
by
Alvarez, Gonzalo
Browse files
DmrgSerializer: bug fix in write
parent
aeb95be5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Engine/DmrgSerializer.h
View file @
70ef409d
...
...
@@ -205,7 +205,7 @@ public:
for
(
SizeType
i
=
0
;
i
<
nsectors
;
++
i
)
{
const
SizeType
nexcited
=
wavefunction_
[
i
].
size
();
io
.
createGroup
(
prefix
+
"/WaveFunction/"
+
ttos
(
i
));
io
.
write
(
n
sectors
,
prefix
+
"/WaveFunction/"
+
ttos
(
i
)
+
"/Size"
);
io
.
write
(
n
excited
,
prefix
+
"/WaveFunction/"
+
ttos
(
i
)
+
"/Size"
);
for
(
SizeType
j
=
0
;
j
<
nexcited
;
++
j
)
wavefunction_
[
i
][
j
]
->
write
(
io
,
prefix
+
"/WaveFunction/"
+
ttos
(
i
)
+
"/"
+
ttos
(
j
));
}
...
...
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