|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_EQUATION_PRIV_H__
2 #define __CS_EQUATION_PRIV_H__
298 void *scheme_context);
void() cs_equation_restart_t(cs_restart_t *restart, const char *eqname, void *scheme_context)
Generic prototype dedicated to read or write additional arrays (not defined as fields) useful for the...
Definition: cs_equation_priv.h:296
void() cs_equation_solve_t(const cs_mesh_t *mesh, const int field_id, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *eqc)
Build and solve a linear system within the CDO framework.
Definition: cs_equation_priv.h:121
cs_equation_get_values_t * get_cell_values
Definition: cs_equation_priv.h:370
Definition: cs_equation_common.h:156
int field_id
Definition: cs_equation_priv.h:318
cs_real_t * rhs
Definition: cs_equation_priv.h:338
cs_equation_prepare_solve_t * prepare_solving
Definition: cs_equation_priv.h:377
#define restrict
Definition: cs_defs.h:127
#define END_C_DECLS
Definition: cs_defs.h:468
cs_equation_restart_t * write_restart
Definition: cs_equation_priv.h:367
cs_equation_get_values_t * get_face_values
Definition: cs_equation_priv.h:369
void() cs_equation_set_dir_bc_t(cs_real_t t_eval, const cs_mesh_t *mesh, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *context, cs_real_t field_val[])
Set the Dirichlet boundary stemming from the settings.
Definition: cs_equation_priv.h:141
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
void() cs_equation_update_field_t(const cs_real_t *solu, const cs_real_t *rhs, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *data, cs_real_t *field_val)
Store solution(s) of the linear system into a field structure Update extra-field values if required (...
Definition: cs_equation_priv.h:224
cs_equation_balance_t *() cs_equation_get_balance_t(const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *context)
Compute the balance for an equation over the full computational domain between time t_cur and t_cur +...
Definition: cs_equation_priv.h:245
Definition: cs_equation_priv.h:310
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
struct _cs_matrix_t cs_matrix_t
Definition: cs_matrix.h:90
cs_equation_solve_t * solve_steady_state
Definition: cs_equation_priv.h:361
cs_equation_initialize_system_t * initialize_system
Definition: cs_equation_priv.h:374
cs_equation_get_balance_t * compute_balance
Definition: cs_equation_priv.h:364
cs_equation_get_values_t * get_vertex_values
Definition: cs_equation_priv.h:371
void() cs_equation_initialize_system_t(const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *data, cs_matrix_t **system_matrix, cs_real_t **system_rhs)
Create the matrix of the current algebraic system. Allocate and initialize the right-hand side associ...
Definition: cs_equation_priv.h:163
cs_equation_builder_t * builder
Definition: cs_equation_priv.h:351
cs_lnum_t n_sles_scatter_elts
Definition: cs_equation_priv.h:333
void() cs_equation_prepare_solve_t(void *eq_to_cast, cs_real_t *p_x[], cs_real_t *p_rhs[])
Carry out operations for allocating and/or initializing the solution array and the right hand side of...
Definition: cs_equation_priv.h:205
cs_equation_restart_t * read_restart
Definition: cs_equation_priv.h:366
void() cs_equation_build_system_t(const cs_mesh_t *mesh, const cs_real_t *field_val, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *data, cs_real_t *rhs, cs_matrix_t *matrix)
Build a linear system within the CDO framework.
Definition: cs_equation_priv.h:184
char *restrict varname
Definition: cs_equation_priv.h:317
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources.
Definition: cs_equation_param.h:148
cs_equation_solve_t * solve
Definition: cs_equation_priv.h:362
cs_equation_update_field_t * update_field
Definition: cs_equation_priv.h:378
cs_equation_param_t * param
Definition: cs_equation_priv.h:314
cs_equation_extra_op_t * postprocess
Definition: cs_equation_priv.h:365
cs_equation_init_context_t * init_context
Definition: cs_equation_priv.h:357
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
struct _cs_restart_t cs_restart_t
Definition: cs_restart.h:87
Definition: cs_range_set.h:57
void() cs_equation_extra_op_t(const char *eqname, const cs_field_t *field, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *data)
Extra-operation related to this equation.
Definition: cs_equation_priv.h:262
void() cs_equation_init_values_t(cs_real_t t_eval, const int field_id, const cs_mesh_t *mesh, const cs_equation_param_t *eqp, cs_equation_builder_t *eqb, void *context)
Initialize the variable field values related to an equation.
Definition: cs_equation_priv.h:101
int id
Definition: cs_equation_priv.h:312
int main_ts_id
Definition: cs_equation_priv.h:381
cs_lnum_t n_sles_gather_elts
Definition: cs_equation_priv.h:334
cs_matrix_t * matrix
Definition: cs_equation_priv.h:342
Store common elements used when building an algebraic system related to an equation.
Definition: cs_equation_common.h:61
void * scheme_context
Definition: cs_equation_priv.h:354
void *() cs_equation_init_context_t(const cs_equation_param_t *eqp, int var_id, int bflux_id, cs_equation_builder_t *eqb)
Initialize a scheme data structure used during the building of the algebraic system.
Definition: cs_equation_priv.h:69
void *() cs_equation_free_context_t(void *scheme_context)
Destroy a scheme data structure.
Definition: cs_equation_priv.h:85
double precision, dimension(:,:), allocatable solu
Definition: atincl.f90:265
cs_equation_free_context_t * free_context
Definition: cs_equation_priv.h:358
cs_equation_build_system_t * build_system
Definition: cs_equation_priv.h:376
int boundary_flux_id
Definition: cs_equation_priv.h:319
Structure and routines handling the specific settings related to a cs_equation_t structure.
cs_equation_init_values_t * init_field_values
Definition: cs_equation_priv.h:360
cs_real_t *() cs_equation_get_values_t(void *scheme_context)
Compute or retrieve an array of values at a given mesh location Currently, vertices,...
Definition: cs_equation_priv.h:282
const cs_range_set_t * rset
Definition: cs_equation_priv.h:345
Field descriptor.
Definition: cs_field.h:124
cs_equation_set_dir_bc_t * set_dir_bc
Definition: cs_equation_priv.h:375