Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RVAV_PlotResults.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: Plots results of Stream 1 and Stream 2 Data.
26 !
27 ! Description: none.
28 !
29 ! Input: Arrays evS1 and evS2 and their corresponding extents
30 !
31 ! Output: File
32 !
33 ! Notes: none.
34 !
35 !******************************************************************************
36 !
37 ! $Id: RVAV_PlotResults.F90,v 1.3 2008/12/06 08:45:08 mtcampbe Exp $
38 !
39 ! Copyright: (c) 2002 by the University of Illinois
40 !
41 !******************************************************************************
42 
43 SUBROUTINE rvav_plotresults( global,iCompare,iNodes,jNodes,kNodes )
44 
45  USE moddatatypes
46  USE moderror
47  USE modglobal, ONLY : t_global
48  USE rvav_modglobal
50  IMPLICIT NONE
51 
52 ! ... parameter
53  TYPE(t_global), POINTER :: global
54 
55  INTEGER :: icompare, inodes, jnodes, knodes
56 
57 ! ... loop variables
58  INTEGER :: i, j, k
59 
60 ! ... local variables
61  CHARACTER(CHRLEN) :: msg
62 
63  REAL(RFREAL) :: l2norm, l8norm
64 
65 !******************************************************************************
66 
67  CALL registerfunction( global, 'RVAV_PlotResults',&
68  'RVAV_PlotResults.F90' )
69 
70 ! initialize variables
71 
72  WRITE(200,'(A,I2)') 'ICompare = ',icompare
73 
74  DO k = 1, knodes
75  DO j = 1, jnodes
76  DO i = 1, inodes
77  WRITE(200,1000) i,j,k,globalrvav%evS1(i,j,k),globalrvav%evS2(i,j,k)
78  ENDDO ! i
79  ENDDO ! j
80  ENDDO ! k
81 
82 ! finalize --------------------------------------------------------------------
83 
84  CALL deregisterfunction( global )
85 
86 1000 FORMAT(3(3x,3i5),2(3x,1pe15.7))
87 
88 END SUBROUTINE rvav_plotresults
89 
90 !******************************************************************************
91 !
92 ! RCS Revision history:
93 !
94 ! $Log: RVAV_PlotResults.F90,v $
95 ! Revision 1.3 2008/12/06 08:45:08 mtcampbe
96 ! Updated license.
97 !
98 ! Revision 1.2 2008/11/19 22:18:19 mtcampbe
99 ! Added Illinois Open Source License/Copyright
100 !
101 ! Revision 1.1 2004/12/01 22:43:25 fnajjar
102 ! Initial revision after changing case
103 !
104 ! Revision 1.3 2003/05/15 02:57:08 jblazek
105 ! Inlined index function.
106 !
107 ! Revision 1.2 2002/09/10 00:01:45 f-najjar
108 ! Variable global moved into regions()
109 !
110 ! Revision 1.1.1.1 2002/06/03 21:41:29 f-najjar
111 ! Initial Import of RocVaV
112 !
113 !******************************************************************************
114 
115 
116 
117 
118 
119 
120 
j indices k indices k
Definition: Indexing.h:6
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rvav_plotresults(global, iCompare, iNodes, jNodes, kNodes)
blockLoc i
Definition: read.cpp:79
void int int REAL * x
Definition: read.cpp:74
j indices j
Definition: Indexing.h:6
subroutine deregisterfunction(global)
Definition: ModError.F90:469