1 #ifndef __CS_MESH_LOCATION_H__ 2 #define __CS_MESH_LOCATION_H__ 169 const char *criteria);
void cs_mesh_location_initialize(void)
Initialize mesh location API.
Definition: cs_mesh_location.c:255
int cs_mesh_location_n_locations(void)
Return number of mesh locations defined.
Definition: cs_mesh_location.c:234
void cs_mesh_location_build(cs_mesh_t *mesh, int id)
Associate mesh locations with a mesh.
Definition: cs_mesh_location.c:315
Definition: cs_mesh_location.h:65
cs_mesh_location_type_t
Definition: cs_mesh_location.h:60
struct _cs_mesh_location_t cs_mesh_location_t
Definition: cs_mesh_location.h:74
#define BEGIN_C_DECLS
Definition: cs_defs.h:365
void cs_mesh_location_finalize(void)
Finalize mesh location API.
Definition: cs_mesh_location.c:281
int cs_mesh_location_define(const char *name, cs_mesh_location_type_t type, const char *criteria)
Define a new mesh location.
Definition: cs_mesh_location.c:430
Definition: cs_mesh_location.h:66
const cs_lnum_t * cs_mesh_location_get_n_elts(int id)
Get a mesh location's number of elements.
Definition: cs_mesh_location.c:531
Definition: cs_mesh_location.h:68
Definition: cs_mesh_location.h:64
void() cs_mesh_location_select_t(const cs_mesh_t *m, int location_id, cs_lnum_t *n_elts, cs_lnum_t **elt_list)
Definition: cs_mesh_location.h:92
const cs_lnum_t * cs_mesh_location_get_elt_list(int id)
Get a mesh location's elements list, if present.
Definition: cs_mesh_location.c:552
int cs_lnum_t
Definition: cs_defs.h:260
const char * cs_mesh_location_get_name(int id)
Get a mesh location's name.
Definition: cs_mesh_location.c:490
Definition: cs_mesh_location.h:63
Definition: cs_mesh_location.h:67
int cs_mesh_location_define_by_func(const char *name, cs_mesh_location_type_t type, cs_mesh_location_select_t *func)
Define a new mesh location with a associated selection function.
Definition: cs_mesh_location.c:466
Definition: cs_mesh_location.h:62
#define END_C_DECLS
Definition: cs_defs.h:366
cs_mesh_location_type_t cs_mesh_location_get_type(int id)
Get a mesh location's type.
Definition: cs_mesh_location.c:508