#include "cs_defs.h"#include <errno.h>#include <locale.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <assert.h>#include <math.h>#include <float.h>#include "bft_mem.h"#include "bft_printf.h"#include "cs_blas.h"#include "cs_boundary.h"#include "cs_equation.h"#include "cs_field.h"#include "cs_log.h"#include "cs_math.h"#include "cs_mesh.h"#include "cs_mesh_location.h"#include "cs_post.h"#include "cs_reco.h"#include "cs_walldistance.h"Macros | |
| #define | _dp3 cs_math_3_dot_product |
| #define | CS_WALLDISTANCE_DBG 0 |
Functions | |
| static void | _compute_poisson_cdovcb (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const cs_field_t *field, const cs_equation_t *eq, cs_real_t dist[]) |
| Compute the wall distance for a vertex+cell-based scheme Estimation based on a Poisson equation. | |
| static void | _compute_poisson_cdovb (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const cs_field_t *field, cs_real_t dist[]) |
| Compute the wall distance for a vertex-based scheme Estimation based on a Poisson equation. | |
| static void | _compute_poisson_cdofb (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const cs_equation_t *eq, const cs_field_t *field, cs_real_t dist[]) |
| Compute the wall distance for a face-based scheme Estimation based on a Poisson equation. | |
| bool | cs_walldistance_is_activated (void) |
| Test if the computation of the wall distance is activated. | |
| void | cs_walldistance_activate (void) |
| Activate the future computation of the wall distance. | |
| void | cs_walldistance_setup (void) |
| Setup the equation related to the wall distance. | |
| void | cs_walldistance_compute (const cs_mesh_t *mesh, const cs_time_step_t *time_step, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq) |
| Compute the wall distance. | |
Variables | |
| static cs_equation_t * | cs_wd_poisson_eq = NULL |
| #define _dp3 cs_math_3_dot_product |
| #define CS_WALLDISTANCE_DBG 0 |
|
static |
Compute the wall distance for a face-based scheme Estimation based on a Poisson equation.
| [in] | connect | pointer to a cs_cdo_connect_t structure |
| [in] | cdoq | pointer to a cs_cdo_quantities_t structure |
| [in] | eq | pointer to the associated cs_equation_t structure |
| [in] | field | pointer to a cs_field_t structure |
| [in,out] | dist | array storing the wall distance to compute |
|
static |
Compute the wall distance for a vertex-based scheme Estimation based on a Poisson equation.
| [in] | connect | pointer to a cs_cdo_connect_t structure |
| [in] | cdoq | pointer to a cs_cdo_quantities_t structure |
| [in] | field | pointer to a cs_field_t structure |
| [in,out] | dist | array storing the wall distance to compute |
|
static |
Compute the wall distance for a vertex+cell-based scheme Estimation based on a Poisson equation.
| [in] | connect | pointer to a cs_cdo_connect_t structure |
| [in] | cdoq | pointer to a cs_cdo_quantities_t structure |
| [in] | field | pointer to a cs_field_t structure |
| [in] | eq | pointer to the related cs_equation_t structure |
| [in,out] | dist | array storing the wall distance to compute |
| void cs_walldistance_activate | ( | void | ) |
Activate the future computation of the wall distance.
| void cs_walldistance_compute | ( | const cs_mesh_t * | mesh, |
| const cs_time_step_t * | time_step, | ||
| const cs_cdo_connect_t * | connect, | ||
| const cs_cdo_quantities_t * | cdoq ) |
Compute the wall distance.
| [in] | mesh | pointer to a cs_mesh_t structure |
| [in] | time_step | pointer to a cs_time_step_t structure |
| [in] | connect | pointer to a cs_cdo_connect_t structure |
| [in] | cdoq | pointer to a cs_cdo_quantities_t structure |
| bool cs_walldistance_is_activated | ( | void | ) |
Test if the computation of the wall distance is activated.
| void cs_walldistance_setup | ( | void | ) |
Setup the equation related to the wall distance.
|
static |