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>
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.
◆ bface_shift
shift to get the boundary face numbering
◆ c_id
◆ dedge
dual edge quantities (length and unit vector)
◆ dface
local dual face quantities (area and unit normal)
◆ diam_c
diameter of the current cell
◆ e2f_ids
cell-wise edge -> faces connectivity
◆ e2v_ids
cell-wise edge->vertices connectivity
◆ e2v_sgn
cell-wise edge->vertices orientation (-1 or +1)
◆ e_ids
◆ edge
local edge quantities (xe, length and unit vector)
◆ f2e_ids
◆ f2e_idx
◆ f2v_ids
◆ f2v_idx
◆ f_diam
◆ f_ids
◆ f_sgn
incidence number between f and c
◆ face
face quantities (xf, area and unit normal)
◆ flag
indicate which quantities have to be defined
◆ hfc
height of the pyramid of basis f and apex c
◆ n_ec
local number of edges in a cell
◆ n_fc
local number of faces in a cell
◆ n_max_ebyc
◆ n_max_fbyc
◆ n_max_vbyc
◆ n_vc
local number of vertices in a cell
◆ pfc
volume of the pyramid for each face
◆ sefc
portion of dual faces (2 triangles by edge)
◆ tef
area of the triangle of base |e| and apex xf
◆ type
type of element related to this cell
◆ v_ids
◆ vol_c
volume of the current cell
◆ wvc
weight |dualvol(v) cap vol_c|/|vol_c|, size: n_vc
◆ xc
coordinates of the cell center
◆ xv
local vertex coordinates (copy)
The documentation for this struct was generated from the following file: