1 #ifndef __CS_GWF_TRACER_H__ 2 #define __CS_GWF_TRACER_H__ 196 const char *var_name,
198 cs_gwf_tracer_model_t model);
231 const char *soil_name,
236 double reaction_rate);
Definition: cs_advection_field.h:149
cs_equation_t * eq
Definition: cs_gwf_tracer.h:119
void cs_gwf_tracer_standard_add_terms(cs_gwf_tracer_t *tracer)
Add terms to the algebraic system related to a tracer equation according to the settings. Case of the standar tracer modelling Rely on the generic functinon: cs_gwf_tracer_add_terms_t.
Definition: cs_gwf_tracer.c:612
Field descriptor.
Definition: cs_field.h:124
Definition: cs_gwf_tracer.h:91
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
void() cs_gwf_tracer_update_t(void *input, const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_real_t t_eval)
Generic function to update the phisical properties related to a tracer modelling. ...
Definition: cs_gwf_tracer.h:65
void() cs_gwf_tracer_setup_t(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_gwf_tracer_t *tracer)
Generic function to set the parameters related to a tracer equation.
Definition: cs_gwf_tracer.h:153
int reaction_id
Definition: cs_gwf_tracer.h:126
void() cs_gwf_tracer_free_input_t(void *input)
Generic function to free the input of a tracer model.
Definition: cs_gwf_tracer.h:80
int id
Definition: cs_gwf_tracer.h:118
cs_gwf_tracer_model_t model
Definition: cs_gwf_tracer.h:122
Definition: cs_cdo_connect.h:74
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
Definition: cs_cdo_quantities.h:94
cs_gwf_tracer_model_t
Definition: cs_gwf_tracer.h:87
cs_gwf_tracer_t * cs_gwf_tracer_free(cs_gwf_tracer_t *tracer)
Free a cs_gwf_tracer_t structure.
Definition: cs_gwf_tracer.c:512
cs_field_t * diffusivity
Definition: cs_gwf_tracer.h:124
cs_gwf_tracer_update_t * update_properties
Definition: cs_gwf_tracer.h:133
cs_gwf_tracer_t * cs_gwf_tracer_init(int tracer_id, const char *eq_name, const char *var_name, cs_adv_field_t *adv_field, cs_gwf_tracer_model_t model)
Create a new cs_gwf_tracer_t structure and initialize its members by default. Add a new equation rela...
Definition: cs_gwf_tracer.c:419
cs_gwf_tracer_free_input_t * free_input
Definition: cs_gwf_tracer.h:134
void * input
Definition: cs_gwf_tracer.h:130
#define END_C_DECLS
Definition: cs_defs.h:468
Definition: cs_gwf_tracer.h:89
void cs_gwf_set_standard_tracer(cs_gwf_tracer_t *tracer, const char *soil_name, double wmd, double alpha_l, double alpha_t, double distrib_coef, double reaction_rate)
Set a tracer for a specified soil when the tracer is attached to the default model.
Definition: cs_gwf_tracer.c:544
Main structure to handle the discretization and the resolution of an equation.
Definition: cs_gwf_tracer.h:116
void cs_gwf_tracer_standard_setup(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, cs_gwf_tracer_t *tracer)
Set the parameters related to a standard tracer equation.
Definition: cs_gwf_tracer.c:706
void() cs_gwf_tracer_add_terms_t(cs_gwf_tracer_t *tracer)
Generic function to update the terms to build in the algebraic system for a tracer equation according...
Definition: cs_gwf_tracer.h:167
Definition: cs_gwf_tracer.h:92