?? save_to_disk.h
字號:
#include <stdio.h>#include <assert.h>#include <stdlib.h>#include <string.h>#include <mesh/mesh.h>#include <mesh/cellinfo.h>#include "r2mfile.h"#ifndef __SAVE_TO_DISK_H__#define __SAVE_TO_DISK_H__#define RANK_SIZE 3 /* size to store the maximun proc rank */#define NBFILE_SIZE 4 /* size to store the maximun r2m file chunk ID */char *construct_filename(char *basename, char *ext, int procid, int file_id);void save_memory_to_disk(char *output_format, char *celldatafilename, struct cell_info_t ****cell_info, struct mesh_t *mesh, int rank, int nbprocs, int nb_save);void change_to_next_files (struct mesh_t *mesh, char *filename, int size, FILE **sparse_fd, FILE **res_fd, FILE **event_fd, int rank, int save_id, int want_sparse_file);#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -