Go to the source code of this file.
|
cs_cdo_quantities_t * | cs_cdo_quantities_build (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, const cs_cdo_connect_t *topo) |
| Build a cs_cdo_quantities_t structure. More...
|
|
cs_cdo_quantities_t * | cs_cdo_quantities_free (cs_cdo_quantities_t *q) |
| Destroy a cs_cdo_quantities_t structure. More...
|
|
void | cs_cdo_quantities_dump (const cs_cdo_quantities_t *cdoq) |
| Dump a cs_cdo_quantities_t structure. More...
|
|
void | cs_quant_dump (FILE *f, cs_lnum_t num, const cs_quant_t q) |
| Dump a cs_quant_t structure. More...
|
|
void | cs_compute_pvol_vtx (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double *p_pvol[]) |
| Compute for each vertex the dual cell volume which is also. More...
|
|
void | cs_compute_pvol_edge (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double *p_pvol[]) |
| Compute for each edge a related volume pvol_e which constitutes a partition of unity. More...
|
|
void | cs_compute_pvol_face (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, double *p_pvol[]) |
| Compute for each face a related volume pvol_f which constitutes a partition of unity. More...
|
|
void | cs_compute_face_weights (cs_lnum_t f_id, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const short int loc_ids[], double wf[]) |
| Compute for each face a weight related to each vertex w_{v,f} This weight is equal to |dc(v) cap f|/|f| so that the sum of the weights is equal to 1. More...
|
|
Enumerator |
---|
CS_CDO_CC_MEANV |
|
CS_CDO_CC_BARYC |
|
CS_CDO_CC_SATURNE |
|
CS_CDO_CC_ORTHO |
|
CS_CDO_N_CC_ALGOS |
|
Compute for each face a weight related to each vertex w_{v,f} This weight is equal to |dc(v) cap f|/|f| so that the sum of the weights is equal to 1.
- Parameters
-
[in] | f_id | id of the face |
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantites_t structure |
[in] | loc_ids | indirection to a local numbering |
[in,out] | wf | already allocated to n_max_vbyc (reset) |
Compute for each edge a related volume pvol_e which constitutes a partition of unity.
- Parameters
-
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantites_t structure |
[in,out] | p_pvol | pvol (if NULL, allocated in this routine) |
Compute for each face a related volume pvol_f which constitutes a partition of unity.
- Parameters
-
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantites_t structure |
[in,out] | p_pvol | pvol (if NULL, allocated in this routine) |
Compute for each vertex the dual cell volume which is also.
sum |celld(v) cap c| = pvol_v c in C_v
- Parameters
-
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to a cs_cdo_quantites_t structure |
[in,out] | p_pvol | pvol (if NULL, allocated in this routine) |
Dump a cs_quant_t structure.
- Parameters
-
[in] | f | FILE struct (stdout if NULL) |
[in] | num | entity number related to this quantity struct. |
[in] | q | cs_quant_t structure to dump |