7.1
general documentation
cs_gwf.h File Reference
#include "cs_base.h"
#include "cs_equation.h"
#include "cs_gwf_soil.h"
#include "cs_gwf_tracer.h"
+ Include dependency graph for cs_gwf.h:

Go to the source code of this file.

Macros

Flags specifying the kind of post-processing to perform in

the groundwater flow module

#define CS_GWF_POST_SOIL_CAPACITY   (1 << 0)
 Activate the post-processing of the soil capacity (property in front of the unsteady term in Richards equation) More...
 
#define CS_GWF_POST_LIQUID_SATURATION   (1 << 1)
 Activate the post-processing of the liquid saturation (also nammed "moisture content" in case of single phase flow) More...
 
#define CS_GWF_POST_PERMEABILITY   (1 << 2)
 Activate the post-processing of the permeability field. More...
 
#define CS_GWF_POST_DARCY_FLUX_BALANCE   (1 << 3)
 Compute the overall balance at the different boundaries of the Darcy flux. More...
 
#define CS_GWF_POST_DARCY_FLUX_DIVERGENCE   (1 << 4)
 Compute in each control volume (vertices or cells w.r.t the space scheme) the divergence of the Darcy flux. More...
 
#define CS_GWF_POST_DARCY_FLUX_AT_BOUNDARY   (1 << 5)
 Define a field at boundary faces for the Darcy flux and activate the post-processing. More...
 

Typedefs

typedef cs_flag_t cs_gwf_option_flag_t
 

Enumerations

enum  cs_gwf_model_type_t { CS_GWF_MODEL_SATURATED_SINGLE_PHASE, CS_GWF_MODEL_UNSATURATED_SINGLE_PHASE, CS_GWF_MODEL_TWO_PHASE, CS_GWF_N_MODEL_TYPES }
 Type of system of equation(s) to consider for the physical modelling. More...
 
enum  cs_gwf_model_bit_t { CS_GWF_GRAVITATION = 1<< 0, CS_GWF_FORCE_RICHARDS_ITERATIONS = 1<< 6, CS_GWF_RESCALE_HEAD_TO_ZERO_MEAN_VALUE = 1<< 7, CS_GWF_ENFORCE_DIVERGENCE_FREE = 1<< 8 }
 Elemental modelling choice either from the physical viewpoint or the numerical viewpoint. More...
 

Functions

bool cs_gwf_is_activated (void)
 Check if the groundwater flow module has been activated. More...
 
cs_gwf_t * cs_gwf_activate (cs_property_type_t pty_type, cs_gwf_model_type_t model, cs_gwf_option_flag_t option_flag)
 Initialize the module dedicated to groundwater flows. More...
 
cs_gwf_t * cs_gwf_destroy_all (void)
 Free all structures related to groundwater flows. More...
 
void cs_gwf_set_two_phase_model (cs_real_t l_mass_density, cs_real_t l_viscosity, cs_real_t g_viscosity, cs_real_t l_diffusivity_h, cs_real_t w_molar_mass, cs_real_t h_molar_mass, cs_real_t ref_temperature, cs_real_t henry_constant)
 Set the parameters defining the two-phase flow model. Use SI unit if not prescribed otherwise. More...
 
void cs_gwf_log_setup (void)
 Summary of the main cs_gwf_t structure. More...
 
void cs_gwf_set_post_options (cs_flag_t post_flag, bool reset)
 Set the flag dedicated to the post-processing of the GWF module. More...
 
cs_adv_field_tcs_gwf_get_adv_field (void)
 Retrieve the advection field related to the Darcy flux in the liquid phase. More...
 
cs_real_tcs_gwf_get_uspf_head_in_law (void)
 Retrieve the head used in soil updates when an unsaturated single-phase flow is considered. These values are located at cells. More...
 
cs_gwf_soil_tcs_gwf_add_soil (const char *z_name, double bulk_density, double sat_moisture, cs_gwf_soil_hydraulic_model_t soil_model)
 Create and add a new cs_gwf_soil_t structure. An initialization by default of all members is performed. More...
 
cs_gwf_tracer_t * cs_gwf_add_tracer (cs_gwf_tracer_model_t tr_model, const char *eq_name, const char *var_name)
 Add a new equation related to the groundwater flow module This equation is a particular type of unsteady advection-diffusion reaction eq. Tracer is advected thanks to the darcian velocity and diffusion/reaction parameters result from a physical modelling. Terms solved in the equation are activated according to the settings. The advection field corresponds to that of the liquid phase. More...
 
cs_gwf_tracer_t * cs_gwf_add_user_tracer (const char *eq_name, const char *var_name, cs_gwf_tracer_setup_t *setup, cs_gwf_tracer_add_terms_t *add_terms)
 Add a new equation related to the groundwater flow module This equation is a particular type of unsteady advection-diffusion reaction eq. Tracer is advected thanks to the darcian velocity and diffusion/reaction parameters result from a physical modelling. Terms are activated according to the settings. Modelling of the tracer parameters are left to the user. More...
 
cs_gwf_tracer_t * cs_gwf_tracer_by_name (const char *eq_name)
 Retrieve the pointer to the cs_gwf_tracer_t structure associated to the name given as parameter. More...
 
void cs_gwf_add_tracer_terms (void)
 Add new terms if needed (such as diffusion or reaction) to tracer equations according to the settings. More...
 
void cs_gwf_init_setup (void)
 Predefined settings for the Richards equation and the related equations defining the groundwater flow module. At this stage, all soils have been defined and equatino parameters are set. Create new cs_field_t structures according to the setting. More...
 
void cs_gwf_finalize_setup (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant)
 Last initialization step of the groundwater flow module. At this stage, the mesh quantities are defined. More...
 
void cs_gwf_update (const cs_mesh_t *mesh, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant, const cs_time_step_t *ts, bool cur2prev)
 Update the groundwater system (pressure head, head in law, moisture content, darcian velocity, soil capacity or permeability if needed) More...
 
void cs_gwf_compute_steady_state (const cs_mesh_t *mesh, const cs_time_step_t *time_step, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq)
 Compute the steady-state of the groundwater flows module. Nothing is done if all equations are unsteady. More...
 
void cs_gwf_compute (const cs_mesh_t *mesh, const cs_time_step_t *time_step, const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq)
 Compute the system related to groundwater flows module. More...
 
cs_real_t cs_gwf_integrate_tracer (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq, const cs_gwf_tracer_t *tracer, const char *z_name)
 Compute the integral over a given set of cells of the field related to a tracer equation. This integral turns out to be exact for linear functions. More...
 
void cs_gwf_extra_op (const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *cdoq)
 Predefined extra-operations for the groundwater flow module. More...
 
void cs_gwf_extra_post_sspf (void *input, int mesh_id, int cat_id, int ent_flag[5], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_ids[], const cs_lnum_t i_face_ids[], const cs_lnum_t b_face_ids[], const cs_time_step_t *time_step)
 Predefined post-processing output for the groundwater flow module in case of saturated single-phase flows (sspf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t) More...
 
void cs_gwf_extra_post_uspf (void *input, int mesh_id, int cat_id, int ent_flag[5], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_ids[], const cs_lnum_t i_face_ids[], const cs_lnum_t b_face_ids[], const cs_time_step_t *time_step)
 Predefined post-processing output for the groundwater flow module in case of unsaturated single-phase flows (uspf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t) More...
 
void cs_gwf_extra_post_mtpf (void *input, int mesh_id, int cat_id, int ent_flag[5], cs_lnum_t n_cells, cs_lnum_t n_i_faces, cs_lnum_t n_b_faces, const cs_lnum_t cell_ids[], const cs_lnum_t i_face_ids[], const cs_lnum_t b_face_ids[], const cs_time_step_t *time_step)
 Predefined post-processing output for the groundwater flow module in case of miscible two-phase flows (mtpf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t) More...
 

Macro Definition Documentation

◆ CS_GWF_POST_DARCY_FLUX_AT_BOUNDARY

#define CS_GWF_POST_DARCY_FLUX_AT_BOUNDARY   (1 << 5)

Define a field at boundary faces for the Darcy flux and activate the post-processing.

◆ CS_GWF_POST_DARCY_FLUX_BALANCE

#define CS_GWF_POST_DARCY_FLUX_BALANCE   (1 << 3)

Compute the overall balance at the different boundaries of the Darcy flux.

◆ CS_GWF_POST_DARCY_FLUX_DIVERGENCE

#define CS_GWF_POST_DARCY_FLUX_DIVERGENCE   (1 << 4)

Compute in each control volume (vertices or cells w.r.t the space scheme) the divergence of the Darcy flux.

◆ CS_GWF_POST_LIQUID_SATURATION

#define CS_GWF_POST_LIQUID_SATURATION   (1 << 1)

Activate the post-processing of the liquid saturation (also nammed "moisture content" in case of single phase flow)

◆ CS_GWF_POST_PERMEABILITY

#define CS_GWF_POST_PERMEABILITY   (1 << 2)

Activate the post-processing of the permeability field.

◆ CS_GWF_POST_SOIL_CAPACITY

#define CS_GWF_POST_SOIL_CAPACITY   (1 << 0)

Activate the post-processing of the soil capacity (property in front of the unsteady term in Richards equation)

Typedef Documentation

◆ cs_gwf_option_flag_t

Enumeration Type Documentation

◆ cs_gwf_model_bit_t

Elemental modelling choice either from the physical viewpoint or the numerical viewpoint.

Enumerator
CS_GWF_GRAVITATION 

Gravitation effects are taken into account in the Richards equation.

CS_GWF_FORCE_RICHARDS_ITERATIONS 

Even if the Richards equation is steady-state, this equation is solved at each iteration.

CS_GWF_RESCALE_HEAD_TO_ZERO_MEAN_VALUE 

Compute the mean-value of the hydraulic head field and subtract this mean-value to get a field with zero mean-value. It's important to set this flag if no boundary condition is given.

CS_GWF_ENFORCE_DIVERGENCE_FREE 

Activate a treatment to enforce a Darcy flux to be divergence-free.

◆ cs_gwf_model_type_t

Type of system of equation(s) to consider for the physical modelling.

Enumerator
CS_GWF_MODEL_SATURATED_SINGLE_PHASE 

Single phase (liquid phase) modelling in a porous media.

All soils are assumed to be saturated. This yields several simplifications in the Richards equation governing the water conservation. The Richards equation is steady. The saturation is constant and there is no relative permeability.

CS_GWF_MODEL_UNSATURATED_SINGLE_PHASE 

Single phase (liquid phase) modelling in a porous media.

Some soils are not saturated and are described by a more complex model such as the Van Genuchten-Mualen model. Simplifications made in the case of CS_GWF_MODEL_SATURATED_SINGLE_PHASE do not hold anymore. Richards equation is unsteady and there may be a non-linearity to handle according to the type of soil model. Soil properties such as permeability, soil capacity and liquid saturation (also called moisture content) are neither uniform nor steady.

CS_GWF_MODEL_TWO_PHASE 

Two phase flow modelling (gaz and liquid phases) in porous media.

A Richards-like equation is considered in each phase to take into account the mass conservation of water and one other component. The component can be disolved in the liquid phase. No water vapour is taken into account. Please refer to cs_gwf_miscible_two_phase_t for more details.

CS_GWF_N_MODEL_TYPES 

Number of predefined models (not a model)

Function Documentation

◆ cs_gwf_activate()

cs_gwf_t* cs_gwf_activate ( cs_property_type_t  pty_type,
cs_gwf_model_type_t  model,
cs_gwf_option_flag_t  option_flag 
)

