Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Méso-NH code
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RODIER Quentin
Méso-NH code
Commits
d3ef9cbe
Commit
d3ef9cbe
authored
7 years ago
by
Juan Escobar
Browse files
Options
Downloads
Patches
Plain Diff
Maud & Juan 1/07/2017: Add DIAG chimical surface fluxes
parent
73b6c225
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/MNH/modd_ch_flxn.f90
+66
-0
66 additions, 0 deletions
src/MNH/modd_ch_flxn.f90
with
66 additions
and
0 deletions
src/MNH/modd_ch_flxn.f90
0 → 100644
+
66
−
0
View file @
d3ef9cbe
!MNH_LIC Copyright 1994-2014 CNRS, Meteo-France and Universite Paul Sabatier
!MNH_LIC This is part of the Meso-NH software governed by the CeCILL-C licence
!MNH_LIC version 1. See LICENSE, CeCILL-C_V1-en.txt and CeCILL-C_V1-fr.txt
!MNH_LIC for details. version 1.
!-----------------------------------------------------------------
!--------------- special set of characters for RCS information
!-----------------------------------------------------------------
! $Source: /home/cvsroot/MNH-VX-Y-Z/src/MNH/modd_ch_flxn.f90,v $ $Revision: 1.1 $
! MASDEV5_2 modd 2016/06/27 14:05:40
!-----------------------------------------------------------------
! #####################
MODULE
MODD_CH_FLX_n
! ######################
!
!!
!! PURPOSE
!! -------
! Save the net surface flux at the surface
! for output with diag
!
!!
!!** IMPLICIT ARGUMENTS
!! ------------------
!! None
!!
!
!! AUTHOR
!! ------
!! P. Tulet *Meteo France*
!!
!! MODIFICATIONS
!! -------------
!! 12/07/16 (M. Leriche) keep only the flux
!!
!------------------------------------------------------------------------------
!
!* 0. DECLARATIONS
! ------------
!
USE
MODD_PARAMETERS
,
ONLY
:
JPMODELMAX
IMPLICIT
NONE
TYPE
CH_FLX_t
!
REAL
,
DIMENSION
(:,:,:),
POINTER
::
XCHFLX
=>
NULL
()
! chemical fluxes ppp.m/s at t
!
END
TYPE
CH_FLX_t
TYPE
(
CH_FLX_t
),
DIMENSION
(
JPMODELMAX
),
TARGET
,
SAVE
::
CH_FLX_MODEL
REAL
,
DIMENSION
(:,:,:),
POINTER
::
XCHFLX
=>
NULL
()
CONTAINS
SUBROUTINE
CH_FLX_GOTO_MODEL
(
KFROM
,
KTO
)
INTEGER
,
INTENT
(
IN
)
::
KFROM
,
KTO
!
! Save current state for allocated arrays
CH_FLX_MODEL
(
KFROM
)
%
XCHFLX
=>
XCHFLX
!
! Current model is set to model KTO
XCHFLX
=>
CH_FLX_MODEL
(
KTO
)
%
XCHFLX
END
SUBROUTINE
CH_FLX_GOTO_MODEL
END
MODULE
MODD_CH_FLX_n
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment