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