13void example_io(
const char * example,
char * add_mkdir,
const int i_or_o);
20int time_plot_read(
const char * add_in,
const int N_max,
int * N_plot,
double * time_plot[]);
25void arg_preprocess(
const int argc_least,
const int argc,
char *argv[],
char * scheme);
32void config_write(
const char * add_out,
const double * cpu_time,
const char * name);
47 double * X[],
const double * cpu_time,
const char * problem,
const double time_plot[]);
52 double ** X,
double ** Y,
const double * cpu_time,
const char * problem,
const double time_plot[]);
54 double ** X,
double ** Y,
const double * cpu_time,
const char * problem,
const double time_plot[]);
60 double * X[],
const double * cpu_time,
const char * problem,
double time_plot[]);
62 double ** X,
double ** Y,
const double * cpu_time,
const char * problem,
double time_plot[]);
struct flu_var initialize_2D(const char *name, int *N, int *N_plot, double *time_plot[])
void file_1D_write_HDF5(const int m, const int N, const struct cell_var_stru CV, double *X[], const double *cpu_time, const char *problem, double time_plot[])
This function write the 1-D solution into HDF5 output '.h5' files.
void file_2D_write_HDF5(const int n_x, const int n_y, const int N, const struct cell_var_stru CV[], double **X, double **Y, const double *cpu_time, const char *problem, double time_plot[])
This function write the 2-D solution into HDF5 output '.h5' files.
void file_2D_write(const int n_x, const int n_y, const int N, const struct cell_var_stru CV[], double **X, double **Y, const double *cpu_time, const char *problem, const double time_plot[])
int flu_var_read(FILE *fp, double *U, const int num)
This function reads the initial data file to generate the initial data.
int flu_var_count_line(FILE *fp, const char *add, int *n_x)
This function counts the line and column number of the numbers are there in the initial data file.
void file_1D_write(const int m, const int N, const struct cell_var_stru CV, double *X[], const double *cpu_time, const char *problem, const double time_plot[])
This function write the 1-D solution into output '.dat' files.
void config_write(const char *add_out, const double *cpu_time, const char *name)
This function write configuration data and program record into the file 'log.dat'.
void arg_preprocess(const int argc_least, const int argc, char *argv[], char *scheme)
This is a functions preprocesses ARGuments.
void example_io(const char *example, char *add_mkdir, const int i_or_o)
This function produces folder path for data input or output.
int flu_var_count(FILE *fp, const char *add)
This function counts how many numbers are there in the initial data file.
void configurate(const char *name)
This function controls configuration data reading and validation.
void file_2D_write_POINT_TEC(const int n_x, const int n_y, const int N, const struct cell_var_stru CV[], double **X, double **Y, const double *cpu_time, const char *problem, const double time_plot[])
void file_write_3D_VTK(const struct flu_var FV, const struct mesh_var mv, const char *problem, const double time)
void file_radial_write_TEC(const struct flu_var FV, const double *R, const char *problem, const double time)
This function write the radially symmetric 2-D solution into Tecplot output '.tec' files.
void file_write_2D_BLOCK_TEC(const struct flu_var FV, const struct mesh_var mv, const char *problem, const double time)
struct flu_var initialize_1D(const char *name, int *N, int *N_plot, double *time_plot[])
This function reads the 1-D initial data file of density/velocity/pressure and performs some other in...
int time_plot_read(const char *add_in, const int N_max, int *N_plot, double *time_plot[])
This function reads the time data file for plotting 'time_plot.dat' and initialize tha array 'time_pl...
pointer structure of VARiables on STRUctural computational grid CELLs.
pointer structure of FLUid VARiables array.