~ubuntu-branches/ubuntu/precise/code-saturne/precise

« back to all changes in this revision

Viewing changes to src/base/memcs1.f90

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2011-11-24 00:00:08 UTC
  • mfrom: (6.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20111124000008-2vo99e38267942q5
Tags: 2.1.0-3
Install a missing file

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
!-------------------------------------------------------------------------------
2
 
 
3
 
!     This file is part of the Code_Saturne Kernel, element of the
4
 
!     Code_Saturne CFD tool.
5
 
 
6
 
!     Copyright (C) 1998-2009 EDF S.A., France
7
 
 
8
 
!     contact: saturne-support@edf.fr
9
 
 
10
 
!     The Code_Saturne Kernel is free software; you can redistribute it
11
 
!     and/or modify it under the terms of the GNU General Public License
12
 
!     as published by the Free Software Foundation; either version 2 of
13
 
!     the License, or (at your option) any later version.
14
 
 
15
 
!     The Code_Saturne Kernel is distributed in the hope that it will be
16
 
!     useful, but WITHOUT ANY WARRANTY; without even the implied warranty
17
 
!     of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 
!     GNU General Public License for more details.
19
 
 
20
 
!     You should have received a copy of the GNU General Public License
21
 
!     along with the Code_Saturne Kernel; if not, write to the
22
 
!     Free Software Foundation, Inc.,
23
 
!     51 Franklin St, Fifth Floor,
24
 
!     Boston, MA  02110-1301  USA
25
 
 
26
 
!-------------------------------------------------------------------------------
27
 
 
28
 
subroutine memcs1 &
29
 
!================
30
 
 
31
 
 ( idbia0 , idbra0 ,                                              &
32
 
   ncesup , nfbsup , ncecpl , nfbcpl , ncencp , nfbncp ,          &
33
 
   ilcesu , ilfbsu , ilcecp , ilfbcp , ilcenc , ilfbnc ,          &
34
 
   ifinia , ifinra )
35
 
 
36
 
!===============================================================================
37
 
!  FONCTION
38
 
!  --------
39
 
 
40
 
!  GESTION MEMOIRE POUR LE COUPLAGE
41
 
 
42
 
!-------------------------------------------------------------------------------
43
 
! Arguments
44
 
!__________________.____._____.________________________________________________.
45
 
! name             !type!mode ! role                                           !
46
 
!__________________!____!_____!________________________________________________!
47
 
!                  !    !     !                                                !
48
 
!__________________.____._______________.________________________________________________!
49
 
 
50
 
!     TYPE : E (ENTIER), R (REEL), A (ALPHANUMERIQUE), T (TABLEAU)
51
 
!            L (LOGIQUE)   .. ET TYPES COMPOSES (EX : TR TABLEAU REEL)
52
 
!     MODE : <-- donnee, --> resultat, <-> Donnee modifiee
53
 
!            --- tableau de travail
54
 
!===============================================================================
55
 
 
56
 
implicit none
57
 
 
58
 
!===============================================================================
59
 
! Common blocks
60
 
!===============================================================================
61
 
 
62
 
 
63
 
!===============================================================================
64
 
 
65
 
! Arguments
66
 
 
67
 
integer          idbia0 , idbra0
68
 
integer          ncesup , nfbsup
69
 
integer          ncecpl , nfbcpl , ncencp , nfbncp
70
 
integer          ilcesu , ilfbsu
71
 
integer          ilcecp , ilfbcp , ilcenc , ilfbnc
72
 
integer          ifinia , ifinra
73
 
 
74
 
! Local variables
75
 
 
76
 
integer          idebia , idebra
77
 
 
78
 
 
79
 
!===============================================================================
80
 
 
81
 
!===================================================================
82
 
! 1) INITIALISATIONS
83
 
!===================================================================
84
 
 
85
 
idebia = idbia0
86
 
idebra = idbra0
87
 
 
88
 
!===================================================================
89
 
! 2) DIVERS APPELS
90
 
!===================================================================
91
 
 
92
 
! Informations g�om�triques
93
 
!   - on r�cup�re les infos de la structure "couplage" en C
94
 
 
95
 
ilcesu = idebia
96
 
ilfbsu = ilcesu + ncesup
97
 
ilcecp = ilfbsu + nfbsup
98
 
ilfbcp = ilcecp + ncecpl
99
 
ilcenc = ilfbcp + nfbcpl
100
 
ilfbnc = ilcenc + ncencp
101
 
ifinia = ilfbnc + nfbncp
102
 
 
103
 
CALL IASIZE('MEMCS1',IFINIA)
104
 
!==========
105
 
 
106
 
ifinra = idebra
107
 
 
108
 
return
109
 
end subroutine