HydroCODE 0.1
This is a implementation of fully explict forward Euler scheme for 1-D Euler equations of motion on Lagrange coordinate
file_io.h
浏览该文件的文档.
1
7#ifndef FILEIO_H
8#define FILEIO_H
9
10// io_control.c
11void example_io(const char * example, char * add_mkdir, const int i_or_o);
12
13int flu_var_count(FILE * fp, const char * add);
14
15
16// _1D_file_in.c
17void _1D_initialize(const char * name, struct flu_var * FV0);
18
19
20// _1D_file_out.c
21void _1D_file_write(const int m, const int N, struct cell_var CV, double * X[],
22 const double * cpu_time, const char * name);
23
24
25// config_in.c
26void configurate(const char * name);
27
28#endif
void _1D_initialize(const char *name, struct flu_var *FV0)
This function reads the 1D initial data file of velocity/pressure/density.
Definition: _1D_file_in.c:113
void _1D_file_write(const int m, const int N, struct cell_var CV, double *X[], const double *cpu_time, const char *name)
This function write the solution into output files.
Definition: _1D_file_out.c:49
void example_io(const char *example, char *add_mkdir, const int i_or_o)
This function produces folder path for data input or output.
Definition: io_control.c:38
int flu_var_count(FILE *fp, const char *add)
This function counts how many numbers are there in the initial data file.
Definition: io_control.c:111
void configurate(const char *name)
This function controls configuration data reading and validation.
Definition: config_in.c:189
Pointer structural body of variables on computational cells.
Definition: var_struc.h:22
Pointer structural body of fluid variables.
Definition: var_struc.h:17