56 CHARACTER(10) :: keys(7)
60 REAL(RFREAL) :: vals(7)
65 'ReadThrustSection.F90' )
77 CALL
readsection( global,if_input,7,keys,vals,defined )
79 IF (defined(1).eqv..true.)
THEN
80 global%thrustType = thrust_none
81 IF (vals(1)>0.9 .AND. vals(1)<1.1) global%thrustType = thrust_mom
82 IF (vals(1) > 1.9) global%thrustType = thrust_momp
84 IF (defined(2).eqv..true.)
THEN
85 IF (vals(2) < 1.1) global%thrustPlane = xcoord
86 IF (vals(2)>=1.1 .AND. vals(2)<2.1) global%thrustPlane = ycoord
87 IF (vals(2) >= 2.1) global%thrustPlane = zcoord
89 IF (defined(3).eqv..true.)
THEN
90 global%thrustCoord = vals(3)
92 IF (defined(4).eqv..true.) global%thrustSaveTime = abs(vals(4))
93 IF (defined(5).eqv..true.)
THEN
94 global%thrustSaveIter = int(abs(vals(5))+0.5_rfreal)
95 global%thrustSaveIter =
max(1,global%thrustSaveIter)
97 IF (defined(6).eqv..true.)
THEN
98 IF (vals(6) < 0.5_rfreal)
THEN
99 global%thrustOpenClose = .false.
101 global%thrustOpenClose = .true.
104 IF (defined(7).eqv..true.)
THEN
105 global%thrustPamb = abs(vals(7))
Vector_n max(const Array_n_const &v1, const Array_n_const &v2)
subroutine registerfunction(global, funName, fileName)
subroutine readthrustsection(global)
subroutine readsection(global, fileID, nvals, keys, vals, defined)
subroutine deregisterfunction(global)