programmer's documentation
Functions
cs_reco.h File Reference
#include "cs_cdo_quantities.h"
#include "cs_cdo_connect.h"
Include dependency graph for cs_reco.h:

Go to the source code of this file.

Functions

void cs_reco_conf_vtx_dofs (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *dof, double *p_crec[], double *p_frec[])
 Reconstruct at cell centers and face centers a vertex-based field Linear interpolation. If p_crec and/or p_frec are not allocated, this done in this subroutine. More...
 
void cs_reco_dga_edge_dof (cs_lnum_t cid, cs_lnum_t e1_id, const cs_connect_index_t *c2e, const cs_cdo_quantities_t *quant, const double *dof, double reco[])
 Reconstruct by a constant vector a field of edge-based DoFs in a volume surrounding an edge. More...
 
void cs_reco_ccen_edge_dof (cs_lnum_t cid, const cs_connect_index_t *c2e, const cs_cdo_quantities_t *quant, const double *dof, double reco[])
 Reconstruct at the cell center a field of edge-based DoFs. More...
 
void cs_reco_ccen_edge_dofs (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const double *dof, double *p_ccrec[])
 Reconstruct at each cell center a field of edge-based DoFs. More...
 

Function Documentation

void cs_reco_ccen_edge_dof ( cs_lnum_t  cid,
const cs_connect_index_t c2e,
const cs_cdo_quantities_t quant,
const double *  dof,
double  reco[] 
)

Reconstruct at the cell center a field of edge-based DoFs.

Parameters
[in]cidcell id
[in]c2ecell -> edges connectivity
[in]quantpointer to the additional quantities struct.
[in]dofpointer to the field of edge-based DoFs
[in,out]recovalue of the reconstrcuted field at cell center
void cs_reco_ccen_edge_dofs ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant,
const double *  dof,
double *  p_ccrec[] 
)

Reconstruct at each cell center a field of edge-based DoFs.

Parameters
[in]connectpointer to the connectivity struct.
[in]quantpointer to the additional quantities struct.
[in]dofpointer to the field of edge-based DoFs
[in,out]p_ccrecpointer to the reconstructed values
void cs_reco_conf_vtx_dofs ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant,
const double *  dof,
double *  p_crec[],
double *  p_frec[] 
)

Reconstruct at cell centers and face centers a vertex-based field Linear interpolation. If p_crec and/or p_frec are not allocated, this done in this subroutine.

Parameters
[in]connectpointer to the connectivity struct.
[in]quantpointer to the additional quantities struct.
[in]dofpointer to the field of vtx-based DoFs
[in,out]p_crecreconstructed values at cell centers
[in,out]p_frecreconstructed values at face centers
void cs_reco_dga_edge_dof ( cs_lnum_t  cid,
cs_lnum_t  e1_id,
const cs_connect_index_t c2e,
const cs_cdo_quantities_t quant,
const double *  dof,
double  reco[] 
)

Reconstruct by a constant vector a field of edge-based DoFs in a volume surrounding an edge.

Parameters
[in]cidcell id
[in]e1_idsub-volume related to this edge id
[in]c2ecell -> edges connectivity
[in]quantpointer to the additional quantities struct.
[in]dofpointer to the field of edge-based DoFs
[in,out]recovalue of the reconstrcuted field in this sub-volume