Cell to vertex interpolation.. More...
#include "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_error.h"#include "bft_mem.h"#include "bft_printf.h"#include "cs_blas.h"#include "cs_halo.h"#include "cs_halo_perio.h"#include "cs_log.h"#include "cs_math.h"#include "cs_mesh.h"#include "cs_mesh_adjacencies.h"#include "cs_mesh_quantities.h"#include "cs_timer.h"#include "cs_cell_to_vertex.h"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[restrict], const cs_real_t c_var[restrict], const cs_real_t b_var[restrict], cs_real_t v_var[restrict]) |
| Interpolate cell values to vertex values. | |
Cell to vertex interpolation..
| 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[restrict], | ||
| const cs_real_t | c_var[restrict], | ||
| const cs_real_t | b_var[restrict], | ||
| cs_real_t | v_var[restrict] ) |
Interpolate cell values to vertex values.
| [in] | method | interpolation method |
| [in] | verbosity | verbosity level |
| [in] | var_dim | variable dimension |
| [in] | ignore_rot_perio | if true, ignore periodicity of rotation |
| [in] | c_weight | cell weight, or NULL |
| [in] | c_var | base cell-based variable |
| [in] | b_var | base boundary-face values, or NULL |
| [out] | v_var | vertex-based variable |
| void cs_cell_to_vertex_free | ( | void | ) |
Free cell to vertex interpolation weights.
This will force subsequent calls to rebuild those weights if needed.