#include "cs_defs.h"
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include <mpi.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_mesh.h"
#include "cs_mesh_connect.h"
#include "cs_parall.h"
#include "cs_prototypes.h"
#include "cs_selector.h"
#include "cs_timer.h"
#include "fvm_defs.h"
#include "fvm_nodal_from_desc.h"
#include "cs_medcoupling_utils.hxx"
#include <MEDCoupling_version.h>
#include <MEDCouplingUMesh.hxx>
#include <MEDCouplingField.hxx>
#include <MEDCouplingFieldDouble.hxx>
#include "MEDCouplingRemapper.hxx"
void cs_medcoupling_mesh_copy_from_base | ( | cs_mesh_t * | csmesh, |
cs_medcoupling_mesh_t * | pmmesh, | ||
int | use_bbox | ||
) |
copy a cs_mesh_t into a cs_medcoupling_mesh_t
[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_t* cs_medcoupling_mesh_create | ( | const char * | name, |
const char * | selection_criteria, | ||
int | elt_dim | ||
) |
create a new cs_medcoupling_mesh_t instance
[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 |
void cs_medcoupling_mesh_destroy | ( | cs_medcoupling_mesh_t * | mesh | ) |
Destroy a cs_medcoupling_mesh_t.
[in] | mesh | cs_medcoupling_mesh_t pointer |
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.
[in] | mesh | cs_medcoupling_mesh_t pointer |
int cs_medcoupling_mesh_get_dim | ( | cs_medcoupling_mesh_t * | m | ) |
Return a cs_medcoupling_mesh_t structure's spatial dimension.
[in] | mesh | cs_medcoupling_mesh_t pointer |
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.
[in] | mesh | cs_medcoupling_mesh_t pointer |
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.
[in] | mesh | cs_medcoupling_mesh_t pointer |