Skip to content

Commit ce85d62

Browse files
Merge pull request #15 from mathrack/hack_doconcurrent
Initialization of all coefficients had been removed by error.
2 parents 8c1f857 + 1dd0010 commit ce85d62

2 files changed

Lines changed: 699 additions & 1 deletion

File tree

src/parameters.f90

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@ subroutine parameter()
116116
dy2 = dy * dy
117117
dz2 = dz * dz
118118

119-
xnu=one/re
119+
if (abs(re) > epsilon(re)) then
120+
xnu = one / re
121+
else
122+
xnu = zero
123+
endif
120124

121125
anglex = sin(pi*angle/180._mytype)
122126
angley = cos(pi*angle/180._mytype)

0 commit comments

Comments
 (0)