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_vertex_to_cell.h"
Include dependency graph for cs_vertex_to_cell.cpp:Functions | |
| void | cs_vertex_to_cell_free (void) |
| Free cell to vertex interpolation weights. More... | |
| void | cs_vertex_to_cell (cs_vertex_to_cell_type_t method, int verbosity, cs_lnum_t var_dim, const cs_real_t *restrict v_weight, const cs_real_t *restrict v_var, cs_real_t *restrict c_var) |
| Interpolate vertex values to cell values. More... | |
Cell to vertex interpolation..
| void cs_vertex_to_cell | ( | cs_vertex_to_cell_type_t | method, |
| int | verbosity, | ||
| cs_lnum_t | var_dim, | ||
| const cs_real_t *restrict | v_weight, | ||
| const cs_real_t *restrict | v_var, | ||
| cs_real_t *restrict | c_var | ||
| ) |
Interpolate vertex values to cell 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] | v_weight | vertex weight, or nullptr |
| [in] | v_var | base vertex-based variable |
| [out] | c_var | cell-based variable |
| void cs_vertex_to_cell_free | ( | void | ) |
Free cell to vertex interpolation weights.
This will force subsequent calls to rebuild those weights if needed.