HydroCODE_2D 0.1
This is a implementation of fully explict forward Euler scheme for 2-D Euler equations of motion on Eulerian coordinate
sys_pro.c 文件参考

There are some system processing programs. 更多...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
sys_pro.c 的引用(Include)关系图:

浏览源代码.

函数

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. 更多...
 
void init_mem (double *p[], const int n, int **cell_pt)
 This is a function that initializes memory for double-precision floating-point data. 更多...
 
void init_mem_int (int *p[], const int n, int **cell_pt)
 This is a function that initializes memory for integer data. 更多...
 

详细描述

There are some system processing programs.

在文件 sys_pro.c 中定义.

函数说明

◆ CreateDir()

int CreateDir ( const char *  pPath)

This is a function that recursively creates folders.

参数
[in]pPathPointer to the folder Path.
返回
Folder Creation Status.
返回值
-1The path folder already exists and is readable.
0Readable path folders are created recursively.
1The path folder is not created properly.

在文件 sys_pro.c72 行定义.

这是这个函数的调用关系图:

◆ DispPro()

void DispPro ( const double  pro,
const int  step 
)

This function print a progress bar on one line of standard output.

参数
[in]proNumerator of percent that the process has completed.
[in]stepNumber of time steps.

在文件 sys_pro.c37 行定义.

这是这个函数的调用关系图:

◆ init_mem()

void init_mem ( double *  p[],
const int  n,
int **  cell_pt 
)

This is a function that initializes memory for double-precision floating-point data.

参数
[out]pPointer of data.
[in]nNumber of grid cells.
[in]cell_pt[]cell_pt[k][0] is the number of grid node on the k-th grid cell in the clockwise direction..

在文件 sys_pro.c107 行定义.

◆ init_mem_int()

void init_mem_int ( int *  p[],
const int  n,
int **  cell_pt 
)

This is a function that initializes memory for integer data.

参数
[out]pPointer of data.
[in]nNumber of grid cells.
[in]cell_pt[]cell_pt[k][0] is the number of grid node on the k-th grid cell in the clockwise direction..

在文件 sys_pro.c132 行定义.