58 INTEGER,
PARAMETER :: nvals_max = 12
60 CHARACTER(CHRLEN) :: rcsidentstring
61 CHARACTER(10) :: keys(nvals_max)
63 LOGICAL :: defined(nvals_max)
65 REAL(RFREAL) :: vals(nvals_max)
69 rcsidentstring =
'$RCSfile: ReadTransformSection.F90,v $ $Revision: 1.4 $'
72 'ReadTransformSection.F90' )
85 keys( 8) =
'DIST_FLAG'
97 IF ( nint(vals(1)) == 1 )
THEN
98 global%transformFlag = .true.
100 global%transformFlag = .false.
103 global%transformFlag = .false.
109 global%scaleX = vals(2)
111 global%scaleX = 1.0_rfreal
115 global%scaleY = vals(3)
117 global%scaleY = 1.0_rfreal
121 global%scaleZ = vals(4)
123 global%scaleZ = 1.0_rfreal
129 global%angleX = vals(5)
131 global%angleX = 0.0_rfreal
135 global%angleY = vals(6)
137 global%angleY = 0.0_rfreal
141 global%angleZ = vals(7)
143 global%angleZ = 0.0_rfreal
149 IF ( nint(vals(8)) == 1 )
THEN
150 global%distortFlag = .true.
152 global%distortFlag = .false.
155 global%distortFlag = .false.
159 global%distortX = vals(9)
161 global%distortX = 0.0_rfreal
164 IF (defined(10))
THEN
165 global%distortY = vals(10)
167 global%distortY = 0.0_rfreal
170 IF (defined(11))
THEN
171 global%distortZ = vals(11)
173 global%distortZ = 0.0_rfreal
178 IF (defined(12))
THEN
179 IF ( nint(vals(12)) == 1 )
THEN
180 global%enforceFlag = .true.
182 global%enforceFlag = .false.
185 global%enforceFlag = .false.
subroutine registerfunction(global, funName, fileName)
subroutine readsection(global, fileID, nvals, keys, vals, defined)
**********************************************************************Rocstar Simulation Suite Illinois Rocstar LLC All rights reserved ****Illinois Rocstar LLC IL **www illinoisrocstar com **sales illinoisrocstar com WITHOUT WARRANTY OF ANY **EXPRESS OR INCLUDING BUT NOT LIMITED TO THE WARRANTIES **OF FITNESS FOR A PARTICULAR PURPOSE AND **NONINFRINGEMENT IN NO EVENT SHALL THE CONTRIBUTORS OR **COPYRIGHT HOLDERS BE LIABLE FOR ANY DAMAGES OR OTHER WHETHER IN AN ACTION OF TORT OR **Arising OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE **USE OR OTHER DEALINGS WITH THE SOFTWARE **********************************************************************INTERFACE USE ModDataTypes USE nvals
subroutine deregisterfunction(global)