My Project
ice_work.f90
Go to the documentation of this file.
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 !/===========================================================================/
13 ! CVS VERSION INFORMATION
14 ! $Id$
15 ! $Name$
16 ! $Revision$
17 !/===========================================================================/
18 
19 !=======================================================================
20 !
21 !BOP
22 !
23 ! !MODULE: ice_work - globally accessible, temporary work arrays
24 !
25 ! !DESCRIPTION:
26 !
27 ! The intent is to save memory by allocating global arrays only when
28 ! necessary. Globally accessible, local (i.e., on-processor) work
29 ! arrays are also available to conserve memory. These arrays should
30 ! be used only within a single subroutine!
31 !
32 ! !REVISION HISTORY:
33 !
34 ! authors Elizabeth C. Hunke, LANL
35 !
36 ! !INTERFACE:
37 !
38  module ice_work
39 !
40 ! !USES:
41 !
42  use ice_kinds_mod
43  use ice_domain
44 !
45 !EOP
46 !
47  implicit none
48 
49  ! global
50  real (kind=dbl_kind), dimension(:,:), allocatable :: work_g1
51  real (kind=dbl_kind), dimension(:,:), allocatable :: work_g2
52  real (kind=real_kind),dimension(:,:), allocatable :: work_gr
53 
54  ! local
55 ! real (kind=dbl_kind) ::
56 ! & work_l1(imt_local,jmt_local)
57 ! &, work_l2(imt_local,jmt_local)
58 ! &, worka(ilo:ihi,jlo:jhi)
59 ! &, workb(ilo:ihi,jlo:jhi)
60 
61  real (kind=dbl_kind), dimension(:,:), allocatable :: &
63 
64 
65 !=======================================================================
66 
67  end module ice_work
68 
69 !=======================================================================
integer, parameter real_kind
integer, parameter dbl_kind
real(kind=dbl_kind), dimension(:,:), allocatable work_g2
Definition: ice_work.f90:51
real(kind=dbl_kind), dimension(:,:), allocatable worka
Definition: ice_work.f90:61
real(kind=dbl_kind), dimension(:,:), allocatable work_l2
Definition: ice_work.f90:61
real(kind=real_kind), dimension(:,:), allocatable work_gr
Definition: ice_work.f90:52
real(kind=dbl_kind), dimension(:,:), allocatable workb
Definition: ice_work.f90:61
real(kind=dbl_kind), dimension(:,:), allocatable work_l1
Definition: ice_work.f90:61
real(kind=dbl_kind), dimension(:,:), allocatable work_g1
Definition: ice_work.f90:50