⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 save_to_disk.h

📁 用于2维的射线追踪
💻 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 + -