1#ifndef __CS_MEDCOUPLING_MESH_HXX__
2#define __CS_MEDCOUPLING_MESH_HXX__
47#if defined(HAVE_MEDCOUPLING)
49#include "MEDCouplingUMesh.hxx"
51using namespace MEDCoupling;
81#if defined(HAVE_MEDCOUPLING)
110 const char *selection_criteria,
249#if defined(HAVE_MEDCOUPLING)
273#if defined(HAVE_MEDCOUPLING)
281 const int n_sectors);
298#if defined(HAVE_MEDCOUPLING)
307 const int n_sectors);
#define BEGIN_C_DECLS
Definition cs_defs.h:528
double cs_real_t
Floating-point value.
Definition cs_defs.h:332
#define END_C_DECLS
Definition cs_defs.h:529
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:325
void * cs_medcoupling_create_plane_mesh(const cs_real_t origin[], const cs_real_t normal[], const cs_real_t length1, const cs_real_t length2)
Returns a pointer to a MEDCouplingUMesh of a plane.
Definition cs_medcoupling_mesh.cxx:1173
cs_lnum_t cs_medcoupling_mesh_get_n_elts(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's number of elements.
Definition cs_medcoupling_mesh.cxx:1062
void * cs_medcoupling_create_disc_mesh(const cs_real_t origin[], const cs_real_t normal[], const cs_real_t radius, const int n_sectors)
Returns a pointer to a MEDCouplingUMesh of a disc.
Definition cs_medcoupling_mesh.cxx:1246
const cs_lnum_t * cs_medcoupling_mesh_get_elt_list(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's (parent) elements list.
Definition cs_medcoupling_mesh.cxx:1082
cs_medcoupling_mesh_t * cs_medcoupling_mesh_from_base(cs_mesh_t *csmesh, const char *name, const char *selection_criteria, int elt_dim, int use_bbox)
create a new cs_medcoupling_mesh_t instance based on cs_mesh_t
Definition cs_medcoupling_mesh.cxx:889
cs_lnum_t cs_medcoupling_mesh_get_n_vertices(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's number of vertices.
Definition cs_medcoupling_mesh.cxx:1103
void cs_medcoupling_mesh_destroy(cs_medcoupling_mesh_t *mesh)
Destroy a cs_medcoupling_mesh_t.
Definition cs_medcoupling_mesh.cxx:995
const cs_lnum_t * cs_medcoupling_mesh_get_vertex_list(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's (parent) vertices list.
Definition cs_medcoupling_mesh.cxx:1124
void cs_medcoupling_mesh_destroy_all(void)
Destroy all cs_medcoupling_mesh_t instances.
Definition cs_medcoupling_mesh.cxx:1017
int cs_medcoupling_mesh_get_dim(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's spatial dimension.
Definition cs_medcoupling_mesh.cxx:1042
cs_medcoupling_mesh_t * cs_medcoupling_mesh_from_ids(cs_mesh_t *csmesh, const char *name, cs_lnum_t n_elts, const cs_lnum_t elt_ids[], int elt_dim, int use_bbox)
create a new cs_medcoupling_mesh_t instance based on cs_mesh_t
Definition cs_medcoupling_mesh.cxx:948
const cs_lnum_t * cs_medcoupling_mesh_get_connectivity(cs_medcoupling_mesh_t *m)
Return a cs_medcoupling_mesh_t structure's (parent) elements list.
Definition cs_medcoupling_mesh.cxx:1145
void * cs_medcoupling_create_annulus_mesh(const cs_real_t origin[], const cs_real_t normal[], const cs_real_t radius1, const cs_real_t radius2, const int n_sectors)
Returns a pointer to a MEDCouplingUMesh of an annulus.
Definition cs_medcoupling_mesh.cxx:1343
Definition cs_medcoupling_mesh.hxx:61
void * med_mesh
Definition cs_medcoupling_mesh.hxx:84
char * sel_criteria
Definition cs_medcoupling_mesh.hxx:63
cs_lnum_t n_vtx
Definition cs_medcoupling_mesh.hxx:72
cs_lnum_t n_elts
Definition cs_medcoupling_mesh.hxx:68
cs_lnum_t * vtx_list
Definition cs_medcoupling_mesh.hxx:73
cs_lnum_t * new_to_old
Definition cs_medcoupling_mesh.hxx:76
int elt_dim
Definition cs_medcoupling_mesh.hxx:66
cs_lnum_t * elt_list
Definition cs_medcoupling_mesh.hxx:69
cs_real_t * bbox
Definition cs_medcoupling_mesh.hxx:79