9.0
general documentation
Loading...
Searching...
No Matches
cs_cell_to_vertex.cpp File Reference

Cell to vertex interpolation.. More...

#include "base/cs_defs.h"
#include <assert.h>
#include <errno.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <math.h>
#include <float.h>
#include "bft/bft_error.h"
#include "bft/bft_printf.h"
#include "alge/cs_blas.h"
#include "base/cs_halo.h"
#include "base/cs_halo_perio.h"
#include "base/cs_log.h"
#include "base/cs_math.h"
#include "base/cs_mem.h"
#include "mesh/cs_mesh.h"
#include "mesh/cs_mesh_adjacencies.h"
#include "mesh/cs_mesh_quantities.h"
#include "base/cs_timer.h"
#include "alge/cs_cell_to_vertex.h"
Include dependency graph for cs_cell_to_vertex.cpp:

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 *restrict c_weight, const cs_real_t *restrict c_var, const cs_real_t *restrict b_var, cs_real_t *restrict v_var)
 Interpolate cell values to vertex values.

Detailed Description

Cell to vertex interpolation..

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 *restrict c_weight,
const cs_real_t *restrict c_var,
const cs_real_t *restrict b_var,
cs_real_t *restrict 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 nullptr
[in]c_varbase cell-based variable
[in]b_varbase boundary-face values, or nullptr
[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.