Code_Saturne
CFD tool
Macros | 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_mesh_smoother.h"

Macros

#define UNWARPING_MAX_LOOPS   50
 
#define UNWARPING_MVT   0.1
 
#define _PI_   atan(1.0)*4.0
 
#define _DOT_PRODUCT_3D(v1, v2)
 

Functions

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

Macro Definition Documentation

◆ _DOT_PRODUCT_3D

#define _DOT_PRODUCT_3D (   v1,
  v2 
)
Value:
( \
v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2])

◆ _PI_

#define _PI_   atan(1.0)*4.0

◆ UNWARPING_MAX_LOOPS

#define UNWARPING_MAX_LOOPS   50

◆ UNWARPING_MVT

#define UNWARPING_MVT   0.1

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[] 
)
Here is the call graph for this function:

◆ cs_mesh_smoother_unwarp()

void cs_mesh_smoother_unwarp ( cs_mesh_t mesh,
const int  vtx_is_fixed[] 
)
Here is the call graph for this function: