source: LMDZ6/branches/cirrus/libf/dyn3dmem/advtrac_mod.F90 @ 5422

Last change on this file since 5422 was 4050, checked in by dcugnet, 3 years ago

Second commit for new tracers.

  • include most of the keys in the tracers descriptor vector "tracers(:)".
  • fix in phylmdiso/cv3_routines: fq_* variables were used where their fxt_* counterparts were expected.
  • multiple IF(nqdesc(iq)>0) and IF(nqfils(iq)>0) tests suppressed, because they are not needed: "do ... enddo" loops with 0 upper bound are not executed.
  • remove French accents from comments (encoding problem) in phylmdiso/cv3_routines and phylmdiso/cv30_routines.
  • modifications in "isotopes_verif_mod", where the call to function "iso_verif_tag17_q_deltad_chn" in "iso_verif_tag17_q_deltad_chn" was not detected at linking stage, although defined in the same module (?).
  • Property copyright set to
    Name of program: LMDZ
    Creation date: 1984
    Version: LMDZ5
    License: CeCILL version 2
    Holder: Laboratoire de m\'et\'eorologie dynamique, CNRS, UMR 8539
    See the license file in the root directory
File size: 734 bytes
Line 
1MODULE advtrac_mod
2
3  REAL,POINTER,SAVE :: finmasse(:,:)
4 
5CONTAINS
6
7  SUBROUTINE advtrac_allocate
8  USE bands
9  USE allocate_field_mod
10  USE parallel_lmdz
11  USE vlspltgen_mod
12  IMPLICIT NONE
13  INCLUDE "dimensions.h"
14  INCLUDE "paramet.h"
15  TYPE(distrib),POINTER :: d
16   
17    d=>distrib_vanleer
18    CALL allocate_u(finmasse,llm,d)
19    CALL vlspltgen_allocate
20  END SUBROUTINE advtrac_allocate
21 
22  SUBROUTINE advtrac_switch_vanleer(dist)
23  USE allocate_field_mod
24  USE bands
25  USE parallel_lmdz
26  USE vlspltgen_mod
27  IMPLICIT NONE
28    TYPE(distrib),INTENT(IN) :: dist
29 
30    CALL switch_u(finmasse,distrib_vanleer,dist)
31
32    CALL vlspltgen_switch_vanleer(dist)
33
34  END SUBROUTINE advtrac_switch_vanleer 
35 
36END MODULE advtrac_mod 
Note: See TracBrowser for help on using the repository browser.