Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RFLU_DecideBuildStencilsWeights.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 stencils and gradient weights.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! global Pointer to global data
31 !
32 ! Output:
33 ! RFLU_DecideBuildStencilsWeights TRUE or FALSE
34 !
35 ! Notes: None.
36 !
37 ! ******************************************************************************
38 !
39 ! $Id: RFLU_DecideBuildStencilsWeights.F90,v 1.4 2008/12/06 08:45:05 mtcampbe Exp $
40 !
41 ! Copyright: (c) 2005 by the University of Illinois
42 !
43 ! ******************************************************************************
44 
45 LOGICAL FUNCTION rflu_decidebuildstencilsweights(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_DecideBuildStencilsWeights.F90,v $ $Revision: 1.4 $'
75 
76 ! ******************************************************************************
77 ! Initialize
78 ! ******************************************************************************
79 
81 
82 ! ******************************************************************************
83 ! Determine whether should build stencils. NOTE need initFlowFlag here also
84 ! because this signals that errors can be computed...
85 ! ******************************************************************************
86 
87  IF ( (global%postDiscFlag .EQV. .true.) .OR. &
88  (global%postGradFlag .EQV. .true.) .OR. &
89  (global%postVortFlag .EQV. .true.) .OR. &
90  (global%postVortCoreFlag .EQV. .true.) ) THEN
92  END IF ! global%postDiscFlag
93 
94 ! ******************************************************************************
95 ! End
96 ! ******************************************************************************
97 
99 
100 ! ******************************************************************************
101 !
102 ! RCS Revision history:
103 !
104 ! $Log: RFLU_DecideBuildStencilsWeights.F90,v $
105 ! Revision 1.4 2008/12/06 08:45:05 mtcampbe
106 ! Updated license.
107 !
108 ! Revision 1.3 2008/11/19 22:18:16 mtcampbe
109 ! Added Illinois Open Source License/Copyright
110 !
111 ! Revision 1.2 2006/04/07 15:19:26 haselbac
112 ! Removed tabs
113 !
114 ! Revision 1.1 2006/01/06 22:02:58 haselbac
115 ! Initial revision
116 !
117 ! ******************************************************************************
118 
119 
120 
121 
122 
123 
LOGICAL function rflu_decidebuildstencilsweights(global)