Initialize the module dedicated to groundwater flows.

Parameters
[in]pty_typetype of permeability (iso, ortho...)
[in]modeltype of physical modelling
[in]option_flagoptional flag to specify this module
Returns
a pointer to a new allocated groundwater flow structure

◆ cs_gwf_add_soil()

cs_gwf_soil_t* cs_gwf_add_soil ( const char *  z_name,
double  bulk_density,
double  sat_moisture,
cs_gwf_soil_hydraulic_model_t  soil_model 
)

Create and add a new cs_gwf_soil_t structure. An initialization by default of all members is performed.

Parameters
[in]z_namename of the volume zone corresponding to the soil
[in]bulk_densityvalue of the mass density
[in]sat_moisturevalue of the saturated moisture content
[in]soil_modeltype of modelling for the hydraulic behavior
Returns
a pointer to the new allocated soil structure

◆ cs_gwf_add_tracer()

cs_gwf_tracer_t* cs_gwf_add_tracer ( cs_gwf_tracer_model_t  tr_model,
const char *  eq_name,
const char *  var_name 
)

Add a new equation related to the groundwater flow module This equation is a particular type of unsteady advection-diffusion reaction eq. Tracer is advected thanks to the darcian velocity and diffusion/reaction parameters result from a physical modelling. Terms solved in the equation are activated according to the settings. The advection field corresponds to that of the liquid phase.

Parameters
[in]tr_modelphysical modelling to consider (0 = default settings)
[in]eq_namename of the tracer equation
[in]var_namename of the related variable

◆ cs_gwf_add_tracer_terms()

void cs_gwf_add_tracer_terms ( void  )

Add new terms if needed (such as diffusion or reaction) to tracer equations according to the settings.

◆ cs_gwf_add_user_tracer()

cs_gwf_tracer_t* cs_gwf_add_user_tracer ( const char *  eq_name,
const char *  var_name,
cs_gwf_tracer_setup_t setup,
cs_gwf_tracer_add_terms_t add_terms 
)

Add a new equation related to the groundwater flow module This equation is a particular type of unsteady advection-diffusion reaction eq. Tracer is advected thanks to the darcian velocity and diffusion/reaction parameters result from a physical modelling. Terms are activated according to the settings. Modelling of the tracer parameters are left to the user.

Parameters
[in]eq_namename of the tracer equation
[in]var_namename of the related variable
[in]setupfunction pointer (predefined prototype)
[in]add_termsfunction pointer (predefined prototype)

◆ cs_gwf_compute()

void cs_gwf_compute ( const cs_mesh_t mesh,
const cs_time_step_t time_step,
const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq 
)

Compute the system related to groundwater flows module.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]time_steppointer to a cs_time_step_t structure
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure

◆ cs_gwf_compute_steady_state()

void cs_gwf_compute_steady_state ( const cs_mesh_t mesh,
const cs_time_step_t time_step,
const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq 
)

Compute the steady-state of the groundwater flows module. Nothing is done if all equations are unsteady.

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]time_steppointer to a cs_time_step_t structure
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure

◆ cs_gwf_destroy_all()

cs_gwf_t* cs_gwf_destroy_all ( void  )

Free all structures related to groundwater flows.

Returns
a NULL pointer

◆ cs_gwf_extra_op()

void cs_gwf_extra_op ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq 
)

Predefined extra-operations for the groundwater flow module.

Parameters
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure

◆ cs_gwf_extra_post_mtpf()

void cs_gwf_extra_post_mtpf ( void *  input,
int  mesh_id,
int  cat_id,
int  ent_flag[5],
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
const cs_lnum_t  cell_ids[],
const cs_lnum_t  i_face_ids[],
const cs_lnum_t  b_face_ids[],
const cs_time_step_t time_step 
)

Predefined post-processing output for the groundwater flow module in case of miscible two-phase flows (mtpf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t)

Parameters
[in,out]inputpointer to a optional structure (here a cs_gwf_t structure)
[in]mesh_idid of the output mesh for the current call
[in]cat_idcategory id of the output mesh for this call
[in]ent_flagindicate global presence of cells (ent_flag[0]), interior faces (ent_flag[1]), boundary faces (ent_flag[2]), particles (ent_flag[3]) or probes (ent_flag[4])
[in]n_cellslocal number of cells of post_mesh
[in]n_i_faceslocal number of interior faces of post_mesh
[in]n_b_faceslocal number of boundary faces of post_mesh
[in]cell_idslist of cells (0 to n-1)
[in]i_face_idslist of interior faces (0 to n-1)
[in]b_face_idslist of boundary faces (0 to n-1)
[in]time_steppointer to a cs_time_step_t struct.

◆ cs_gwf_extra_post_sspf()

void cs_gwf_extra_post_sspf ( void *  input,
int  mesh_id,
int  cat_id,
int  ent_flag[5],
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
const cs_lnum_t  cell_ids[],
const cs_lnum_t  i_face_ids[],
const cs_lnum_t  b_face_ids[],
const cs_time_step_t time_step 
)

Predefined post-processing output for the groundwater flow module in case of saturated single-phase flows (sspf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t)

Parameters
[in,out]inputpointer to a optional structure (here a cs_gwf_t structure)
[in]mesh_idid of the output mesh for the current call
[in]cat_idcategory id of the output mesh for this call
[in]ent_flagindicate global presence of cells (ent_flag[0]), interior faces (ent_flag[1]), boundary faces (ent_flag[2]), particles (ent_flag[3]) or probes (ent_flag[4])
[in]n_cellslocal number of cells of post_mesh
[in]n_i_faceslocal number of interior faces of post_mesh
[in]n_b_faceslocal number of boundary faces of post_mesh
[in]cell_idslist of cells (0 to n-1)
[in]i_face_idslist of interior faces (0 to n-1)
[in]b_face_idslist of boundary faces (0 to n-1)
[in]time_steppointer to a cs_time_step_t struct.

◆ cs_gwf_extra_post_uspf()

void cs_gwf_extra_post_uspf ( void *  input,
int  mesh_id,
int  cat_id,
int  ent_flag[5],
cs_lnum_t  n_cells,
cs_lnum_t  n_i_faces,
cs_lnum_t  n_b_faces,
const cs_lnum_t  cell_ids[],
const cs_lnum_t  i_face_ids[],
const cs_lnum_t  b_face_ids[],
const cs_time_step_t time_step 
)

Predefined post-processing output for the groundwater flow module in case of unsaturated single-phase flows (uspf) in porous media. Prototype of this function is given since it is a function pointer defined in cs_post.h (cs_post_time_mesh_dep_output_t)

Parameters
[in,out]inputpointer to a optional structure (here a cs_gwf_t structure)
[in]mesh_idid of the output mesh for the current call
[in]cat_idcategory id of the output mesh for this call
[in]ent_flagindicate global presence of cells (ent_flag[0]), interior faces (ent_flag[1]), boundary faces (ent_flag[2]), particles (ent_flag[3]) or probes (ent_flag[4])
[in]n_cellslocal number of cells of post_mesh
[in]n_i_faceslocal number of interior faces of post_mesh
[in]n_b_faceslocal number of boundary faces of post_mesh
[in]cell_idslist of cells (0 to n-1)
[in]i_face_idslist of interior faces (0 to n-1)
[in]b_face_idslist of boundary faces (0 to n-1)
[in]time_steppointer to a cs_time_step_t struct.

◆ cs_gwf_finalize_setup()

void cs_gwf_finalize_setup ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant 
)

Last initialization step of the groundwater flow module. At this stage, the mesh quantities are defined.

Parameters
[in]connectpointer to a cs_cdo_connect_t structure
[in]quantpointer to a cs_cdo_quantities_t structure

◆ cs_gwf_get_adv_field()

