|
My Project
programmer's documentation
|
Go to the documentation of this file.
47 #define CS_IO_NAME_LEN 32
49 #define CS_IO_ECHO_NONE -2
50 #define CS_IO_ECHO_OPEN_CLOSE -1
51 #define CS_IO_ECHO_HEADERS 0
125 #if defined(HAVE_MPI)
129 const char *magic_string,
141 const char *magic_string,
169 #if defined(HAVE_MPI)
173 const char *magic_string,
183 const char *magic_string,
455 size_t n_location_vals,
500 size_t n_location_vals,
547 size_t n_location_vals,
void cs_io_set_cs_lnum(cs_io_sec_header_t *header, const cs_io_t *pp_io)
Definition: cs_io.c:2418
void * cs_io_read_block(const cs_io_sec_header_t *header, cs_gnum_t global_num_start, cs_gnum_t global_num_end, void *elts, cs_io_t *pp_io)
Definition: cs_io.c:2558
size_t cs_io_get_index_size(const cs_io_t *inp)
Definition: cs_io.c:2029
void cs_io_set_cs_gnum(cs_io_sec_header_t *header, const cs_io_t *pp_io)
Definition: cs_io.c:2455
void cs_io_write_block_buffer(const char *sec_name, cs_gnum_t n_g_elts, cs_gnum_t global_num_start, cs_gnum_t global_num_end, size_t location_id, size_t index_id, size_t n_location_vals, cs_datatype_t elt_type, void *elts, cs_io_t *outp)
Definition: cs_io.c:2959
cs_file_off_t cs_io_get_offset(cs_io_t *inp)
Definition: cs_io.c:3087
void * cs_io_read_index_block(cs_io_sec_header_t *header, cs_gnum_t global_num_start, cs_gnum_t global_num_end, cs_gnum_t *elts, cs_io_t *pp_io)
Definition: cs_io.c:2607
integer, dimension(nclcpm), save inp
number of particles of the class icla per kg of air-coal mixture
Definition: ppincl.f90:407
void cs_io_dump(const cs_io_t *cs_io)
Definition: cs_io.c:3243
#define END_C_DECLS
Definition: cs_defs.h:468
cs_io_sec_header_t cs_io_get_indexed_sec_header(const cs_io_t *inp, size_t id)
Definition: cs_io.c:2078
void cs_io_finalize(cs_io_t **pp_io)
Definition: cs_io.c:1973
const char * cs_io_get_indexed_sec_name(const cs_io_t *inp, size_t id)
Definition: cs_io.c:2051
cs_io_t * cs_io_initialize_with_index(const char *file_name, const char *magic_string, cs_file_access_t method, long echo, MPI_Info hints, MPI_Comm block_comm, MPI_Comm comm)
Definition: cs_io.c:1902
cs_file_access_t
Shared file access methods.
Definition: cs_file.h:84
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void cs_io_set_offset(cs_io_t *inp, cs_file_off_t offset)
Definition: cs_io.c:3104
cs_datatype_t
Definition: cs_defs.h:260
int cs_io_read_header(cs_io_t *inp, cs_io_sec_header_t *header)
Definition: cs_io.c:2143
cs_io_t * cs_io_initialize(const char *file_name, const char *magic_string, cs_io_mode_t mode, cs_file_access_t method, long echo, MPI_Info hints, MPI_Comm block_comm, MPI_Comm comm)
Definition: cs_io.c:1839
cs_io_mode_t
Definition: cs_io.h:59
unsigned long cs_gnum_t
global mesh entity number
Definition: cs_defs.h:286
void const cs_int_t * mode
Definition: cs_syr_coupling.h:132
void cs_io_skip(const cs_io_sec_header_t *header, cs_io_t *pp_io)
Definition: cs_io.c:3033
#define MPI_Info
Definition: cs_defs.h:93
size_t cs_io_get_echo(const cs_io_t *pp_io)
Definition: cs_io.c:2121
void * cs_io_read_global(const cs_io_sec_header_t *header, void *elts, cs_io_t *pp_io)
Definition: cs_io.c:2524
const char * cs_io_get_name(const cs_io_t *pp_io)
Definition: cs_io.c:2011
void cs_io_assert_cs_real(const cs_io_sec_header_t *header, const cs_io_t *pp_io)
Definition: cs_io.c:2489
long long cs_file_off_t
Definition: cs_file.h:107
void cs_io_log_finalize(void)
Definition: cs_io.c:3137
int cs_io_set_indexed_position(cs_io_t *inp, cs_io_sec_header_t *header, size_t id)
Definition: cs_io.c:2354
void cs_io_log_initialize(void)
Definition: cs_io.c:3120
void cs_io_write_block(const char *sec_name, cs_gnum_t n_g_elts, cs_gnum_t global_num_start, cs_gnum_t global_num_end, size_t location_id, size_t index_id, size_t n_location_vals, cs_datatype_t elt_type, const void *elts, cs_io_t *outp)
Definition: cs_io.c:2858
void cs_io_write_global(const char *sec_name, cs_gnum_t n_vals, size_t location_id, size_t index_id, size_t n_location_vals, cs_datatype_t elt_type, const void *elts, cs_io_t *outp)
Definition: cs_io.c:2767
struct _cs_io_t cs_io_t
Definition: cs_io.h:68