55 TYPE(t_region
),
POINTER :: regions(:)
58 INTEGER :: ireg, ipatch
61 CHARACTER(10) :: keys(6)
62 CHARACTER(256) :: fname
68 REAL(RFREAL) :: vals(6)
75 global => regions(1)%global
78 'RFLO_ReadBcSlipWallSection.F90' )
96 IF (.NOT. (defined(1).eqv..true.) .OR. &
97 .NOT. (defined(2).eqv..true.)) CALL
errorstop( global,err_bcval_missing,&
105 patch => regions(ireg)%levels(1)%patches(ipatch)
107 IF ((
patch%bcType>=bc_slipwall .AND. &
108 patch%bcType<=bc_slipwall+bc_range) .AND. &
109 regions(ireg)%procid==global%myProcid .AND. &
110 regions(ireg)%active==active)
THEN
112 IF (
patch%mixt%bcSet.eqv..true.) &
113 CALL
errorstop( global,err_patch_overspec,__line__,
'Slip-wall boundary.' )
116 patch%mixt%nSwitches = 1
117 patch%mixt%distrib = bcdat_constant
118 patch%mixt%bcSet = .true.
122 ALLOCATE(
patch%mixt%switches(
patch%mixt%nSwitches), &
124 global%error = errorflag
125 IF (global%error /= 0) CALL
errorstop( global,err_allocate,__line__ )
127 patch%mixt%switches(bcswi_slipw_extrap) = extrapol_const
129 patch%mixt%switches(bcswi_slipw_extrap) = extrapol_linear
131 patch%mixt%maxChange = vals(2)
133 IF (vals(3) > 0.1)
THEN
134 patch%mixt%setMotion = .true.
135 patch%mixt%bndVel(xcoord) = vals(4)
136 patch%mixt%bndVel(ycoord) = vals(5)
137 patch%mixt%bndVel(zcoord) = vals(6)
142 IF ((defined(3).eqv..true.) .AND. (vals(3) > 0.1)) global%internDeform = 1
subroutine rflo_readbcslipwallsection(regions)
subroutine registerfunction(global, funName, fileName)
**********************************************************************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 brbeg
subroutine readpatchsection(global, fileID, nvals, keys, vals, brbeg, brend, prbeg, prend, distrib, profType, fname, 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 prend
**********************************************************************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 prbeg
Vector_n min(const Array_n_const &v1, const Array_n_const &v2)
subroutine errorstop(global, errorCode, errorLine, addMessage)
subroutine deregisterfunction(global)