cs_adv_field_t* cs_gwf_get_adv_field ( void  )

Retrieve the advection field related to the Darcy flux in the liquid phase.

Returns
a pointer to a cs_adv_field_t structure or NULL

◆ cs_gwf_get_uspf_head_in_law()

cs_real_t* cs_gwf_get_uspf_head_in_law ( void  )

Retrieve the head used in soil updates when an unsaturated single-phase flow is considered. These values are located at cells.

Returns
a pointer to the requested array of values or NULL if not defined

◆ cs_gwf_init_setup()

void cs_gwf_init_setup ( void  )

Predefined settings for the Richards equation and the related equations defining the groundwater flow module. At this stage, all soils have been defined and equatino parameters are set. Create new cs_field_t structures according to the setting.

◆ cs_gwf_integrate_tracer()

cs_real_t cs_gwf_integrate_tracer ( const cs_cdo_connect_t connect,
const cs_cdo_quantities_t cdoq,
const cs_gwf_tracer_t *  tracer,
const char *  z_name 
)

Compute the integral over a given set of cells of the field related to a tracer equation. This integral turns out to be exact for linear functions.

Parameters
[in]connectpointer to a cs_cdo_connect_t structure
[in]cdoqpointer to a cs_cdo_quantities_t structure
[in]tracerpointer to a cs_gwf_tracer_t structure
[in]z_namename of the volumic zone where the integral is done (if NULL or "" all cells are considered)
Returns
the value of the integral

◆ cs_gwf_is_activated()

bool cs_gwf_is_activated ( void  )

Check if the groundwater flow module has been activated.

Returns
true or false

◆ cs_gwf_log_setup()

void cs_gwf_log_setup ( void  )

Summary of the main cs_gwf_t structure.

◆ cs_gwf_set_post_options()

void cs_gwf_set_post_options ( cs_flag_t  post_flag,
bool  reset 
)

Set the flag dedicated to the post-processing of the GWF module.

Parameters
[in]post_flagflag to set
[in]resetreset post flag before

◆ cs_gwf_set_two_phase_model()

void cs_gwf_set_two_phase_model ( cs_real_t  l_mass_density,
cs_real_t  l_viscosity,
cs_real_t  g_viscosity,
cs_real_t  l_diffusivity_h,
cs_real_t  w_molar_mass,
cs_real_t  h_molar_mass,
cs_real_t  ref_temperature,
cs_real_t  henry_constant 
)

Set the parameters defining the two-phase flow model. Use SI unit if not prescribed otherwise.

Parameters
[in]l_mass_densitymass density of the main liquid component
[in]l_viscosityviscosity in the liquid phase (Pa.s)
[in]g_viscosityviscosity in the gas phase (Pa.s)
[in]l_diffusivity_hdiffusivity of the main gas component in the liquid phase
[in]w_molar_massmolar mass of the main liquid component
[in]h_molar_massmolar mass of the main gas component
[in]ref_temperaturereference temperature
[in]henry_constantconstant in the Henry law

◆ cs_gwf_tracer_by_name()

cs_gwf_tracer_t* cs_gwf_tracer_by_name ( const char *  eq_name)

Retrieve the pointer to the cs_gwf_tracer_t structure associated to the name given as parameter.

Parameters
[in]eq_namename of the tracer equation
Returns
the pointer to a cs_gwf_tracer_t structure

◆ cs_gwf_update()

void cs_gwf_update ( const cs_mesh_t mesh,
const cs_cdo_connect_t connect,
const cs_cdo_quantities_t quant,
const cs_time_step_t ts,
bool  cur2prev 
)

Update the groundwater system (pressure head, head in law, moisture content, darcian velocity, soil capacity or permeability if needed)

Parameters
[in]meshpointer to a cs_mesh_t structure
[in]connectpointer to a cs_cdo_connect_t structure
[in]quantpointer to a cs_cdo_quantities_t structure
[in]tspointer to a cs_time_step_t structure
[in]cur2prevtrue or false