Skip to content

Commit

Permalink
Respect coding conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Oct 6, 2021
1 parent 2d2fde0 commit 196c15b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions src/ec_environment.F
Original file line number Diff line number Diff line change
Expand Up @@ -414,18 +414,15 @@ SUBROUTINE ec_write_input(ec_env, unit_nr)

CALL timeset(routineN, handle)

!WRITE (unit_nr, '()')
WRITE (unit_nr, '(T2,A,A,A,A,A)') "!", REPEAT("-", 29), &
" Energy Correction ", REPEAT("-", 29), "!"
WRITE (unit_nr, '(T2,A)') &
"!"//REPEAT("-", 29)//" Energy Correction "//REPEAT("-", 29)//"!"

! Algorithm
SELECT CASE (ec_env%ks_solver)
CASE (ec_diagonalization)
WRITE (unit_nr, '(T2,A,T61,A20)') "Algorithm: ", "DIAGONALIZATION"
WRITE (*, *) "print diagonalization"
CASE (ec_ot_diag)
WRITE (unit_nr, '(T2,A,T61,A20)') "Algorithm: ", "OT DIAGONALIZATION"
WRITE (*, *) "print ot diagonalization"
CASE (ec_matrix_sign)
WRITE (unit_nr, '(T2,A,T61,A20)') "Algorithm: ", "MATRIX_SIGN"
CASE (ec_matrix_trs4)
Expand Down
4 changes: 2 additions & 2 deletions src/response_solver.F
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ SUBROUTINE response_solver_write_input(input, linres_control, unit_nr)
IF (unit_nr > 0) THEN
! linres_control
WRITE (unit_nr, '()')
WRITE (unit_nr, '(T2,A,A,A)') REPEAT("-", 30), " Linear Response Solver ", REPEAT("-", 26)
WRITE (unit_nr, '(/,T2,A)') &
REPEAT("-", 30)//" Linear Response Solver "//REPEAT("-", 25)
! Which type of solver is used
CALL section_vals_val_get(input, "METHOD", i_val=solver_method)
Expand Down

0 comments on commit 196c15b

Please sign in to comment.