1 #ifndef __CS_PARAMEDMEM_HXX__ 2 #define __CS_PARAMEDMEM_HXX__ 45 typedef struct _cs_paramedmem_coupling_t cs_paramedmem_coupling_t;
74 cs_paramedmem_coupling_t *
76 int *grp1_global_ranks,
78 int *grp2_global_ranks,
86 cs_paramedmem_coupling_t *
119 const char *select_criteria,
149 const char *mesh_name);
199 int medcpl_field_type,
200 int medcpl_time_discr,
238 const double field_values[]);
259 double field_values[]);
const cs_lnum_t * cs_paramedmem_mesh_get_elt_list(const cs_paramedmem_coupling_t *coupling, int mesh_id)
Definition: cs_paramedmem_coupling.cxx:647
void cs_paramedmem_field_export(cs_paramedmem_coupling_t *coupling, int field_id, bool on_parent, const double field_values[])
Definition: cs_paramedmem_coupling.cxx:851
const int cs_medcpl_linear_time
Definition: cs_paramedmem_coupling.cxx:173
cs_paramedmem_coupling_t * cs_paramedmem_interpkernel_create(const char *name, int *grp1_global_ranks, int grp1_size, int *grp2_global_ranks, int grp2_size)
Definition: cs_paramedmem_coupling.cxx:393
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
const int cs_medcpl_no_time
Definition: cs_paramedmem_coupling.cxx:171
void cs_paramedmem_field_import(cs_paramedmem_coupling_t *coupling, int field_id, bool on_parent, double field_values[])
Definition: cs_paramedmem_coupling.cxx:915
void cs_paramedmem_send_data(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:1006
const int cs_medcpl_vertex_field
Definition: cs_paramedmem_coupling.cxx:169
void cs_paramedmem_recv_data(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:1029
int * cs_paramedmem_get_mpi_comm_world_ranks(void)
Definition: cs_paramedmem_coupling.cxx:1085
const int cs_medcpl_cell_field
Definition: cs_paramedmem_coupling.cxx:168
const int cs_medcpl_one_time
Definition: cs_paramedmem_coupling.cxx:172
int cs_paramedmem_define_mesh(cs_paramedmem_coupling_t *coupling, const char *name, const char *select_criteria, int elt_dim, bool is_source, bool is_dest)
Definition: cs_paramedmem_coupling.cxx:481
cs_paramedmem_coupling_t * cs_paramedmem_coupling_by_id(int pc_id)
Definition: cs_paramedmem_coupling.cxx:364
int cs_paramedmem_field_add(cs_paramedmem_coupling_t *coupling, const char *name, int mesh_id, int dim, int medcpl_field_type, int medcpl_time_discr, int dirflag)
Definition: cs_paramedmem_coupling.cxx:681
void cs_paramedmem_destroy(cs_paramedmem_coupling_t **coupling)
Definition: cs_paramedmem_coupling.cxx:428
void cs_paramedmem_reattach_field(cs_paramedmem_coupling_t *coupling, int field_id)
Definition: cs_paramedmem_coupling.cxx:1053
int cs_paramedmem_field_get_id(cs_paramedmem_coupling_t *coupling, int mesh_id, const char *name)
Definition: cs_paramedmem_coupling.cxx:811
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:301
#define END_C_DECLS
Definition: cs_defs.h:496
cs_lnum_t cs_paramedmem_mesh_get_n_elts(const cs_paramedmem_coupling_t *coupling, int mesh_id)
Definition: cs_paramedmem_coupling.cxx:621
void cs_paramedmem_init_meshes(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:554
int cs_paramedmem_mesh_id(cs_paramedmem_coupling_t *coupling, const char *mesh_name)
Definition: cs_paramedmem_coupling.cxx:582
void cs_paramedmem_sync_dec(cs_paramedmem_coupling_t *coupling, int dec_to_sync)
Definition: cs_paramedmem_coupling.cxx:974