Skip to content

Commit

Permalink
Merge pull request dftbplus#1374 from bhourahine/bulkBC_parserBug
Browse files Browse the repository at this point in the history
Fixes problem in parser for bulk BC read
  • Loading branch information
bhourahine authored Jan 24, 2024
2 parents c72a10e + 9ddf28e commit d112c61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dftbp/dftbplus/parser.F90
Original file line number Diff line number Diff line change
Expand Up @@ -6534,7 +6534,7 @@ subroutine readPoisson(pNode, poisson, tPeriodic, latVecs, updateSccAfterDiag)

call getChildValue(pNode, "OverrideBulkBC", pTmp, "none")
poisson%overrBulkBC(:) = -1
if (associated(pNode)) then
if (associated(pTmp)) then
call getPoissonBoundaryConditionOverrides(pTmp, [ 0, 1, 2 ], poisson%overrBulkBC)
end if

Expand Down

0 comments on commit d112c61

Please sign in to comment.