r5152 | xinzhang | 2011-09-26 21:04:33 -0700 (Mon, 26 Sep 2011) | 3 lines
[wrffire.git] / wrfv2_fire / external / esmf_time_f90 / ESMF_Fraction.F90
blobcb8b9662fc9aa2a56394aac553756d31e148bc83
2 ! Earth System Modeling Framework
3 ! Copyright 2002-2003, University Corporation for Atmospheric Research,
4 ! Massachusetts Institute of Technology, Geophysical Fluid Dynamics
5 ! Laboratory, University of Michigan, National Centers for Environmental
6 ! Prediction, Los Alamos National Laboratory, Argonne National Laboratory,
7 ! NASA Goddard Space Flight Center.
8 ! Licensed under the University of Illinois-NCSA license.
10 ! ESMF Fraction Module
12 !==============================================================================
14 !     ESMF Fraction Module
15       module ESMF_FractionMod
17 !==============================================================================
19 ! This file contains the Fraction class definition and all Fraction
20 ! class methods.
22 !------------------------------------------------------------------------------
23 ! INCLUDES
25 !===============================================================================
26 !BOPI
28 ! !MODULE: ESMF_FractionMod
30 ! !DESCRIPTION:
31 ! Part of ESMF F90 API wrapper of C++ implemenation
33 ! Defines F90 wrapper entry points for corresponding
34 ! C++ implementaion of class {\tt ESMC\_Fraction}
36 ! See {\tt ../include/ESMC\_Fraction.h} for complete description
38 !------------------------------------------------------------------------------
39 ! !USES:
41       implicit none
43 !------------------------------------------------------------------------------
44 ! !PRIVATE TYPES:
45       private
46 !------------------------------------------------------------------------------
47 !     ! ESMF_Fraction
49       type ESMF_Fraction
50       private
51         integer :: n    ! Integer fraction (exact) n/d; numerator
52         integer :: d    ! Integer fraction (exact) n/d; denominator
53       end type
55 !------------------------------------------------------------------------------
56 ! !PUBLIC TYPES:
57       public ESMF_Fraction
58 !------------------------------------------------------------------------------
60 ! !PUBLIC MEMBER FUNCTIONS:
62 ! !PRIVATE MEMBER FUNCTIONS:
64 !EOPI
66 !==============================================================================
68 !      contains
70 !==============================================================================
72 ! Wrappers to C++ fraction routines
74 !------------------------------------------------------------------------------
77 !------------------------------------------------------------------------------
79       end module ESMF_FractionMod