My Project
programmer's documentation
Functions
cs_mesh_smoother.c File Reference
#include "cs_defs.h"
#include <float.h>
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <limits.h>
#include <math.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "cs_mesh_quantities.h"
#include "cs_parall.h"
#include "cs_mesh_quality.h"
#include "cs_all_to_all.h"
#include "cs_mesh_smoother.h"
Include dependency graph for cs_mesh_smoother.c:

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)