This function is used to compute source terms over a volume zone. The mathematical expression is defined in the GUI. More...
Functions | |
void | cs_meg_source_terms (const char *zone_name, const cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t xyz[][3], const char *field_name, const char *source_type, cs_real_t *retvals) |
This function is used to compute source terms over a volume zone. The mathematical expression is defined in the GUI. |
This function is used to compute source terms over a volume zone. The mathematical expression is defined in the GUI.
The caller is responsible for freeing the returned array.
[in] | zone_name | name of a volume zone |
[in] | n_elts | number of elements related to the zone |
[in] | elt_ids | list of element ids related to the zone |
[in] | xyz | list of coordinates related to the zone |
[in] | field_name | variable field name |
[in] | source_type | source term type |
[out] | retvals | array of computed values |
void cs_meg_source_terms | ( | const char * | zone_name, |
const cs_lnum_t | n_elts, | ||
const cs_lnum_t * | elt_ids, | ||
const cs_real_t | xyz[][3], | ||
const char * | name, | ||
const char * | source_type, | ||
cs_real_t * | retvals ) |
This function is used to compute source terms over a volume zone. The mathematical expression is defined in the GUI.
The caller is responsible for freeing the returned array.
[in] | zone_name | name of a volume zone |
[in] | n_elts | number of elements related to the zone |
[in] | elt_ids | list of element ids related to the zone |
[in] | xyz | list of coordinates related to the zone |
[in] | field_name | variable field name |
[in] | source_type | source term type |
[out] | retvals | array of computed values |