53 arclen12,arclen34,arclen56,xyzold,dnode )
66 LOGICAL :: boundmoved(6), edgemoved(12)
68 REAL(RFREAL),
POINTER :: arclen12(:,:), arclen34(:,:), arclen56(:,:)
69 REAL(RFREAL),
POINTER :: dnode(:,:), xyzold(:,:)
71 TYPE(t_region
) :: region
78 INTEGER :: indbeg, indend, ijkn, ijkn1, ijknbeg, ijknend, inoff, ijnoff
79 INTEGER :: switch(12,9)
81 REAL(RFREAL) :: arclen, ds,
s, dn(3), dnbeg(3), dnend(3)
86 'RFLO_EdgeDeformation.F90' )
121 edgemoved(:) = .false.
123 IF (boundmoved(1))
THEN
124 edgemoved( 1) = .true.; edgemoved( 2) = .true.
125 edgemoved( 3) = .true.; edgemoved( 4) = .true.
127 IF (boundmoved(2))
THEN
128 edgemoved( 5) = .true.; edgemoved( 6) = .true.
129 edgemoved( 7) = .true.; edgemoved( 8) = .true.
131 IF (boundmoved(3))
THEN
132 edgemoved( 1) = .true.; edgemoved( 5) = .true.
133 edgemoved( 9) = .true.; edgemoved(10) = .true.
135 IF (boundmoved(4))
THEN
136 edgemoved( 3) = .true.; edgemoved( 7) = .true.
137 edgemoved(11) = .true.; edgemoved(12) = .true.
139 IF (boundmoved(5))
THEN
140 edgemoved( 4) = .true.; edgemoved( 8) = .true.
141 edgemoved( 9) = .true.; edgemoved(11) = .true.
143 IF (boundmoved(6))
THEN
144 edgemoved( 2) = .true.; edgemoved( 6) = .true.
145 edgemoved(10) = .true.; edgemoved(12) = .true.
151 IF ((boundmoved(switch(iedge,1)) .OR. boundmoved(switch(iedge,2))) .AND. &
152 ((.NOT.boundmoved(switch(iedge,3))) .OR. &
153 (.NOT.boundmoved(switch(iedge,4)))) .AND. &
154 (.NOT.edgemoved(iedge)))
THEN
156 edgemoved(iedge) = .true.
159 indbeg = switch(iedge,6)
160 indend = switch(iedge,7)
161 l1c = switch(iedge,8)
162 l2c = switch(iedge,9)
163 DO ind=indbeg+1,indend-1
164 IF (switch(iedge,5) == 12)
THEN
165 ijkn = indijk(ind ,l1c,l2c,inoff,ijnoff)
166 ijkn1 = indijk(ind-1 ,l1c,l2c,inoff,ijnoff)
167 ijknbeg = indijk(indbeg,l1c,l2c,inoff,ijnoff)
168 ijknend = indijk(indend,l1c,l2c,inoff,ijnoff)
169 arclen = arclen12(l1c,l2c)
170 dnbeg(:) = dnode(:,ijknbeg)
171 dnend(:) = dnode(:,ijknend)
172 ELSE IF (switch(iedge,5) == 34)
THEN
173 ijkn = indijk(l2c,ind ,l1c,inoff,ijnoff)
174 ijkn1 = indijk(l2c,ind-1 ,l1c,inoff,ijnoff)
175 ijknbeg = indijk(l2c,indbeg,l1c,inoff,ijnoff)
176 ijknend = indijk(l2c,indend,l1c,inoff,ijnoff)
177 arclen = arclen34(l1c,l2c)
178 dnbeg(:) = dnode(:,ijknbeg)
179 dnend(:) = dnode(:,ijknend)
180 ELSE IF (switch(iedge,5) == 56)
THEN
181 ijkn = indijk(l1c,l2c,ind ,inoff,ijnoff)
182 ijkn1 = indijk(l1c,l2c,ind-1 ,inoff,ijnoff)
183 ijknbeg = indijk(l1c,l2c,indbeg,inoff,ijnoff)
184 ijknend = indijk(l1c,l2c,indend,inoff,ijnoff)
185 arclen = arclen56(l1c,l2c)
186 dnbeg(:) = dnode(:,ijknbeg)
187 dnend(:) = dnode(:,ijknend)
189 ds = ds +
sqrt((xyzold(xcoord,ijkn)-xyzold(xcoord,ijkn1))**2 + &
190 (xyzold(ycoord,ijkn)-xyzold(ycoord,ijkn1))**2 + &
191 (xyzold(zcoord,ijkn)-xyzold(zcoord,ijkn1))**2)
195 dnode(:,ijkn) = dn(:)
**********************************************************************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 SUBROUTINE jpnbeg
**********************************************************************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 SUBROUTINE kpnbeg
subroutine registerfunction(global, funName, fileName)
subroutine rflo_tfint1d(s, p1, p2, xyz)
**********************************************************************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 SUBROUTINE jpnend
subroutine rflo_getnodeoffset(region, iLev, iNodeOffset, ijNodeOffset)
**********************************************************************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 SUBROUTINE ipnbeg
subroutine rflo_getdimensphysnodes(region, iLev, ipnbeg, ipnend, jpnbeg, jpnend, kpnbeg, kpnend)
subroutine deregisterfunction(global)
**********************************************************************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 SUBROUTINE ipnend