![]() |
programmer's documentation
|
#include "cs_cdo_bc.h"
#include "cs_param.h"
#include "cs_property.h"
#include "cs_advection_field.h"
#include "cs_xdef.h"
Go to the source code of this file.
Data Structures | |
struct | cs_equation_algo_t |
struct | cs_equation_param_t |
Macros | |
#define | CS_EQUATION_LOCKED (1 << 0) |
#define | CS_EQUATION_UNSTEADY (1 << 1) |
#define | CS_EQUATION_CONVECTION (1 << 2) |
#define | CS_EQUATION_DIFFUSION (1 << 3) |
#define | CS_EQUATION_REACTION (1 << 4) |
#define | CS_EQUATION_POST_PECLET (1 << 0) |
#define | CS_EQUATION_POST_UPWIND_COEF (1 << 1) |
Functions | |
cs_equation_param_t * | cs_equation_param_create (cs_equation_type_t type, int dim, cs_param_bc_type_t default_bc) |
Create a cs_equation_param_t. More... | |
cs_equation_param_t * | cs_equation_param_free (cs_equation_param_t *eqp) |
Free a cs_equation_param_t. More... | |
void | cs_equation_param_summary (const char *eqname, const cs_equation_param_t *eqp) |
Summary of a cs_equation_param_t structure. More... | |
void | cs_equation_param_init_sles (const char *eqname, const cs_equation_param_t *eqp, int field_id) |
Initialize SLES structure for the resolution of the linear system according to the settings related to this equation. More... | |
static bool | cs_equation_param_has_diffusion (const cs_equation_param_t *eqp) |
Ask if the parameters of the equation needs a diffusion term. More... | |
static bool | cs_equation_param_has_convection (const cs_equation_param_t *eqp) |
Ask if the parameters of the equation needs a convection term. More... | |
static bool | cs_equation_param_has_reaction (const cs_equation_param_t *eqp) |
Ask if the parameters of the equation needs a reaction term. More... | |
static bool | cs_equation_param_has_time (const cs_equation_param_t *eqp) |
Ask if the parameters of the equation needs an unsteady term. More... | |
static bool | cs_equation_param_has_sourceterm (const cs_equation_param_t *eqp) |
Ask if the parameters of the equation needs a source term. More... | |
#define CS_EQUATION_CONVECTION (1 << 2) |
#define CS_EQUATION_DIFFUSION (1 << 3) |
#define CS_EQUATION_LOCKED (1 << 0) |
#define CS_EQUATION_POST_PECLET (1 << 0) |
#define CS_EQUATION_POST_UPWIND_COEF (1 << 1) |
#define CS_EQUATION_REACTION (1 << 4) |
#define CS_EQUATION_UNSTEADY (1 << 1) |
enum cs_equation_type_t |
cs_equation_param_t* cs_equation_param_create | ( | cs_equation_type_t | type, |
int | dim, | ||
cs_param_bc_type_t | default_bc | ||
) |
Create a cs_equation_param_t.
[in] | type | type of equation |
[in] | dim | dimension of the variable associated to this eq. |
[in] | default_bc | type of boundary condition set by default |
[in] | type | type of equation |
[in] | dim | dim of the variable associated to this equation |
[in] | default_bc | type of boundary condition set by default |
cs_equation_param_t* cs_equation_param_free | ( | cs_equation_param_t * | eqp | ) |
Free a cs_equation_param_t.
[in] | eqp | pointer to a cs_equation_param_t |
[in,out] | eqp | pointer to a cs_equation_param_t |
|
inlinestatic |
Ask if the parameters of the equation needs a convection term.
[in] | eqp | pointer to a cs_equation_param_t |
|
inlinestatic |
Ask if the parameters of the equation needs a diffusion term.
[in] | eqp | pointer to a cs_equation_param_t |
|
inlinestatic |
Ask if the parameters of the equation needs a reaction term.
[in] | eqp | pointer to a cs_equation_param_t |
|
inlinestatic |
Ask if the parameters of the equation needs a source term.
[in] | eqp | pointer to a cs_equation_param_t |
|
inlinestatic |
Ask if the parameters of the equation needs an unsteady term.
[in] | eqp | pointer to a cs_equation_param_t |
void cs_equation_param_init_sles | ( | const char * | eqname, |
const cs_equation_param_t * | eqp, | ||
int | field_id | ||
) |
Initialize SLES structure for the resolution of the linear system according to the settings related to this equation.
[in] | eqname | pointer to an cs_equation_t structure |
[in] | eqp | pointer to a cs_equation_param_t struct. |
[in] | field_id | id of the cs_field_t struct. for this equation |
void cs_equation_param_summary | ( | const char * | eqname, |
const cs_equation_param_t * | eqp | ||
) |
Summary of a cs_equation_param_t structure.
[in] | eqname | name of the related equation |
[in] | eq | pointer to a cs_equation_param_t structure |
[in] | eqname | name of the related equation |
[in] | eqp | pointer to a cs_equation_param_t structure |