Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
fleur
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
51
Issues
51
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
fleur
fleur
Commits
72326e12
Commit
72326e12
authored
Jul 07, 2020
by
Gregor Michalicek
2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix allocation of several arrays in vgen/pw_tofrom_grid.F90 for LDA.
parent
c0b6436b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
vgen/pw_tofrom_grid.F90
vgen/pw_tofrom_grid.F90
+6
-2
No files found.
vgen/pw_tofrom_grid.F90
View file @
72326e12
...
...
@@ -115,11 +115,15 @@ CONTAINS
IF
(
PRESENT
(
rho
))
ALLOCATE
(
rho
(
0
:
ifftd
-1
,
jspins
))
ENDIF
IF
(
l_noco
)
THEN
IF
(
l_rdm
)
THEN
ALLOCATE
(
rhodiag
(
0
:
SIZE
(
rho
,
1
)
-1
,
jspins
))
ALLOCATE
(
sinsqu
(
0
:
SIZE
(
rho
,
1
)
-1
),
cossqu
(
0
:
SIZE
(
rho
,
1
)
-1
),
sincos
(
0
:
SIZE
(
rho
,
1
)
-1
),
exi
(
0
:
SIZE
(
rho
,
1
)
-1
))
END
IF
IF
(
dograds
)
THEN
ALLOCATE
(
mx
(
0
:
ifftxc3
-1
),
my
(
0
:
ifftxc3
-1
),
magmom
(
0
:
ifftxc3
-1
))
IF
(
l_rdm
)
THEN
ALLOCATE
(
rhodiag
(
0
:
ifftxc3
-1
,
jspins
),
der
(
0
:
ifftxc3
-1
,
3
,
4
),
dder
(
0
:
ifftxc3
-1
,
3
,
3
,
4
),
rhdd
(
0
:
ifftxc3
-1
,
2
,
3
,
3
)
)
ALLOCATE
(
sinsqu
(
0
:
ifftxc3
-1
),
cossqu
(
0
:
ifftxc3
-1
),
sincos
(
0
:
ifftxc3
-1
),
exi
(
0
:
ifftxc3
-1
)
)
ALLOCATE
(
der
(
0
:
ifftxc3
-1
,
3
,
4
),
dder
(
0
:
ifftxc3
-1
,
3
,
3
,
4
),
rhdd
(
0
:
ifftxc3
-1
,
2
,
3
,
3
)
)
ELSE
ALLOCATE
(
dmagmom
(
0
:
ifftxc3
-1
,
3
),
ddmagmom
(
0
:
ifftxc3
-1
,
3
,
3
)
)
ENDIF
...
...
Gregor Michalicek
@micha
mentioned in issue
#462 (closed)
·
Jul 07, 2020
mentioned in issue
#462 (closed)
mentioned in issue #462
Toggle commit list
Gregor Michalicek
@micha
mentioned in commit
84f9eb23
·
Jul 08, 2020
mentioned in commit
84f9eb23
mentioned in commit 84f9eb2312a1e42e47c90216763a115176adc152
Toggle commit list
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