9.0
general documentation
Loading...
Searching...
No Matches
cs_symmetry_faces_filter.h File Reference
Include dependency graph for cs_symmetry_faces_filter.h:

Go to the source code of this file.

Functions

void cs_symmetry_faces_filter_cancel (const cs_mesh_t *m, const cs_mesh_quantities_t *mq, cs_lnum_t *n_faces, cs_lnum_t face_ids[])
 Filter selected faces whose effects should cancel out.

Function Documentation

◆ cs_symmetry_faces_filter_cancel()

void cs_symmetry_faces_filter_cancel ( const cs_mesh_t * m,
const cs_mesh_quantities_t * mq,
cs_lnum_t * n_faces,
cs_lnum_t face_ids[] )

Filter selected faces whose effects should cancel out.

This function simply checks if the sum of associated cell face normals cancels out, and deselects faces for which this is not verified..

Parameters
[in]mpointer to mesh
[in]mqpointer to mesh quantities
[in,out]n_facesnumber of selected boundary faces
[in,out]face_idsids of selected boundary faces