My Project
programmer's documentation
|
#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_sort.h"
#include "fvm_defs.h"
#include "fvm_nodal.h"
#include "fvm_nodal_from_desc.h"
#include "fvm_nodal_order.h"
#include "cs_mesh_connect.h"
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... | |
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_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 | ||
) |
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.
[in] | mesh | pointer to mesh structure |
[in] | v_flag | vertex selection flag (0: not selected, 1: selected) |
[out] | v2c_idx | vertex to cells index (size: mesh->n_vertices +1) |
[out] | v2c | vertex to cells |