My Project
programmer's documentation
Functions
cs_mesh_connect.h File Reference
#include "fvm_nodal.h"
#include "cs_base.h"
#include "cs_mesh.h"
Include dependency graph for cs_mesh_connect.h:

Go to the source code of this file.

Functions

void cs_mesh_connect_get_cell_faces (const cs_mesh_t *mesh, cs_lnum_t extr_cell_size, const cs_lnum_t extr_cell_id[], cs_lnum_t **const p_cell_faces_idx, cs_lnum_t **const p_cell_faces_val)
 
fvm_nodal_t * cs_mesh_connect_cells_to_nodal (const cs_mesh_t *mesh, const char *name, bool include_families, cs_lnum_t cell_list_size, cs_lnum_t cell_list[])
 
fvm_nodal_t * cs_mesh_connect_faces_to_nodal (const cs_mesh_t *mesh, const char *name, bool include_families, cs_lnum_t i_face_list_size, cs_lnum_t b_face_list_size, cs_lnum_t i_face_list[], cs_lnum_t b_face_list[])
 
void cs_mesh_connect_vertices_to_cells (cs_mesh_t *mesh, const char v_flag[], cs_lnum_t **v2c_idx, cs_lnum_t **v2c)
 Build a vertex to cell connectivity for marked vertices only. More...
 

Function Documentation

◆ cs_mesh_connect_cells_to_nodal()

fvm_nodal_t* cs_mesh_connect_cells_to_nodal ( const cs_mesh_t mesh,
const char *  name,
bool  include_families,
cs_lnum_t  cell_list_size,
cs_lnum_t  cell_list[] 
)

◆ cs_mesh_connect_faces_to_nodal()

fvm_nodal_t* cs_mesh_connect_faces_to_nodal ( const cs_mesh_t mesh,
const char *  name,
bool  include_families,
cs_lnum_t  i_face_list_size,
cs_lnum_t  b_face_list_size,
cs_lnum_t  i_face_list[],
cs_lnum_t  b_face_list[] 
)

◆ cs_mesh_connect_get_cell_faces()

void cs_mesh_connect_get_cell_faces ( const cs_mesh_t mesh,
cs_lnum_t  extr_cell_size,
const cs_lnum_t  extr_cell_id[],
cs_lnum_t **const  p_cell_faces_idx,
cs_lnum_t **const  p_cell_faces_val 
)

◆ cs_mesh_connect_vertices_to_cells()

void cs_mesh_connect_vertices_to_cells ( cs_mesh_t mesh,
const char  v_flag[],
cs_lnum_t **  v2c_idx,
cs_lnum_t **  v2c 
)

Build a vertex to cell connectivity for marked vertices only.

It is the caller's responsibility to free the v2c_idx and v2c arrays, which are allocated by this function.

Parameters
[in]meshpointer to mesh structure
[in]v_flagvertex selection flag (0: not selected, 1: selected)
[out]v2c_idxvertex to cells index (size: mesh->n_vertices +1)
[out]v2cvertex to cells