1 #ifndef __CS_PARAMEDMEM_HXX__
2 #define __CS_PARAMEDMEM_HXX__
55 #if defined(HAVE_PARAMEDMEM)
65 typedef struct _cs_paramedmem_coupling_t cs_paramedmem_coupling_t;
94 cs_paramedmem_coupling_t *
95 cs_paramedmem_interpkernel_create(
const char *name,
96 int *grp1_global_ranks,
98 int *grp2_global_ranks,
106 cs_paramedmem_coupling_t *
107 cs_paramedmem_coupling_by_id(
int pc_id);
119 cs_paramedmem_destroy(cs_paramedmem_coupling_t **coupling);
137 cs_paramedmem_define_mesh(cs_paramedmem_coupling_t *coupling,
139 const char *select_criteria,
152 cs_paramedmem_init_meshes(cs_paramedmem_coupling_t *coupling);
168 cs_paramedmem_mesh_id(cs_paramedmem_coupling_t *coupling,
169 const char *mesh_name);
183 cs_paramedmem_mesh_get_n_elts(
const cs_paramedmem_coupling_t *coupling,
195 cs_paramedmem_mesh_get_elt_list(
const cs_paramedmem_coupling_t *coupling,
215 cs_paramedmem_field_add(cs_paramedmem_coupling_t *coupling,
219 int medcpl_field_type,
220 int medcpl_time_discr,
237 cs_paramedmem_field_get_id(cs_paramedmem_coupling_t *coupling,
255 cs_paramedmem_field_export(cs_paramedmem_coupling_t *coupling,
258 const double field_values[]);
276 cs_paramedmem_field_import(cs_paramedmem_coupling_t *coupling,
279 double field_values[]);
293 cs_paramedmem_sync_dec(cs_paramedmem_coupling_t *coupling,
304 cs_paramedmem_send_data(cs_paramedmem_coupling_t *coupling);
314 cs_paramedmem_recv_data(cs_paramedmem_coupling_t *coupling);
325 cs_paramedmem_reattach_field(cs_paramedmem_coupling_t *coupling,
342 cs_paramedmem_get_mpi_comm_world_ranks(
void);