Skip to content

Commit a1f53d1

Browse files
committed
modify the comments according to the Doxygen standard
1 parent 26fa4d5 commit a1f53d1

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

source/module_base/math_integral.h

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@ class Integral
2020
* @param func [in] function to be integrated
2121
* @param rab [in] a list of interval
2222
* @param asum [out] the final integral value
23+
* @author Peize Lin
24+
* @date 2017-10-02
2325
*/
24-
static void Simpson_Integral // Peize Lin accelerate 2017-10-02
26+
static void Simpson_Integral
2527
(
2628
const int mesh,
2729
const double * const func,
@@ -36,8 +38,10 @@ class Integral
3638
* @param func [in] function to be integrated
3739
* @param dr [in] interval
3840
* @param asum [out] the final integral value
41+
* @author Peize Lin
42+
* @date 2017-10-02
3943
*/
40-
static void Simpson_Integral //Peize Lin accelerate 2017-10-02
44+
static void Simpson_Integral
4145
(
4246
const int mesh,
4347
const double * const func,
@@ -53,8 +57,10 @@ class Integral
5357
* @param func [in] function to be integrated
5458
* @param rab [in] a list of interval
5559
* @param asum [out] a list of integral value. asum[i] = integral from 0 to i. The max index of asum is an even (mesh-1 or mesh).
60+
* @author Peize Lin
61+
* @date 2016-02-14
5662
*/
57-
static void Simpson_Integral_0toall //Peize Lin add 2016-02-14.
63+
static void Simpson_Integral_0toall
5864
(
5965
const int mesh,
6066
const double * const func,
@@ -69,8 +75,10 @@ class Integral
6975
* @param func [in] function to be integrated
7076
* @param rab [in] r(i) * dr(i)/di * di or (b-a)/2n
7177
* @param asum [out] a list of integral value. sum[i] = integral from i to mesh-1.
78+
* @author Peize Lin
79+
* @date 2016-02-14
7280
*/
73-
static void Simpson_Integral_alltoinf //Peize Lin add 2016-02-14.
81+
static void Simpson_Integral_alltoinf
7482
(
7583
const int mesh,
7684
const double * const func,

0 commit comments

Comments
 (0)