9.0
general documentation
Loading...
Searching...
No Matches
cs_cell_to_vertex.h File Reference
#include "base/cs_base.h"
Include dependency graph for cs_cell_to_vertex.h:

Go to the source code of this file.

Enumerations

enum  cs_cell_to_vertex_type_t { CS_CELL_TO_VERTEX_UNWEIGHTED , CS_CELL_TO_VERTEX_SHEPARD , CS_CELL_TO_VERTEX_LR }

Functions

void cs_cell_to_vertex_free (void)
 Free cell to vertex interpolation weights.
void cs_cell_to_vertex (cs_cell_to_vertex_type_t method, int verbosity, cs_lnum_t var_dim, bool ignore_rot_perio, const cs_real_t c_weight[], const cs_real_t c_var[], const cs_real_t b_var[], cs_real_t v_var[])
 Interpolate cell values to vertex values.

Variables

const char * cs_cell_to_vertex_type_name []

Enumeration Type Documentation

◆ cs_cell_to_vertex_type_t

Enumerator
CS_CELL_TO_VERTEX_UNWEIGHTED 

Uniform (constant) weights

CS_CELL_TO_VERTEX_SHEPARD 

Shepard interpolation (weights by inverse distance)

CS_CELL_TO_VERTEX_LR 

Linear regression (least-squares)

Function Documentation

◆ cs_cell_to_vertex()

void cs_cell_to_vertex ( cs_cell_to_vertex_type_t method,
int verbosity,
cs_lnum_t var_dim,
bool ignore_rot_perio,
const cs_real_t c_weight[],
const cs_real_t c_var[],
const cs_real_t b_var[],
cs_real_t v_var[] )

Interpolate cell 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]c_weightcell weight, or NULL
[in]c_varbase cell-based variable
[in]b_varbase boundary-face values, or NULL
[out]v_varvertex-based variable

◆ cs_cell_to_vertex_free()

void cs_cell_to_vertex_free ( void )

Free cell to vertex interpolation weights.

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

Variable Documentation

◆ cs_cell_to_vertex_type_name

const char* cs_cell_to_vertex_type_name[]
extern