HydroCODE_1D 0.1
This is a implementation of fully explict forward Euler scheme for 1-D Euler equations of motion on Lagrangian/Eulerian coordinate
mesh_var结构体 参考

MESHing VARiables. 更多...

#include <var_struc.h>

成员变量

int num_pt
 Total number of grid nodes. 更多...
 
int num_ghost
 Total number of ghost grid cells. 更多...
 
int ** cell_pt
 Serial number of each grid node on a grid cell in the clockwise direction. 更多...
 
int * cell_type
 
int num_border [10]
 num_border[0] is the total number of connected boundaries on the entire computational domain. 更多...
 
int * border_pt
 Serial number of each grid node on the connected boundary in the clockwise direction. 更多...
 
int * border_cond
 Boudary condition indicator of i-th grid cell interface at the boundary. 更多...
 
int * period_cell
 Serial number of ghost grid cells at the periodic boundary. 更多...
 
double * normal_v
 
double * X
 
double * Y
 
void(* bc )(struct cell_var *cv, const struct mesh_var *mv, struct flu_var *FV, double t)
 Pointer to the boundary condition function. 更多...
 

详细描述

MESHing VARiables.

在文件 var_struc.h155 行定义.

结构体成员变量说明

◆ bc

void(* bc) (struct cell_var *cv, const struct mesh_var *mv, struct flu_var *FV, double t)

Pointer to the boundary condition function.

在文件 var_struc.h176 行定义.

◆ border_cond

int* border_cond

Boudary condition indicator of i-th grid cell interface at the boundary.

  • border_cond[i] < 0, refer to 'config[17]' in'doc/config.csv'.
  • border_cond[i] > 0, serial number of the ghost grid cell at the periodic boundary is i.

在文件 var_struc.h171 行定义.

◆ border_pt

int* border_pt

Serial number of each grid node on the connected boundary in the clockwise direction.

在文件 var_struc.h165 行定义.

◆ cell_pt

int** cell_pt

Serial number of each grid node on a grid cell in the clockwise direction.

在文件 var_struc.h158 行定义.

◆ cell_type

int* cell_type
待办事项:
Grid cell type read from mesh file '*.msh'

在文件 var_struc.h159 行定义.

◆ normal_v

double* normal_v
待办事项:
Normal velocity on grid cell interfaces at the boundary.

在文件 var_struc.h173 行定义.

◆ num_border

int num_border[10]

num_border[0] is the total number of connected boundaries on the entire computational domain.

num_border[i](i = 1,2,…,9) is the total number of grid cell interfaces at the i-th connected boundary.

在文件 var_struc.h164 行定义.

◆ num_ghost

int num_ghost

Total number of ghost grid cells.

在文件 var_struc.h157 行定义.

◆ num_pt

int num_pt

Total number of grid nodes.

在文件 var_struc.h156 行定义.

◆ period_cell

int* period_cell

Serial number of ghost grid cells at the periodic boundary.

在文件 var_struc.h172 行定义.

◆ X

double* X

在文件 var_struc.h174 行定义.

◆ Y

double * Y

x- and y-coordinates of the grid nodes with fixed serial number.

在文件 var_struc.h174 行定义.


该结构体的文档由以下文件生成: