Go to the source code of this file.
|
void | cs_equation_allocate_common_structures (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *time_step, cs_flag_t scheme_flag) |
| Allocate a pointer to a buffer of size at least the 2*n_cells for managing temporary usage of memory when dealing with equations Call specific structure allocation related to a numerical scheme according the scheme flag The size of the temporary buffer can be bigger according to the numerical settings Set also shared pointers from the main domain members. More...
|
|
void | cs_equation_free_common_structures (cs_flag_t scheme_flag) |
| Allocate a pointer to a buffer of size at least the 2*n_cells for managing temporary usage of memory when dealing with equations Call specific structure allocation related to a numerical scheme according the scheme flag The size of the temporary buffer can be bigger according to the numerical settings. More...
|
|
cs_real_t * | cs_equation_get_tmpbuf (void) |
| Retrieve a pointer to a buffer of size at least the 2*n_cells The size of the temporary buffer can be bigger according to the numerical settings. More...
|
|
size_t | cs_equation_get_tmpbuf_size (void) |
| Get the allocation size of the temporary buffer. More...
|
|
§ cs_equation_allocate_common_structures()
Allocate a pointer to a buffer of size at least the 2*n_cells for managing temporary usage of memory when dealing with equations Call specific structure allocation related to a numerical scheme according the scheme flag The size of the temporary buffer can be bigger according to the numerical settings Set also shared pointers from the main domain members.
- Parameters
-
[in] | connect | pointer to a cs_cdo_connect_t structure |
[in] | quant | pointer to additional mesh quantities struct. |
[in] | time_step | pointer to a time step structure |
[in] | scheme_flag | flag to identify which kind of numerical scheme is requested to solve the computational domain |
§ cs_equation_free_common_structures()
void cs_equation_free_common_structures |
( |
cs_flag_t |
scheme_flag | ) |
|
Allocate a pointer to a buffer of size at least the 2*n_cells for managing temporary usage of memory when dealing with equations Call specific structure allocation related to a numerical scheme according the scheme flag The size of the temporary buffer can be bigger according to the numerical settings.
- Parameters
-
[in] | scheme_flag | flag to identify which kind of numerical scheme is requested to solve the computational domain |
§ cs_equation_get_tmpbuf()
Retrieve a pointer to a buffer of size at least the 2*n_cells The size of the temporary buffer can be bigger according to the numerical settings.
- Returns
- a pointer to an array of double
§ cs_equation_get_tmpbuf_size()
size_t cs_equation_get_tmpbuf_size |
( |
void |
| ) |
|
Get the allocation size of the temporary buffer.
- Returns
- the size of the temporary buffer