9.0
general documentation
Loading...
Searching...
No Matches
cs_mesh_remove.h File Reference
#include "base/cs_defs.h"
#include "mesh/cs_mesh.h"
Include dependency graph for cs_mesh_remove.h:

Go to the source code of this file.

Functions

void cs_mesh_remove_cells (cs_mesh_t *m, char flag[], const char *group_name)
 Remove flagged cells.
void cs_mesh_remove_cells_negative_volume (cs_mesh_t *m)
 Remove cells with negative volumes.
void cs_mesh_remove_cells_from_selection_criteria (cs_mesh_t *m, const char *criteria, const char *group_name)
 Remove cells based on a selection criteria.

Function Documentation

◆ cs_mesh_remove_cells()

void cs_mesh_remove_cells ( cs_mesh_t * m,
char flag[],
const char * group_name )

Remove flagged cells.

Parameters
[in,out]mmesh
[in]flagcell flag (!= 0 to remove)
[in]group_namename of group to assign to new boundary faces, or NULL
[in,out]mmesh
[in]flagcell flag (!= 0 to remove)
[in]group_namename of group to assign to new boundary faces, or nullptr

◆ cs_mesh_remove_cells_from_selection_criteria()

void cs_mesh_remove_cells_from_selection_criteria ( cs_mesh_t * m,
const char * criteria,
const char * group_name )

Remove cells based on a selection criteria.

Parameters
[in,out]mpointer to mesh structure
[in]criteriaselection criteria
[in]group_nameName of group to assign new boundary faces, or nullptr

◆ cs_mesh_remove_cells_negative_volume()

void cs_mesh_remove_cells_negative_volume ( cs_mesh_t * m)

Remove cells with negative volumes.