programmer's documentation
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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"
Include dependency graph for cs_mesh_smoother.c:

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

#define _DOT_PRODUCT_3D (   v1,
  v2 
)
Value:
( \
v1[0]*v2[0] + v1[1]*v2[1] + v1[2]*v2[2])
#define _PI_   atan(1.0)*4.0
#define UNWARPING_MAX_LOOPS   50
#define UNWARPING_MVT   0.1

Function Documentation

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[] 
)