|
programmer's documentation
|
#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_mesh.h"#include "cs_post.h"#include "cs_mesh_location.h"#include "cs_field.h"#include "cs_cdo.h"#include "cs_param.h"#include "cs_reco.h"#include "cs_cdo_toolbox.h"#include "cs_walldistance.h"
Functions | |
| static void | _compute_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. More... | |
| static void | _compute_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. More... | |
| void | cs_walldistance_compute (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const cs_equation_t *eq) |
| Compute the wall distance. More... | |
| void | cs_walldistance_setup (cs_equation_t *eq, cs_property_t *diff_pty, int wall_ml_id) |
| Setup an new equation related to the wall distance. More... | |
|
static |
Compute the wall distance for a face-based scheme.
| [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.
| [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 |
| void cs_walldistance_compute | ( | const cs_cdo_connect_t * | connect, |
| const cs_cdo_quantities_t * | cdoq, | ||
| const cs_equation_t * | eq | ||
| ) |
Compute the wall distance.
| [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 |
| void cs_walldistance_setup | ( | cs_equation_t * | eq, |
| cs_property_t * | diff_pty, | ||
| int | wall_ml_id | ||
| ) |
Setup an new equation related to the wall distance.
| [in] | eq | pointer to the associated cs_equation_t structure |
| [in] | diff_pty | pointer to a cs_property_t structure |
| [in] | wall_ml_id | id of the mesh location related to wall boundaries |
1.8.9.1