From d862b8d0b3819db9d78bea04a90dc2070f6acd37 Mon Sep 17 00:00:00 2001 From: Edward Hartnett Date: Wed, 10 Mar 2021 06:26:01 -0700 Subject: [PATCH] cleared doxygen warnings from vcoord_gen utility --- sorc/vcoord_gen.fd/docs/Doxyfile.in | 2 +- sorc/vcoord_gen.fd/driver.f90 | 6 ++++++ sorc/vcoord_gen.fd/matrix_utils.f90 | 26 +++++++++----------------- sorc/vcoord_gen.fd/vcoord_gen.f90 | 14 +++++--------- 4 files changed, 21 insertions(+), 27 deletions(-) diff --git a/sorc/vcoord_gen.fd/docs/Doxyfile.in b/sorc/vcoord_gen.fd/docs/Doxyfile.in index 69019576f..f87bc81c4 100644 --- a/sorc/vcoord_gen.fd/docs/Doxyfile.in +++ b/sorc/vcoord_gen.fd/docs/Doxyfile.in @@ -733,7 +733,7 @@ WARN_LOGFILE = # WARN_AS_ERROR causes warnings to be treated as errors. -WARN_AS_ERROR = NO +WARN_AS_ERROR = YES #--------------------------------------------------------------------------- # Configuration options related to the input files diff --git a/sorc/vcoord_gen.fd/driver.f90 b/sorc/vcoord_gen.fd/driver.f90 index 2e6969b36..0da96f113 100644 --- a/sorc/vcoord_gen.fd/driver.f90 +++ b/sorc/vcoord_gen.fd/driver.f90 @@ -1,4 +1,10 @@ !> @file +!! @brief Driver for vcoord_gen. +!! @author Mark Iredell @date 2008-08-01 + +!> Driver for vcoord_gen. +!! @return 0 for success, error code otherwise. +!! @author Mark Iredell @date 2008-08-01 program driver implicit none integer levs,lupp,k diff --git a/sorc/vcoord_gen.fd/matrix_utils.f90 b/sorc/vcoord_gen.fd/matrix_utils.f90 index 365cbdc89..fc791efb8 100644 --- a/sorc/vcoord_gen.fd/matrix_utils.f90 +++ b/sorc/vcoord_gen.fd/matrix_utils.f90 @@ -1,13 +1,10 @@ !> @file -!! Lower and upper triangular decomposition -!! @author Iredell @date 2008-08-01 -! +!! Lower and upper triangular decomposition. +!! @author Mark Iredell @date 2008-08-01 + !> This subprogram decomposes a matrix into a product of !! lower and upper triangular matrices. !! -!! Program history log: -!! - 2008-08-01 Mark Iredell -!! !! @param[inout] a - input: a real(np,np) matrix (will be overwritten) output: !! - output real(np,np) LU-decomposed matrix !! (U is upper part of A, including diagonal; @@ -19,7 +16,7 @@ !! (original A rows are permuted in order i with indx(i)) !! @param[out] d real determinant permutation (1 or -1, or 0 if singular) !! (determinant is output diagonal product times d) -!! +!! @author Mark Iredell @date 2008-08-01 subroutine ludcmp(a,n,np,indx,d) implicit none integer,intent(in):: n,np @@ -92,19 +89,14 @@ subroutine ludcmp(a,n,np,indx,d) !! This subprogram back substitutes to solve decomposed !! lower and upper triangular matrices as outputted by ludcmp. !! -!! Program history log: -!! - 2008-08-01 Mark Iredell -!! -!! Input argument list: -!! @param[in] a real(np,np) LU-decomposed matrix -!! (from ludcmp) -!! @param[in] n integer order of matrix -!! @param[in] np integer dimension of matrix -!! @param[in] indx integer(n) pivot indices (from ludcmp) +!! @param[in] a real(np,np) LU-decomposed matrix (from ludcmp) +!! @param[in] n integer order of matrix +!! @param[in] np integer dimension of matrix +!! @param[in] indx integer(n) pivot indices (from ludcmp) !! @param[inout] b - input real(n) rhs vector of linear problem (will be overwritten) !! - output real(n) solution of linear problem !! (original A times output B equals original B) -!! +!! @author Mark Iredell @date 2008-08-01 subroutine lubksb(a,n,np,indx,b) implicit none integer,intent(in):: n,np diff --git a/sorc/vcoord_gen.fd/vcoord_gen.f90 b/sorc/vcoord_gen.fd/vcoord_gen.f90 index 4a4f45c2d..b3a444109 100644 --- a/sorc/vcoord_gen.fd/vcoord_gen.f90 +++ b/sorc/vcoord_gen.fd/vcoord_gen.f90 @@ -1,9 +1,8 @@ !> @file -!! -!! vcoord_gen Generates hybrid coordinate interface profiles -!! @author Iredell @date 2008-08-01 -! -!! This subprogram generates hybrid coordinate interface profiles +!! @brief Generates hybrid coordinate interface profiles. +!! @author Mark Iredell @date 2008-08-01 + +!> This subprogram generates hybrid coordinate interface profiles !! from a few given parameters. The hybrid coordinate is intended to start !! out at the bottom in pure sigma and end up at the top in pure pressure, !! with a smooth transition in between. The pressure thickness is close to @@ -19,9 +18,6 @@ !! !! The procedure for the calculation is described in the remarks section below. !! -!! Program history log: -!! - 2008-08-01 Mark Iredell -!! !! @param[in] levs integer number of levels !! @param[in] lupp integer number of levels below pupp !! @param[in] pbot real nominal surface pressure (Pa) @@ -151,7 +147,7 @@ !!
 !!     p(psfc)=ak+bk*psfc
 !! 
-!! +!! @author Mark Iredell @date 2008-08-01 subroutine vcoord_gen(levs,lupp,pbot,psig,ppre,pupp,ptop,& dpbot,dpsig,dppre,dpupp,dptop,pmin,ak,bk) implicit none