9.2
general documentation
cs_face_to_vertex.h File Reference
#include "base/cs_base.h"
+ Include dependency graph for cs_face_to_vertex.h:

Go to the source code of this file.

Enumerations

enum  cs_face_to_vertex_type_t { CS_FACE_TO_VERTEX_UNWEIGHTED , CS_FACE_TO_VERTEX_SURFACE , CS_FACE_TO_VERTEX_SHEPARD }
 

Functions

void cs_face_to_vertex_free (void)
 Free cell to vertex interpolation weights. More...
 
template<cs_lnum_t stride>
void cs_b_face_to_vertex (cs_face_to_vertex_type_t method, int verbosity, bool ignore_rot_perio, const cs_real_t *restrict b_weight, const cs_real_t *restrict b_var, cs_real_t v_var[])
 Interpolate boundary faces values to vertex values. More...
 

Variables

const char * cs_face_to_vertex_type_name []
 

Enumeration Type Documentation

◆ cs_face_to_vertex_type_t

Enumerator
CS_FACE_TO_VERTEX_UNWEIGHTED 

Uniform (constant) weights

CS_FACE_TO_VERTEX_SURFACE 

weights by surface

CS_FACE_TO_VERTEX_SHEPARD 

Shepard interpolation (weights by inverse distance)

Function Documentation

◆ cs_b_face_to_vertex()

void cs_b_face_to_vertex ( cs_face_to_vertex_type_t  method,
int  verbosity,
bool  ignore_rot_perio,
const cs_real_t *restrict  b_weight,
const cs_real_t *restrict  b_var,
cs_real_t  v_var[] 
)

Interpolate boundary faces values to vertex values.

Parameters
[in]methodinterpolation method
[in]verbosityverbosity level
[in]var_dimvariable dimension
[in]ignore_rot_perioif true, ignore periodicity of rotation
[in]b_weightboundary-face weight, or NULL
[in]b_varbase boundary-face values, or NULL
[out]v_varvertex-based variable

◆ cs_face_to_vertex_free()

void cs_face_to_vertex_free ( void  )

Free cell to vertex interpolation weights.

This will force subsequent calls to rebuild those weights if needed.

Free cell to vertex interpolation weights.

This will force subsequent calls to rebuild those weights if needed.

Variable Documentation

◆ cs_face_to_vertex_type_name

const char* cs_face_to_vertex_type_name[]
extern