Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_DecideBuildGeometry.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: Determine whether to build geometry.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! global Pointer to global data
31 !
32 ! Output:
33 ! RFLU_DecideBuildGeometry TRUE or FALSE
34 !
35 ! Notes: None.
36 !
37 ! ******************************************************************************
38 !
39 ! $Id: RFLU_DecideBuildGeometry.F90,v 1.7 2008/12/06 08:45:05 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2004-2005 by the University of Illinois
42 !
43 ! ******************************************************************************
44 
45 LOGICAL FUNCTION rflu_decidebuildgeometry(global)
46 
47  USE moddatatypes
48  USE moderror
49  USE modparameters
50  USE modglobal, ONLY: t_global
51 
52  IMPLICIT NONE
53 
54 ! ******************************************************************************
55 ! Declarations and definitions
56 ! ******************************************************************************
57 
58 ! ==============================================================================
59 ! Arguments
60 ! ==============================================================================
61 
62  TYPE(t_global), POINTER :: global
63 
64 ! ==============================================================================
65 ! Locals
66 ! ==============================================================================
67 
68  CHARACTER(CHRLEN) :: rcsidentstring
69 
70 ! ******************************************************************************
71 ! Start
72 ! ******************************************************************************
73 
74  rcsidentstring = '$RCSfile: RFLU_DecideBuildGeometry.F90,v $ $Revision: 1.7 $'
75 
76 ! ******************************************************************************
77 ! Initialize
78 ! ******************************************************************************
79 
80  rflu_decidebuildgeometry = .false.
81 
82 ! ******************************************************************************
83 ! Determine whether should build geometry. NOTE need initFlowFlag here also
84 ! because this signals that errors can be computed...
85 ! ******************************************************************************
86 
87  IF ( (global%initFlowFlag == initflow_fromhardcode) .OR. &
88  (global%postExtractFlag .EQV. .true.) .OR. &
89  (global%postInterpType == interp_type_proper) .OR. &
90  (global%postDiscFlag .EQV. .true.) .OR. &
91  (global%postVortFlag .EQV. .true.) .OR. &
92  (global%postVortCoreFlag .EQV. .true.) ) THEN
94  END IF ! global%initFlowFlag
95 
96 ! ******************************************************************************
97 ! End
98 ! ******************************************************************************
99 
100 END FUNCTION rflu_decidebuildgeometry
101 
102 ! ******************************************************************************
103 !
104 ! RCS Revision history:
105 !
106 ! $Log: RFLU_DecideBuildGeometry.F90,v $
107 ! Revision 1.7 2008/12/06 08:45:05 mtcampbe
108 ! Updated license.
109 !
110 ! Revision 1.6 2008/11/19 22:18:16 mtcampbe
111 ! Added Illinois Open Source License/Copyright
112 !
113 ! Revision 1.5 2006/04/07 15:19:26 haselbac
114 ! Removed tabs
115 !
116 ! Revision 1.4 2005/12/02 22:12:43 haselbac
117 ! Bug fix: Added test for postVort{Core}Flag
118 !
119 ! Revision 1.3 2005/06/02 17:44:06 haselbac
120 ! Bug fix: Added test for postDiscFlag
121 !
122 ! Revision 1.2 2005/04/22 15:23:54 haselbac
123 ! Included extraction flag in making decision
124 !
125 ! Revision 1.1 2004/07/21 14:58:55 haselbac
126 ! Initial revision
127 !
128 ! ******************************************************************************
129 
130 
131 
132 
133 
134 
LOGICAL function rflu_decidebuildgeometry(global)