My Project
programmer's documentation
Functions
cs_mesh_smoother.h File Reference
#include "cs_base.h"
#include "cs_mesh.h"
#include "cs_mesh_quantities.h"
Include dependency graph for cs_mesh_smoother.h:

Go to the source code of this file.

Functions

void cs_mesh_smoother_fix_by_feature (cs_mesh_t *mesh, cs_real_t feature_angle, int vtx_is_fixed[])
 Set fixed vertices flag based on feature angle criterion. More...
 
void cs_mesh_smoother_unwarp (cs_mesh_t *mesh, const int vtx_is_fixed[])
 Unwarping smoother. More...
 

Function Documentation

◆ cs_mesh_smoother_fix_by_feature()

void cs_mesh_smoother_fix_by_feature ( cs_mesh_t mesh,
cs_real_t  feature_angle,
int  vtx_is_fixed[] 
)

Set fixed vertices flag based on feature angle criterion.

Please refer to the specific treatment for boundary faces section of the theory guide for more informations.

parameters:

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]feature_anglefeature angle (bounded between 0 and 90 degrees)
[out]vtx_is_fixedarray to define vertices mobility (1: fixed, 0: free)

◆ cs_mesh_smoother_unwarp()

void cs_mesh_smoother_unwarp ( cs_mesh_t mesh,
const int  vtx_is_fixed[] 
)

Unwarping smoother.

Please refer to the unwarping algorithm section of the theory guide for more informations.

parameters:

Parameters
[in]meshpointer to a cs_mesh_t structure
[out]vtx_is_fixedarray to define vertices mobility (1 : fixed, 0 : free)