Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ModInterfacesUtil.F90
Go to the documentation of this file.
1 ! *********************************************************************
2 ! * Rocstar Simulation Suite *
3 ! * Copyright@2015, Illinois Rocstar LLC. All rights reserved. *
4 ! * *
5 ! * Illinois Rocstar LLC *
6 ! * Champaign, IL *
7 ! * www.illinoisrocstar.com *
8 ! * sales@illinoisrocstar.com *
9 ! * *
10 ! * License: See LICENSE file in top level of distribution package or *
11 ! * http://opensource.org/licenses/NCSA *
12 ! *********************************************************************
13 ! *********************************************************************
14 ! * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, *
15 ! * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES *
16 ! * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND *
17 ! * NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR *
18 ! * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER *
19 ! * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, *
20 ! * Arising FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE *
21 ! * USE OR OTHER DEALINGS WITH THE SOFTWARE. *
22 ! *********************************************************************
23 !******************************************************************************
24 !
25 ! Purpose: set explicit interfaces to utility subroutines and functions.
26 !
27 ! Description: none
28 !
29 ! Notes: none.
30 !
31 !******************************************************************************
32 !
33 ! $Id: ModInterfacesUtil.F90,v 1.3 2008/12/06 08:44:19 mtcampbe Exp $
34 !
35 ! Copyright: (c) 2001 by the University of Illinois
36 !
37 !******************************************************************************
38 
40 
41  IMPLICIT NONE
42 
43  INTERFACE
44 
45  SUBROUTINE averagevecvar( ijkD,ijkN1,ijkN2,iFBeg,iFEnd,fvar )
46  USE moddatatypes
47  INTEGER :: ijkd, ijkn1, ijkn2, ifbeg, ifend
48  REAL(RFREAL), POINTER :: fvar(:,:)
49  END SUBROUTINE averagevecvar
50 
51  SUBROUTINE centroidhexa( xyzNodes,cofgX,cofgY,cofgZ )
52  USE moddatatypes
53  REAL(RFREAL) :: xyznodes(3,8)
54  REAL(RFREAL) :: cofgx, cofgy, cofgz
55  END SUBROUTINE centroidhexa
56 
57  SUBROUTINE descalegridspeeds(region)
58  USE moddatastruct, ONLY: t_region
59  TYPE(t_region) :: region
60  END SUBROUTINE descalegridspeeds
61 
62  SUBROUTINE facecentroidquad( xyzNodes,fCenX,fCenY,fCenZ )
63  USE moddatatypes
64  REAL(RFREAL) :: xyznodes(3,4)
65  REAL(RFREAL) :: fcenx, fceny, fcenz
66  END SUBROUTINE facecentroidquad
67 
68  SUBROUTINE facecentroidtria( xyzNodes,fCenX,fCenY,fCenZ )
69  USE moddatatypes
70  REAL(RFREAL) :: xyznodes(3,3)
71  REAL(RFREAL) :: fcenx, fceny, fcenz
72  END SUBROUTINE facecentroidtria
73 
74  SUBROUTINE facevectorquad( xyzNodes,fVecX,fVecY,fVecZ )
75  USE moddatatypes
76  REAL(RFREAL) :: xyznodes(3,4)
77  REAL(RFREAL) :: fvecx, fvecy, fvecz
78  END SUBROUTINE facevectorquad
79 
80  SUBROUTINE facevectortria( xyzNodes,fVecX,fVecY,fVecZ )
81  USE moddatatypes
82  REAL(RFREAL) :: xyznodes(3,3)
83  REAL(RFREAL) :: fvecx, fvecy, fvecz
84  END SUBROUTINE facevectortria
85 
86  SUBROUTINE scalegridspeeds(region)
87  USE moddatastruct, ONLY: t_region
88  TYPE(t_region) :: region
89  END SUBROUTINE scalegridspeeds
90 
91  SUBROUTINE scalerotatevector( global,vect )
92  USE moddatatypes
93  USE modglobal, ONLY : t_global
94  REAL(RFREAL), POINTER :: vect(:,:)
95  TYPE(t_global), POINTER :: global
96  END SUBROUTINE scalerotatevector
97 
98  SUBROUTINE splitquadface( global,xyz1,xyz2,xyz3,xyz4,splitFlag )
99  USE moddatatypes
100  USE modglobal, ONLY : t_global
101  TYPE(t_global), POINTER :: global
102  INTEGER, INTENT(OUT) :: splitflag
103  REAL(RFREAL), DIMENSION(3), INTENT(IN) :: xyz1,xyz2,xyz3,xyz4
104  END SUBROUTINE splitquadface
105 
106  SUBROUTINE volumehexa( xyzNodes,faceVecs,volume )
107  USE moddatatypes
108  REAL(RFREAL) :: xyznodes(3,8), facevecs(3,6)
109  REAL(RFREAL) :: volume
110  END SUBROUTINE volumehexa
111 
112  END INTERFACE
113 
114 END MODULE modinterfacesutil
115 
116 !******************************************************************************
117 !
118 ! RCS Revision history:
119 !
120 ! $Log: ModInterfacesUtil.F90,v $
121 ! Revision 1.3 2008/12/06 08:44:19 mtcampbe
122 ! Updated license.
123 !
124 ! Revision 1.2 2008/11/19 22:17:30 mtcampbe
125 ! Added Illinois Open Source License/Copyright
126 !
127 ! Revision 1.1 2003/08/11 21:50:00 jblazek
128 ! Splitted ModInterfaces into 4 sections.
129 !
130 !******************************************************************************
131 
132 
133 
134 
135 
136 
subroutine splitquadface(global, xyz1, xyz2, xyz3, xyz4, splitFlag)
subroutine facevectortria(xyzNodes, fVecX, fVecY, fVecZ)
Definition: FaceVector.F90:49
subroutine centroidhexa(xyzNodes, cofgX, cofgY, cofgZ)
subroutine scalerotatevector(global, vect)
int volume(const block *b)
Definition: split.cpp:181
subroutine averagevecvar(ijkD, ijkN1, ijkN2, iFBeg, iFEnd, fvar)
subroutine volumehexa(xyzNodes, faceVecs, volume)
subroutine facevectorquad(xyzNodes, fVecX, fVecY, fVecZ)
Definition: FaceVector.F90:80
subroutine scalegridspeeds(region)
subroutine descalegridspeeds(region)
subroutine facecentroidtria(xyz, fCenX, fCenY, fCenZ)
subroutine facecentroidquad(xyz, fCenX, fCenY, fCenZ)