doxygen仅显示fortran中的一个文档
我想在这里展示一个fortran代码示例:doxygen仅显示fortran中的一个文档,doxygen,Doxygen,我想在这里展示一个fortran代码示例: SUBROUTINE CALHEAT(ISTL_) ! DESCRIPTION: !! @ details !> Subroutine CALHEAT takes the information from the atmospheric boundary !> file and the wind forcing file and calculates the net heat flux across !>
SUBROUTINE CALHEAT(ISTL_)
! DESCRIPTION:
!! @ details
!> Subroutine CALHEAT takes the information from the atmospheric boundary
!> file and the wind forcing file and calculates the net heat flux across
!> the water surface boundary.
!
! The heat flux terms are derived from a paper by Rosati
! and Miyakoda (1988) entitled "A General Circulation Model for Upper Ocean
! Simulation". The heat flux is prescribed by term for the following
! influxes and outfluxes:
!
! - Short Wave Incoming Radiation (+)
! - Net Long Wave Radiation (+/-)
! - Sensible Heat Flux (convection -)
! - Latent Heat Flux (evaporation +/-)
!
! Two formulations of the Latent Heat Flux are provided. The first is from
! the Rosati and Miyakoda paper, the second is an alternate formulation by
! Brady, Graves, and Geyer (1969). The second formulation was taken from
! "Hydrodynamics and Transport for Water Quality Modeling" (Martin and
! McCutcheon, 1999). The Rosati and Miyakoda formulation will have zero
! evaporative cooling or heating if wind speed goes to zero. The Brady,
! Graves, and Geyer formulation provides for a minimum evaporative cooling
! under zero wind speed.
!
! MODIFICATION HISTORY:
!! @author
!> Date Author Comments
!
!
!! @ param[in]
!> VARIABLE LIST:
!>
!> CLOUDT = Cloud cover (0 to 10)<BR>
!> HCON = Sensible heat flux (W/m2)<BR>
!> HLAT = Latent heat flux (W/m2)<BR>
!> HLWBR = Net longwave radiation (atmospheric long wave plus back
!> radiation, W/m2)<BR>
!> SOLSWRT = Short wave incoming radiation (W/m2)<BR>
!> SVPW = Saturation vapor pressure in mb based upon the water surface
!> temperature<BR>
!> TATMT = Temperature of air above water surface (deg C)<BR>
!> TEM = Water temperature in cell (deg C)<BR>
!> VPA = Vapor pressure of air at near surface air temperature (mb)<BR>
!> WINDST = Wind speed at 10 meters over cell surface (m/s)<BR>
!--------------------------------------------------------------------------------------------------
子程序CALHEAT(ISTL)
! 说明:
!! @ 细节
!> 子程序CALHEAT从大气边界获取信息
!> 文件和风力文件,并计算穿过的净热通量
!> 水面边界。
!
! 热流项来自Rosati的一篇论文
! 和Miyakoda(1988)题为“上层海洋的大气环流模式”
!模拟”。热通量按下列术语规定:
! 流入和流出:
!
! - 短波入射辐射(+)
! - 净长波辐射(+/-)
! - 感热通量(对流-)
! - 潜热通量(蒸发+/-)
!
! 给出了潜热通量的两种计算公式。第一个是来自
! 罗莎蒂和宫田的纸张,第二种是由
! 布雷迪、格雷夫斯和盖尔(1969)。第二个公式取自
! “水质建模的流体力学和运输”(Martin和
!McCutcheon,1999年)。Rosati和Miyakoda配方将为零
! 如果风速为零,蒸发冷却或加热。布雷迪号,
! Graves和Geyer公式提供了最小的蒸发冷却
! 在零风速下。
!
! 修改历史记录:
!! @作者
!> 日期作者评论
!
!
!! @ 参数[in]
!> 变量列表:
!>
!> CLOUDT=云量(0到10)
!> HCON=显热通量(W/m2)
!> HLAT=潜热通量(W/m2)
!> HLWBR=净长波辐射(大气长波加反向辐射)
!>辐射,W/m2)
!> SOLSWRT=短波入射辐射(W/m2)
!> SVPW=基于水面的饱和蒸汽压,单位为mb
!> 温度
!> TATMT=水面以上空气温度(摄氏度)
!> TEM=电池中的水温(摄氏度)
!> VPA=近地表空气温度下的空气蒸汽压(mb)
!> WINDST=单元表面10米处的风速(m/s)
!--------------------------------------------------------------------------------------------------
我想使用deoxygen显示作者、详细信息和参数。但是,doxygen仅输出参数。有人能指出我做错了什么吗
示例输出如下所示:
谢谢 使用特殊命令。可以找到完整的列表 比如说
\author { list of authors }
\param [(dir)] <parameter-name> { parameter description }
在使用子程序命令之前,您必须先编写特定于doxygen的信息!有关更多信息,请参阅。注意,对于Fortran例程参数,也可以在变量后面添加文档,例如整数、意图(in)::CLOUDT!<云量;在这种情况下,会自动检测变量的意图和名称。
\author Author name
\param [in] CLOUDT Cloud cover (0 to 10)
\param [in] HCON Sensible heat flux (W/m2)
\param [in] HLAT Latent heat flux (W/m2)
\param [in] HLWBR Net longwave radiation (atmospheric long wave plus back radiation, W/m2)
\param [in] SOLSWRT Short wave incoming radiation (W/m2)
\param [in] SVPW Saturation vapor pressure in mb based upon the water surface temperature
\param [in] TATMT Temperature of air above water surface (deg C)
\param [in] TEM Water temperature in cell (deg C)
\param [in] VPA Vapor pressure of air at near surface air temperature (mb)
\param [in] WINDST Wind speed at 10 meters over cell surface (m/s)