Filter symmetry faces whose effects cancel out. More...
#include "cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "bft_error.h"
#include "bft_mem.h"
#include "bft_printf.h"
#include "cs_math.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
#include "cs_symmetry_faces_filter.h"
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. More... | |
Filter symmetry faces whose effects cancel out.
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..
[in] | m | pointer to mesh |
[in] | mq | pointer to mesh quantities |
[in,out] | n_faces | number of selected boundary faces |
[in,out] | face_ids | ids of selected boundary faces |