#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <mpi.h>
#include "MEDCouplingUMesh.hxx"
Go to the source code of this file.
◆ cs_medcoupling_mesh_copy_from_base()
copy a cs_mesh_t into a cs_medcoupling_mesh_t
- Parameters
-
[in] | csmesh | pointer to the cs_mesh_t struct to copy data from |
[in] | pmmesh | pointer to the cs_medcoupling_mesh_t for copy |
[in] | use_bbox | flag indicating if a reduced bounding is used. Usefull for interpolation to reduce the matrix sice. 0: Do not use a reduced bbox 1: Use a reduced bbox |
◆ cs_medcoupling_mesh_create()
cs_medcoupling_mesh_t* cs_medcoupling_mesh_create |
( |
const char * |
name, |
|
|
const char * |
selection_criteria, |
|
|
int |
elt_dim |
|
) |
| |
create a new cs_medcoupling_mesh_t instance
- Parameters
-
[in] | name | name of the mesh |
[in] | selection_criteria | selection criteria (entire mesh or part of it) |
[in] | elt_dim | dimension of elements. 2: faces 3: cells |
- Returns
- pointer to the newly created cs_medcoupling_mesh_t struct
◆ cs_medcoupling_mesh_destroy()
◆ cs_medcoupling_mesh_get_connectivity()
Return a cs_medcoupling_mesh_t structure's (parent) elements list.
- Parameters
-
- Returns
- ids of associated elements, or NULL
◆ cs_medcoupling_mesh_get_dim()
Return a cs_medcoupling_mesh_t structure's spatial dimension.
- Parameters
-
- Returns
- associated spatial dimension
◆ cs_medcoupling_mesh_get_elt_list()
Return a cs_medcoupling_mesh_t structure's (parent) elements list.
- Parameters
-
- Returns
- ids of associated elements, or NULL
◆ cs_medcoupling_mesh_get_n_elts()
Return a cs_medcoupling_mesh_t structure's number of elements.
- Parameters
-
- Returns
- associated number of elements