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 *
96 int *grp1_global_ranks,
98 int *grp2_global_ranks,
106 cs_paramedmem_coupling_t *
139 const char *select_criteria,
169 const char *mesh_name);
219 int medcpl_field_type,
220 int medcpl_time_discr,
258 const double field_values[]);
279 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:642
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:820
const int cs_medcpl_linear_time
Definition: cs_paramedmem_coupling.cxx:100
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:432
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
const int cs_medcpl_no_time
Definition: cs_paramedmem_coupling.cxx:98
void cs_paramedmem_field_import(cs_paramedmem_coupling_t *coupling, int field_id, bool on_parent, double field_values[])
Definition: cs_paramedmem_coupling.cxx:871
void cs_paramedmem_send_data(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:936
const int cs_medcpl_vertex_field
Definition: cs_paramedmem_coupling.cxx:96
void cs_paramedmem_recv_data(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:949
int * cs_paramedmem_get_mpi_comm_world_ranks(void)
Definition: cs_paramedmem_coupling.cxx:991
const int cs_medcpl_cell_field
Definition: cs_paramedmem_coupling.cxx:95
const int cs_medcpl_one_time
Definition: cs_paramedmem_coupling.cxx:99
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:503
cs_paramedmem_coupling_t * cs_paramedmem_coupling_by_id(int pc_id)
Definition: cs_paramedmem_coupling.cxx:422
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:670
void cs_paramedmem_destroy(cs_paramedmem_coupling_t **coupling)
Definition: cs_paramedmem_coupling.cxx:459
void cs_paramedmem_reattach_field(cs_paramedmem_coupling_t *coupling, int field_id)
Definition: cs_paramedmem_coupling.cxx:963
int cs_paramedmem_field_get_id(cs_paramedmem_coupling_t *coupling, int mesh_id, const char *name)
Definition: cs_paramedmem_coupling.cxx:791
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
#define END_C_DECLS
Definition: cs_defs.h:468
cs_lnum_t cs_paramedmem_mesh_get_n_elts(const cs_paramedmem_coupling_t *coupling, int mesh_id)
Definition: cs_paramedmem_coupling.cxx:622
void cs_paramedmem_init_meshes(cs_paramedmem_coupling_t *coupling)
Definition: cs_paramedmem_coupling.cxx:570
int cs_paramedmem_mesh_id(cs_paramedmem_coupling_t *coupling, const char *mesh_name)
Definition: cs_paramedmem_coupling.cxx:590
void cs_paramedmem_sync_dec(cs_paramedmem_coupling_t *coupling, int dec_to_sync)
Definition: cs_paramedmem_coupling.cxx:914