This file is the header file of several independent tool functions. 更多...
函数 | |
| void | DispPro (const double pro, const int step) |
| This function print a progress bar on one line of standard output. 更多... | |
| int | CreateDir (const char *pPath) |
| This is a function that recursively creates folders. 更多... | |
| int | rinv (double a[], const int n) |
| A function to caculate the inverse of the input square matrix. 更多... | |
| double | minmod2 (const double s_L, const double s_R) |
| Minmod limiter function of two variables. 更多... | |
| double | minmod3 (const double s_L, const double s_R, const double s_m) |
| Minmod limiter function of three variables. 更多... | |
This file is the header file of several independent tool functions.
This header file declares functions in the folder 'tools',
在文件 tools.h 中定义.
| int CreateDir | ( | const char * | pPath | ) |
This is a function that recursively creates folders.
| [in] | pPath | Pointer to the folder Path. |
| -1 | The path folder already exists and is readable. |
| 0 | Readable path folders are created recursively. |
| 1 | The path folder is not created properly. |
| void DispPro | ( | const double | pro, |
| const int | step | ||
| ) |
|
inline |
|
inline |
| int rinv | ( | double | a[], |
| const int | n | ||
| ) |
A function to caculate the inverse of the input square matrix.
| [in,out] | a | The pointer of the input/output square matrix. |
| [in] | n | The order of the input/output square matrix. |
| 0 | No inverse matrix |
| 1 | Invertible matrix |
在文件 math_algo.c 第 19 行定义.