My Project
programmer's documentation
|
#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <math.h>
#include "bft_mem_usage.h"
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "fvm_selector.h"
#include "cs_halo.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_selector.h"
Functions | |
void | cs_selector_get_b_face_num_list (const char *criteria, cs_lnum_t *n_b_faces, cs_lnum_t b_face_num_list[]) |
void | cs_selector_get_i_face_num_list (const char *criteria, cs_lnum_t *n_i_faces, cs_lnum_t i_face_num_list[]) |
void | cs_selector_get_cell_num_list (const char *criteria, cs_lnum_t *n_cells, cs_lnum_t cell_num_list[]) |
void | cs_selector_get_b_face_list (const char *criteria, cs_lnum_t *n_b_faces, cs_lnum_t b_face_list[]) |
Fill a list of boundary faces verifying a given selection criteria. More... | |
void | cs_selector_get_i_face_list (const char *criteria, cs_lnum_t *n_i_faces, cs_lnum_t i_face_list[]) |
Fill a list of interior faces verifying a given selection criteria. More... | |
void | cs_selector_get_cell_list (const char *criteria, cs_lnum_t *n_cells, cs_lnum_t cell_list[]) |
Fill a list of cells verifying a given selection criteria. More... | |
void | cs_selector_get_cell_vertices_list (const char *criteria, cs_lnum_t *n_vertices, cs_lnum_t vtx_ids[]) |
Fill a list of cells verifying a given selection criteria. More... | |
void | cs_selector_get_cell_vertices_list_by_ids (cs_lnum_t n_cells, const cs_lnum_t cell_ids[], cs_lnum_t *n_vertices, cs_lnum_t vtx_ids[]) |
Fill a list of vertices belonging to a given list of cells. More... | |
void | cs_selector_get_cells_boundary (const char *criteria, cs_lnum_t *n_i_faces, cs_lnum_t *n_b_faces, cs_lnum_t i_face_id[], cs_lnum_t b_face_id[]) |
Fill lists of faces at the boundary of a set of cells verifying a given selection criteria. More... | |
void | cs_selector_get_perio_face_list (int perio_num, cs_lnum_t *n_i_faces, cs_lnum_t i_face_id[]) |
Fill a list of interior faces belonging to a given periodicity. More... | |
void | cs_selector_get_family_list (const char *criteria, cs_lnum_t *n_families, cs_int_t family_list[]) |
Fill a list of families verifying a given selection criteria. More... | |
void cs_selector_get_b_face_list | ( | const char * | criteria, |
cs_lnum_t * | n_b_faces, | ||
cs_lnum_t | b_face_list[] | ||
) |
Fill a list of boundary faces verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_i_faces | number of selected boundary faces |
[out] | cell_list | list of selected boundary faces (0 to n-1, preallocated to cs_glob_mesh->n_b_faces) |
void cs_selector_get_b_face_num_list | ( | const char * | criteria, |
cs_lnum_t * | n_b_faces, | ||
cs_lnum_t | b_face_num_list[] | ||
) |
void cs_selector_get_cell_list | ( | const char * | criteria, |
cs_lnum_t * | n_cells, | ||
cs_lnum_t | cell_list[] | ||
) |
Fill a list of cells verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_cells | number of selected cells |
[out] | cell_list | list of selected cells (0 to n-1, preallocated to cs_glob_mesh->n_cells) |
void cs_selector_get_cell_num_list | ( | const char * | criteria, |
cs_lnum_t * | n_cells, | ||
cs_lnum_t | cell_num_list[] | ||
) |
void cs_selector_get_cell_vertices_list | ( | const char * | criteria, |
cs_lnum_t * | n_vertices, | ||
cs_lnum_t | vtx_ids[] | ||
) |
Fill a list of cells verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_vertices | number of selected vertices |
[out] | vtx_ids | list of selected vertices (0 to n-1, preallocated to cs_glob_mesh->n_vertices) |
void cs_selector_get_cell_vertices_list_by_ids | ( | cs_lnum_t | n_cells, |
const cs_lnum_t | cell_ids[], | ||
cs_lnum_t * | n_vertices, | ||
cs_lnum_t | vtx_ids[] | ||
) |
Fill a list of vertices belonging to a given list of cells.
[in] | criteria | selection criteria string |
[out] | n_vertices | number of selected vertices |
[out] | vtx_ids | list of selected vertices (0 to n-1, preallocated to cs_glob_mesh->n_vertices) |
void cs_selector_get_cells_boundary | ( | const char * | criteria, |
cs_lnum_t * | n_i_faces, | ||
cs_lnum_t * | n_b_faces, | ||
cs_lnum_t | i_face_id[], | ||
cs_lnum_t | b_face_id[] | ||
) |
Fill lists of faces at the boundary of a set of cells verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_i_faces | number of selected interior faces |
[out] | n_b_faces | number of selected boundary faces |
[out] | i_face_id | list of selected interior faces (0 to n-1, preallocated to cs_glob_mesh->n_i_faces) |
[out] | b_face_id | list of selected boundary faces (0 to n-1, preallocated to cs_glob_mesh->n_b_faces) |
void cs_selector_get_family_list | ( | const char * | criteria, |
cs_lnum_t * | n_families, | ||
cs_int_t | family_list[] | ||
) |
Fill a list of families verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_families | number of selected families |
[out] | family_list | list of selected families faces (0 to n-1, preallocated to cs_glob_mesh->n_families + 1) |
void cs_selector_get_i_face_list | ( | const char * | criteria, |
cs_lnum_t * | n_i_faces, | ||
cs_lnum_t | i_face_list[] | ||
) |
Fill a list of interior faces verifying a given selection criteria.
[in] | criteria | selection criteria string |
[out] | n_i_faces | number of selected interior faces |
[out] | cell_list | list of selected interior faces (0 to n-1, preallocated to cs_glob_mesh->n_i_faces) |
void cs_selector_get_i_face_num_list | ( | const char * | criteria, |
cs_lnum_t * | n_i_faces, | ||
cs_lnum_t | i_face_num_list[] | ||
) |
void cs_selector_get_perio_face_list | ( | int | perio_num, |
cs_lnum_t * | n_i_faces, | ||
cs_lnum_t | i_face_id[] | ||
) |
Fill a list of interior faces belonging to a given periodicity.
[in] | perio_num | periodicity number |
[out] | n_i_faces | number of selected interior faces |
[out] | i_face_id | list of selected interior faces (0 to n-1, preallocated to cs_glob_mesh->n_i_faces) |