Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Rocflu_unload_module.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: Close window to Rocflu.
26 !
27 ! Description: None.
28 !
29 ! Input:
30 ! winName Name of Rocflu window
31 !
32 ! Output: None.
33 !
34 ! Notes: None.
35 !
36 !******************************************************************************
37 !
38 ! $Id: Rocflu_unload_module.F90,v 1.3 2008/12/06 08:44:01 mtcampbe Exp $
39 !
40 ! Copyright: (c) 2002 by the University of Illinois
41 !
42 !******************************************************************************
43 
44 SUBROUTINE rocflu_unload_module(winName)
45 
47 
48  IMPLICIT NONE
49 
50  include 'roccomf90.h'
51 
52  INTERFACE
53  SUBROUTINE com_get_pointer(attr,ptr,asso)
54  USE modrocstar, ONLY: t_globalgenx
55  CHARACTER(*), INTENT(IN) :: attr
56  TYPE(t_globalgenx), POINTER :: ptr
57  EXTERNAL asso
58  END SUBROUTINE com_get_pointer
59  END INTERFACE
60 
61 ! ... parameters
62  CHARACTER(*) :: winname
63 
64 ! ... local variables
65  TYPE(t_globalgenx), POINTER :: glb
66 
67 !******************************************************************************
68 
69  CALL com_get_pointer(winname//'.global',glb,associate_pointer)
70 
71  DEALLOCATE(glb%global)
72  DEALLOCATE(glb)
73 
74  CALL com_delete_window(winname)
75 
76 END SUBROUTINE rocflu_unload_module
77 
78 !******************************************************************************
79 !
80 ! RCS Revision history:
81 !
82 ! $Log: Rocflu_unload_module.F90,v $
83 ! Revision 1.3 2008/12/06 08:44:01 mtcampbe
84 ! Updated license.
85 !
86 ! Revision 1.2 2008/11/19 22:17:15 mtcampbe
87 ! Added Illinois Open Source License/Copyright
88 !
89 ! Revision 1.1 2004/12/01 21:23:59 haselbac
90 ! Initial revision after changing case
91 !
92 ! Revision 1.2 2003/08/14 20:06:59 jblazek
93 ! Corrected bug associated with radiation flux qr.
94 !
95 ! Revision 1.1 2002/10/05 18:28:58 haselbac
96 ! Initial revision
97 !
98 !******************************************************************************
99 
100 
101 
102 
103 
104 
subroutine rocflu_unload_module(winName)
const COM::Attribute * attr(const COM::Attribute *a) const
Obtain the attribute on the parent pane of the node.
Definition: Manifold_2.h:404
subroutine associate_pointer(attr, ptr)
Aff_transformation_rep_baseS2< FT > * ptr() const