MAIC-2  Revision 19
 All Classes Files Functions Variables
calc_top_maic2.F90
Go to the documentation of this file.
1 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 !
3 ! Subroutine : c a l c _ t o p _ m a i c 2
4 !
5 !> @file
6 !!
7 !! Computation of the ice-cap topography.
8 !!
9 !! @section Copyright
10 !!
11 !! Copyright 2010-2013 Ralf Greve, Bjoern Grieger, Oliver J. Stenzel
12 !!
13 !! @section License
14 !!
15 !! This file is part of MAIC-2.
16 !!
17 !! MAIC-2 is free software: you can redistribute it and/or modify
18 !! it under the terms of the GNU General Public License as published by
19 !! the Free Software Foundation, either version 3 of the License, or
20 !! (at your option) any later version.
21 !!
22 !! MAIC-2 is distributed in the hope that it will be useful,
23 !! but WITHOUT ANY WARRANTY; without even the implied warranty of
24 !! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25 !! GNU General Public License for more details.
26 !!
27 !! You should have received a copy of the GNU General Public License
28 !! along with MAIC-2. If not, see <http://www.gnu.org/licenses/>.
29 !<
30 !+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
31 
32 !-------------------------------------------------------------------------------
33 !> Computation of the ice-cap topography.
34 !<------------------------------------------------------------------------------
35 subroutine calc_top_maic2(time, dtime)
36 
37 use maic2_types
39 
40 implicit none
41 
42 real(dp), intent(in) :: time, dtime
43 
44 integer(i4b) :: l, n
45 
46 !-------- Numerical integration --------
47 
48 do l=0, lmax
49  h_new(l) = h(l) + dtime*a_net(l)
50 end do
51 
52 end subroutine calc_top_maic2
53 !