source: branches/publications/ORCHIDEE-MICT-OP-r6850/src_math/math.f90 @ 7862

Last change on this file since 7862 was 5849, checked in by albert.jornet, 6 years ago

Fix: stomate_Cforcing timestep index ( tiket:550 ):

  • days_since_beg is not reliable to calculate the day of the year.
  • The length time across the years now takes into account leap years
  • do not use one_year (average length of year)

New: -unittest argument for makeorchidee_fcm
New: type t_equal_division for integer division. The remainder must be assigned.
New: global time variables day_of_year and year0 (time.f90)
New: subroutine to calculate the time_get_day_of_year (time.f90)
New: unit tests for:

  • equal_division
  • time_get_day_of_year (julian and gregorian)
  • stomate_Cforcing timestep calculation

New: math library

File size: 838 bytes
Line 
1! ===================================================================================================\n
2! MODULE        : math
3!
4! CONTACT       : orchidee-help _at_ listes.ipsl.fr
5!
6! LICENCE       : IPSL (2006)
7! This software is governed by the CeCILL licence see ORCHIDEE/ORCHIDEE_CeCILL.LIC
8!
9!>\BRIEF        Main reference to the math library
10!!
11!!\n DESCRIPTION : Add here all mathematics subroutines
12!!
13!! RECENT CHANGE(S) : None
14!!
15!! REFERENCE(S) :
16!!
17!! SVN          :
18!! $HeadURL: svn://forge.ipsl.jussieu.fr/orchidee/branches/ORCHIDEE-MICT/ORCHIDEE/src_sechiba/hydrol.f90 $
19!! $Date: 2018-10-09 11:43:16 +0200 (Tue, 09 Oct 2018) $
20!! $Revision: 5477 $
21!! \n
22!_ ===============================================================================================\n
23MODULE math 
24
25  ! add here
26  USE equal_division
27
28END MODULE math
Note: See TracBrowser for help on using the repository browser.