Code_Saturne
CFD tool
Macros | Functions
cs_mesh_bad_cells.h File Reference
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CS_BAD_CELL_ORTHO_NORM   (1 << 0)
 
#define CS_BAD_CELL_OFFSET   (1 << 1)
 
#define CS_BAD_CELL_LSQ_GRAD   (1 << 2)
 
#define CS_BAD_CELL_RATIO   (1 << 3)
 
#define CS_BAD_CELL_GUILT   (1 << 4)
 
#define CS_BAD_CELL_USER   (1 << 5)
 

Functions

void cs_mesh_bad_cells_detect (const cs_mesh_t *mesh, cs_mesh_quantities_t *mesh_quantities)
 Compute bad cell quality indicators. More...
 
void cs_mesh_bad_cells_postprocess (const cs_mesh_t *mesh, const cs_mesh_quantities_t *mesh_quantities)
 Post-process bad cell quality indicators. More...
 

Macro Definition Documentation

◆ CS_BAD_CELL_GUILT

#define CS_BAD_CELL_GUILT   (1 << 4)

◆ CS_BAD_CELL_LSQ_GRAD

#define CS_BAD_CELL_LSQ_GRAD   (1 << 2)

◆ CS_BAD_CELL_OFFSET

#define CS_BAD_CELL_OFFSET   (1 << 1)

◆ CS_BAD_CELL_ORTHO_NORM

#define CS_BAD_CELL_ORTHO_NORM   (1 << 0)

◆ CS_BAD_CELL_RATIO

#define CS_BAD_CELL_RATIO   (1 << 3)

◆ CS_BAD_CELL_USER

#define CS_BAD_CELL_USER   (1 << 5)

Function Documentation

◆ cs_mesh_bad_cells_detect()

void cs_mesh_bad_cells_detect ( const cs_mesh_t mesh,
cs_mesh_quantities_t mesh_quantities 
)

Compute bad cell quality indicators.

Parameters
[in]meshpointer to associated mesh structure
[in,out]mesh_quantitiespointer to associated mesh quantities structure

◆ cs_mesh_bad_cells_postprocess()

void cs_mesh_bad_cells_postprocess ( const cs_mesh_t mesh,
const cs_mesh_quantities_t mesh_quantities 
)

Post-process bad cell quality indicators.

Parameters
[in]meshpointer to associated mesh structure
[in]mesh_quantitiespointer to associated mesh quantities structure
Here is the call graph for this function: