mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-28 22:25:32 -04:00
initialize pointers and avoid conversion (#3454)
Co-authored-by: JWilhelm <jan.wilhelm@ur.de>
This commit is contained in:
parent
11a343ac6f
commit
bf82eeca4c
2 changed files with 3 additions and 3 deletions
|
|
@ -1009,7 +1009,7 @@ CONTAINS
|
|||
IF (eigenvalues(i) > eps) THEN
|
||||
pos_eval = (eigenvalues(i))**(0.5_dp*exponent)
|
||||
ELSE
|
||||
pos_eval = z_zero
|
||||
pos_eval = 0.0_dp
|
||||
END IF
|
||||
eigenvectors(:, i) = eigenvectors(:, i)*pos_eval
|
||||
END DO
|
||||
|
|
|
|||
|
|
@ -260,8 +260,8 @@ MODULE post_scf_bandstructure_types
|
|||
INTEGER, DIMENSION(3) :: cell_grid_scf_desymm = -1
|
||||
INTEGER, DIMENSION(:, :), ALLOCATABLE :: index_to_cell_3c, &
|
||||
index_to_cell_Delta_R
|
||||
INTEGER, DIMENSION(:, :, :), POINTER :: cell_to_index_3c, &
|
||||
cell_to_index_Delta_R
|
||||
INTEGER, DIMENSION(:, :, :), POINTER :: cell_to_index_3c => NULL(), &
|
||||
cell_to_index_Delta_R => NULL()
|
||||
REAL(KIND=dp) :: heuristic_filter_factor = -1.0_dp
|
||||
|
||||
! small_cell_full_kp parallelization
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue