|  | My Project
    programmer's documentation | 
Set of local quantities and connectivities related to a mesh cell This is a key structure for all cellwise processes. This structure belongs to one thread and only. This structure used allows one to get a better memory locality. It maps the existing global mesh and other related structures into a more compact one dedicated to a cell. Arrays are allocated to the max number of related entities (e.g. n_max_vbyc or to n_max_ebyc). The cell-wise numbering is based on the c2v, c2e and c2f connectivity. More...
#include <cs_cdo_local.h>

| Data Fields | |
| cs_flag_t | flag | 
| fvm_element_t | type | 
| short int | n_max_vbyc | 
| short int | n_max_ebyc | 
| short int | n_max_fbyc | 
| cs_lnum_t | c_id | 
| cs_real_3_t | xc | 
| double | vol_c | 
| double | diam_c | 
| short int | n_vc | 
| cs_lnum_t * | v_ids | 
| double * | xv | 
| double * | wvc | 
| short int | n_ec | 
| cs_lnum_t * | e_ids | 
| cs_quant_t * | edge | 
| cs_nvec3_t * | dface | 
| short int | n_fc | 
| cs_lnum_t | bface_shift | 
| cs_lnum_t * | f_ids | 
| short int * | f_sgn | 
| double * | f_diam | 
| double * | hfc | 
| double * | pfc | 
| cs_quant_t * | face | 
| cs_nvec3_t * | dedge | 
| short int * | e2v_ids | 
| short int * | e2v_sgn | 
| short int * | f2v_idx | 
| short int * | f2v_ids | 
| short int * | f2e_idx | 
| short int * | f2e_ids | 
| double * | tef | 
| short int * | e2f_ids | 
| cs_nvec3_t * | sefc | 
Set of local quantities and connectivities related to a mesh cell This is a key structure for all cellwise processes. This structure belongs to one thread and only. This structure used allows one to get a better memory locality. It maps the existing global mesh and other related structures into a more compact one dedicated to a cell. Arrays are allocated to the max number of related entities (e.g. n_max_vbyc or to n_max_ebyc). The cell-wise numbering is based on the c2v, c2e and c2f connectivity.
| cs_lnum_t bface_shift | 
shift to get the boundary face numbering
| cs_lnum_t c_id | 
id of related cell
| cs_nvec3_t* dedge | 
dual edge quantities (length and unit vector)
| cs_nvec3_t* dface | 
local dual face quantities (area and unit normal)
| double diam_c | 
diameter of the current cell
| short int* e2f_ids | 
cell-wise edge -> faces connectivity
| short int* e2v_ids | 
cell-wise edge->vertices connectivity
| short int* e2v_sgn | 
cell-wise edge->vertices orientation (-1 or +1)
| cs_lnum_t* e_ids | 
edge ids on this rank
| cs_quant_t* edge | 
local edge quantities (xe, length and unit vector)
| short int* f2e_ids | 
size 2*n_max_ebyc
| short int* f2e_idx | 
size n_fc + 1
| short int* f2v_ids | 
size 2*n_max_ebyc
| short int* f2v_idx | 
size n_fc + 1
| double* f_diam | 
diameters of local faces
| cs_lnum_t* f_ids | 
face ids on this rank
| short int* f_sgn | 
incidence number between f and c
| cs_quant_t* face | 
face quantities (xf, area and unit normal)
| cs_flag_t flag | 
indicate which quantities have to be defined
| double* hfc | 
height of the pyramid of basis f and apex c
| short int n_ec | 
local number of edges in a cell
| short int n_fc | 
local number of faces in a cell
| short int n_max_ebyc | 
| short int n_max_fbyc | 
| short int n_max_vbyc | 
| short int n_vc | 
local number of vertices in a cell
| double* pfc | 
volume of the pyramid for each face
| cs_nvec3_t* sefc | 
portion of dual faces (2 triangles by edge)
| double* tef | 
area of the triangle of base |e| and apex xf
| fvm_element_t type | 
type of element related to this cell
| cs_lnum_t* v_ids | 
vertex ids on this rank
| double vol_c | 
volume of the current cell
| double* wvc | 
weight |dualvol(v) cap vol_c|/|vol_c|, size: n_vc
| cs_real_3_t xc | 
coordinates of the cell center
| double* xv | 
local vertex coordinates (copy)
 1.8.16
 1.8.16