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