Skip to content

Commit

Permalink
Fix: Cylinder is now compiling without -DFORCES flag
Browse files Browse the repository at this point in the history
  • Loading branch information
fnsch committed May 9, 2018
1 parent 8ebfb37 commit f9e2a2e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions BC-Cylinder.f90
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ subroutine ft_parameter(arg)
USE variables
USE flow_type
USE complex_geometry
#ifdef FORCES
USE forces
#endif
USE decomp_2d, only : nrank
implicit none

Expand Down Expand Up @@ -90,20 +92,24 @@ subroutine ft_parameter(arg)
read (10,*) izap
read (10,*) nraf
read (10,*) nobjmax
#ifdef FORCES
read (10,*) a !
read (10,*) a !INCOMPACT 3D Forces - Drag and Lift coefficients
read (10,*) a !
read (10,*) xld
read (10,*) xrd
read (10,*) yld
read (10,*) yud
#endif
close(10)

if (nrank==0) then
print *,'=======================Cylinder============================'
write(*,"(' cex, cey, ra : (',F6.2,',',F6.2,',',F6.2,')')") cex, cey, ra
#ifdef FORCES
write(*,"(' xld, xrd, yld, yud : (',F6.2,',',F6.2,',',F6.2',',F6.2,')')") &
xld, xrd, yld, yud
#endif
print *,'==========================================================='
endif
return
Expand Down

0 comments on commit f9e2a2e

Please sign in to comment.