Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
standalone/RFLO_GetBoundaryValues.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: obtain boundary values from an external source.
26 !
27 ! Description: none.
28 !
29 ! Input: region = dimensions and topology.
30 !
31 ! Output: region%levels%patch = input values for boundary conditions.
32 !
33 ! Notes: none.
34 !
35 !******************************************************************************
36 !
37 ! $Id: RFLO_GetBoundaryValues.F90,v 1.3 2008/12/06 08:44:45 mtcampbe Exp $
38 !
39 ! Copyright: (c) 2001 by the University of Illinois
40 !
41 !******************************************************************************
42 
43 SUBROUTINE rflo_getboundaryvalues( region )
44 
45  USE moddatatypes
46  USE moddatastruct, ONLY : t_region
47  USE moderror
48  USE modparameters
49  IMPLICIT NONE
50 
51 ! ... parameters
52  TYPE(t_region) :: region
53 
54 !******************************************************************************
55 
56  CALL registerfunction( region%global,'RFLO_GetBoundaryValues',&
57  'RFLO_GetBoundaryValues.F90' )
58 
59 ! give error message
60 
61  CALL errorstop( region%global,err_external_funct,__line__ )
62 
63 ! finalize
64 
65  CALL deregisterfunction( region%global )
66 
67 END SUBROUTINE rflo_getboundaryvalues
68 
69 !******************************************************************************
70 !
71 ! RCS Revision history:
72 !
73 ! $Log: RFLO_GetBoundaryValues.F90,v $
74 ! Revision 1.3 2008/12/06 08:44:45 mtcampbe
75 ! Updated license.
76 !
77 ! Revision 1.2 2008/11/19 22:17:57 mtcampbe
78 ! Added Illinois Open Source License/Copyright
79 !
80 ! Revision 1.1 2004/12/01 21:29:35 haselbac
81 ! Initial revision after changing case
82 !
83 ! Revision 1.4 2003/05/15 02:57:06 jblazek
84 ! Inlined index function.
85 !
86 ! Revision 1.3 2002/09/20 22:22:37 jblazek
87 ! Finalized integration into GenX.
88 !
89 ! Revision 1.2 2002/09/05 17:40:22 jblazek
90 ! Variable global moved into regions().
91 !
92 ! Revision 1.1 2002/08/15 19:43:11 jblazek
93 ! Prepared solver to be optionally linked with an external driver.
94 !
95 !******************************************************************************
96 
97 
98 
99 
100 
101 
102 
subroutine registerfunction(global, funName, fileName)
Definition: ModError.F90:449
subroutine rflo_getboundaryvalues(region)
subroutine errorstop(global, errorCode, errorLine, addMessage)
Definition: ModError.F90:483
subroutine deregisterfunction(global)
Definition: ModError.F90:469