Go to the source code of this file.
|
void | cs_reco_cw_stride_v2c (int stride, const cs_cell_mesh_t *cm, const cs_real_t *array, cs_real_t *reco) |
| Reconstruct a scalar value at the cell center. array is assumed to be interlaced and of size stride*n_vertices. More...
|
|
void | cs_reco_cw_stride_vbyc2c (int stride, const cs_cell_mesh_t *cm, const cs_real_t *array, cs_real_t *reco) |
| Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to stride*c2v->idx[cm->c_id] has been done. array is assumed to be interlaced. More...
|
|
static cs_real_t | cs_reco_cw_scalar_v2f_fw (const cs_face_mesh_t *fm, const cs_real_t *p_v) |
| Reconstruct the value at the face center from an array of values defined on primal vertices attached to a face. More...
|
|
static cs_real_t | cs_reco_cw_scalar_v2f_loc (const short int f, const cs_cell_mesh_t *cm, const cs_real_t *p_v) |
| Reconstruct the value at the face center from an array of values defined on primal vertices. More...
|
|
static cs_real_t | cs_reco_cw_scalar_v2c_loc (const cs_cell_mesh_t *cm, const cs_real_t *p_v) |
| Reconstruct the value of a scalar potential at the cell center from an array of values defined on primal vertices. Algorithm based on the cs_cell_mesh_t structure. More...
|
|
static cs_real_t | cs_reco_cw_scalar_v2c (const cs_cell_mesh_t *cm, const cs_real_t *array) |
| Reconstruct a scalar value at the cell center from an array of values located at vertices (for the full mesh) More...
|
|
static cs_real_t | cs_reco_cw_scalar_vbyc2c (const cs_cell_mesh_t *cm, const cs_real_t *array) |
| Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to c2v->idx[cm->c_id] has been done. More...
|
|
static cs_real_t | cs_reco_cw_scalar_ebyc2c (const cs_cell_mesh_t *cm, const cs_real_t *array) |
| Reconstruct a scalar value at the cell center. array is scanned thanks to the c2e connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to c2e->idx[cm->c_id] has been done. More...
|
|
◆ cs_reco_cw_scalar_ebyc2c()
Reconstruct a scalar value at the cell center. array is scanned thanks to the c2e connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to c2e->idx[cm->c_id] has been done.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values for each couple (v,c) |
- Returns
- the reconstructed value
◆ cs_reco_cw_scalar_v2c()
Reconstruct a scalar value at the cell center from an array of values located at vertices (for the full mesh)
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values at vertices (size:n_vertices) |
- Returns
- the reconstructed value
◆ cs_reco_cw_scalar_v2c_loc()
Reconstruct the value of a scalar potential at the cell center from an array of values defined on primal vertices. Algorithm based on the cs_cell_mesh_t structure.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | p_v | pointer to the array of values at vertices (size: n_vc) |
- Returns
- the value of the reconstruction at the cell center
◆ cs_reco_cw_scalar_v2f_fw()
Reconstruct the value at the face center from an array of values defined on primal vertices attached to a face.
- Parameters
-
[in] | fm | pointer to cs_face_mesh_t structure |
[in] | p_v | pointer to an array of values (local to this face) |
- Returns
- the value of the reconstruction at the face center
◆ cs_reco_cw_scalar_v2f_loc()
Reconstruct the value at the face center from an array of values defined on primal vertices.
- Parameters
-
[in] | f | id of the face in the cellwise numbering |
[in] | cm | pointer to cs_cell_mesh_t structure |
[in] | p_v | pointer to an array of values (local to the cell) |
- Returns
- the value of the reconstruction at the face center
◆ cs_reco_cw_scalar_vbyc2c()
Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to c2v->idx[cm->c_id] has been done.
- Parameters
-
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values for each couple (v,c) |
- Returns
- the reconstructed value
◆ cs_reco_cw_stride_v2c()
Reconstruct a scalar value at the cell center. array is assumed to be interlaced and of size stride*n_vertices.
- Parameters
-
[in] | stride | number of values for each vertex |
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values |
[in,out] | reco | reconstructed values |
◆ cs_reco_cw_stride_vbyc2c()
Reconstruct a scalar value at the cell center. array is scanned thanks to the c2v connectivity. Pointer is already located at the beginning of the cell sequence, i.e. a shift equal to stride*c2v->idx[cm->c_id] has been done. array is assumed to be interlaced.
- Parameters
-
[in] | stride | number of values for each vertex |
[in] | cm | pointer to a cs_cell_mesh_t structure |
[in] | array | array of values for each couple (v,c) |
[in,out] | reco | reconstructed values |