#include "cs_base.h"
Go to the source code of this file.
Functions | |
void | cs_volume_mass_injection_flag_zones (void) |
Flag volume zones with the appropriate CS_VOLUME_ZONE_MASS_SOURCE_TERM flag when at least one volume mass injection on that zone is present. More... | |
void | cs_volume_mass_injection_build_lists (void) |
Build the list and zone ids of cells with volume mass injection. More... | |
void | cs_volume_mass_injection_eval (void) |
Evaluate contributions to volume mass injection. More... | |
void | cs_volume_mass_injection_get_arrays (const cs_field_t *f, cs_lnum_t *ncesmp, const cs_lnum_t **icetsm, int **itpsmp, cs_real_t **smcelp, cs_real_t **gamma) |
Return pointers to the mass source term arrays. More... | |
void cs_volume_mass_injection_build_lists | ( | void | ) |
Build the list and zone ids of cells with volume mass injection.
void cs_volume_mass_injection_eval | ( | void | ) |
Evaluate contributions to volume mass injection.
void cs_volume_mass_injection_flag_zones | ( | void | ) |
Flag volume zones with the appropriate CS_VOLUME_ZONE_MASS_SOURCE_TERM flag when at least one volume mass injection on that zone is present.
This is necessary for the reverse zone indexing required by the legacy code to function with defintions that are partially unrolled an not purely zone-based.
void cs_volume_mass_injection_get_arrays | ( | const cs_field_t * | f, |
cs_lnum_t * | n_elts, | ||
const cs_lnum_t ** | elt_ids, | ||
int ** | mst_type, | ||
cs_real_t ** | mst_val, | ||
cs_real_t ** | gamma | ||
) |
Return pointers to the mass source term arrays.
[in] | f | pointer to associated field |
[out] | ncesmp | number of cells with mass source terms |
[out] | icetsm | pointet to source mass cells list (1-based numbering) |
[out] | itpsmp | mass source type for the working variable |
[out] | s_type | mass source types (0: ambient value, 1: s_val value) |
[out] | smcelp | pointer to mass source values |
[out] | gamma | pointer to flow mass value |
[in] | f | pointer to associated field |
[out] | n_elts | number of cells with mass source terms |
[out] | elt_ids | pointer to source mass cells list (1-based numbering)//FIXME |
[out] | mst_type | mass source types (0: ambient value, 1: s_val value) |
[out] | mst_val | pointer to mass source values |
[out] | gamma | pointer to flow mass value |