Go to the source code of this file.
|  | 
| cs_meg_xdef_input_t * | cs_meg_xdef_wrapper_add_input (const cs_meg_function_type_t type, const int z_id, const int stride, const char *name, const char *additional_data) | 
|  | Add a MEG function xdef wrapper input data. Allocated memory is deleted by cs_meg_xdef_wrapper_finalize.  More... 
 | 
|  | 
| void | cs_meg_xdef_wrapper (cs_real_t time, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t *coords, bool dense_output, void *input, cs_real_t *retval) | 
|  | Wrapper function allowing to call MEG functions by xdef structres. This is done by using the cs_xdef_analytic_function type.  More... 
 | 
|  | 
◆ cs_meg_function_type_t
Enum for MEG function type 
| Enumerator | 
|---|
| CS_MEG_BOUNDARY_FUNC |  | 
| CS_MEG_VOLUME_FUNC |  | 
| CS_MEG_INITIALIZATION_FUNC |  | 
| CS_MEG_SOURCE_TERM_FUNC |  | 
| CS_MEG_IBM_FUNC |  | 
| CS_MEG_FSI_STRUCT_FUNC |  | 
| CS_MEG_POST_ACTIVATE_FUNC |  | 
| CS_MEG_POST_PROFILES_FUNC |  | 
| CS_MEG_CALCULATOR_FUNC |  | 
| CS_MEG_N_FUNC_TYPES |  | 
 
 
◆ cs_meg_xdef_wrapper()
Wrapper function allowing to call MEG functions by xdef structres. This is done by using the cs_xdef_analytic_function type. 
- Parameters
- 
  
    | [in] | time | when ? |  | [in] | n_elts | number of elements to consider |  | [in] | elt_ids | list of elements ids (in coords and retval) |  | [in] | coords | where ? |  | [in] | dense_output | perform an indirection in retval or not |  | [in] | input | pointer to cs_meg_xdef_input_t |  | [in] | retval | resultint value(s). Must be allocated |  
 
 
 
◆ cs_meg_xdef_wrapper_add_input()
Add a MEG function xdef wrapper input data. Allocated memory is deleted by cs_meg_xdef_wrapper_finalize. 
- Parameters
- 
  
    | [in] | type | type of meg function linked to this input |  | [in] | z_id | id of zone on which this function is defined |  | [in] | stride | stride of data |  | [in] | name | name related to function |  | [in] | additional_data | additional data (char *) provided to function, such as condition or source type |  
 
- Returns
- pointer to newly allocated input data structure