1 #ifndef __CS_RESTART_H__
2 #define __CS_RESTART_H__
50 #define CS_RESTART_SUCCES 0
51 #define CS_RESTART_ERR_FILE_NUM -1
52 #define CS_RESTART_ERR_LOCATION -2
53 #define CS_RESTART_ERR_VAL_TYPE -3
54 #define CS_RESTART_ERR_N_VALS -4
55 #define CS_RESTART_ERR_MODE -5
56 #define CS_RESTART_ERR_EXISTS -6
347 const char *location_name,
379 const char *sec_name,
399 const char *sec_name,
void cs_restart_dump_index(const cs_restart_t *restart)
Definition: cs_restart.c:1558
void cs_restart_print_stats(void)
Definition: cs_restart.c:1914
cs_restart_t * cs_restart_create(const char *name, const char *path, cs_restart_mode_t mode)
Definition: cs_restart.c:1253
#define BEGIN_C_DECLS
Definition: cs_defs.h:365
void indsui(cs_int_t *isuite)
Definition: cs_restart.c:827
cs_restart_mode_t
Definition: cs_restart.h:64
#define CS_ARGF_SUPP_CHAINE
Definition: cs_defs.h:394
int cs_int_t
Definition: cs_defs.h:263
int cs_restart_present(void)
Definition: cs_restart.c:1229
int cs_lnum_t
Definition: cs_defs.h:260
void infsui(const cs_int_t *numsui)
Definition: cs_restart.c:1036
void ecrsui(const cs_int_t *numsui, const char *nomrub, const cs_int_t *lngnom, const cs_int_t *itysup, const cs_int_t *nbvent, const cs_int_t *irtype, const void *tabvar, cs_int_t *ierror CS_ARGF_SUPP_CHAINE)
Definition: cs_restart.c:1163
unsigned cs_gnum_t
Definition: cs_defs.h:255
void cs_restart_write_section(cs_restart_t *restart, const char *sec_name, int location_id, cs_int_t n_location_vals, cs_type_t val_type, const void *val)
Definition: cs_restart.c:1796
char * name
Definition: cs_restart.c:101
Definition: cs_restart.h:67
void clssui(const cs_int_t *numsui, cs_int_t *ierror)
Definition: cs_restart.c:929
#define END_C_DECLS
Definition: cs_defs.h:366
void opnsui(const char *nomsui, const cs_int_t *lngnom, const cs_int_t *ireawr, cs_int_t *numsui, cs_int_t *ierror CS_ARGF_SUPP_CHAINE)
Definition: cs_restart.c:850
int cs_restart_read_section(cs_restart_t *restart, const char *sec_name, int location_id, cs_int_t n_location_vals, cs_type_t val_type, void *val)
Definition: cs_restart.c:1598
cs_restart_t * cs_restart_destroy(cs_restart_t *restart)
Definition: cs_restart.c:1361
#define CS_PROCF(x, y)
Definition: cs_defs.h:379
void lecsui(const cs_int_t *numsui, const char *nomrub, const cs_int_t *lngnom, const cs_int_t *itysup, const cs_int_t *nbvent, const cs_int_t *irtype, void *tabvar, cs_int_t *ierror CS_ARGF_SUPP_CHAINE)
Definition: cs_restart.c:1084
void cs_restart_check_base_location(const cs_restart_t *restart, bool *match_cell, bool *match_i_face, bool *match_b_face, bool *match_vertex)
Definition: cs_restart.c:1413
Definition: cs_restart.c:99
Definition: cs_restart.h:66
cs_restart_mode_t mode
Definition: cs_restart.c:108
void tstsui(const cs_int_t *numsui, cs_int_t *indcel, cs_int_t *indfac, cs_int_t *indfbr, cs_int_t *indsom)
Definition: cs_restart.c:979
int cs_restart_add_location(cs_restart_t *restart, const char *location_name, cs_gnum_t n_glob_ents, cs_lnum_t n_ents, const cs_gnum_t *ent_global_num)
Definition: cs_restart.c:1471
cs_type_t
Definition: cs_base.h:78