6.2
general documentation
cs_cdo_advection.h
Go to the documentation of this file.
1 #ifndef __CS_CDO_ADVECTION_H__
2 #define __CS_CDO_ADVECTION_H__
3 
4 /*============================================================================
5  * Build discrete convection operators for CDO schemes
6  *============================================================================*/
7 
8 /*
9  This file is part of Code_Saturne, a general-purpose CFD tool.
10 
11  Copyright (C) 1998-2020 EDF S.A.
12 
13  This program is free software; you can redistribute it and/or modify it under
14  the terms of the GNU General Public License as published by the Free Software
15  Foundation; either version 2 of the License, or (at your option) any later
16  version.
17 
18  This program is distributed in the hope that it will be useful, but WITHOUT
19  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
20  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
21  details.
22 
23  You should have received a copy of the GNU General Public License along with
24  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
25  Street, Fifth Floor, Boston, MA 02110-1301, USA.
26 */
27 
28 /*----------------------------------------------------------------------------*/
29 
30 /*----------------------------------------------------------------------------
31  * Local headers
32  *----------------------------------------------------------------------------*/
33 
34 #include "cs_advection_field.h"
35 #include "cs_cdo_connect.h"
36 #include "cs_cdo_local.h"
37 #include "cs_cdo_quantities.h"
38 #include "cs_equation_param.h"
39 #include "cs_property.h"
40 
41 /*----------------------------------------------------------------------------*/
42 
44 
45 /*============================================================================
46  * Macro definitions
47  *============================================================================*/
48 
49 /*============================================================================
50  * Type definitions
51  *============================================================================*/
52 
53 /*----------------------------------------------------------------------------*/
61 /*----------------------------------------------------------------------------*/
62 
63 typedef void
65  const cs_real_t fluxes[],
66  cs_sdm_t *adv);
67 
68 /*----------------------------------------------------------------------------*/
78 /*----------------------------------------------------------------------------*/
79 
80 typedef void
82  const cs_cell_mesh_t *cm,
84  cs_cell_sys_t *csys);
85 
86 /*----------------------------------------------------------------------------*/
98 /*----------------------------------------------------------------------------*/
99 
100 typedef void
102  const cs_cell_mesh_t *cm,
103  const cs_property_data_t *diff_pty,
105  cs_cell_builder_t *cb);
106 
107 /*----------------------------------------------------------------------------*/
119 /*----------------------------------------------------------------------------*/
120 
121 typedef void
123  const cs_equation_param_t *eqp,
124  cs_real_t t_eval,
126  cs_cell_builder_t *cb,
127  cs_cell_sys_t *csys);
128 
129 /*============================================================================
130  * Global variables
131  *============================================================================*/
132 
133 /*============================================================================
134  * Public function prototypes
135  *============================================================================*/
136 
137 /*----------------------------------------------------------------------------*/
143 /*----------------------------------------------------------------------------*/
144 
145 void
146 cs_cdo_advection_set_cip_coef(double new_value);
147 
148 /*----------------------------------------------------------------------------*/
154 /*----------------------------------------------------------------------------*/
155 
156 double
158 
159 /*----------------------------------------------------------------------------*/
169 /*----------------------------------------------------------------------------*/
170 
171 void
173  const cs_cell_mesh_t *cm,
174  cs_cdofb_advection_t *build_func,
175  cs_cell_builder_t *cb);
176 
177 /*----------------------------------------------------------------------------*/
187 /*----------------------------------------------------------------------------*/
188 
189 void
191  const cs_cell_mesh_t *cm,
192  cs_cell_builder_t *cb,
193  cs_cell_sys_t *csys);
194 
195 /*----------------------------------------------------------------------------*/
205 /*----------------------------------------------------------------------------*/
206 
207 void
209  const cs_cell_mesh_t *cm,
210  cs_cell_builder_t *cb,
211  cs_cell_sys_t *csys);
212 
213 /*----------------------------------------------------------------------------*/
223 /*----------------------------------------------------------------------------*/
224 
225 void
227  const cs_cell_mesh_t *cm,
228  cs_cell_builder_t *cb,
229  cs_cell_sys_t *csys);
230 
231 /*----------------------------------------------------------------------------*/
241 /*----------------------------------------------------------------------------*/
242 
243 void
245  const cs_cell_mesh_t *cm,
246  cs_cell_builder_t *cb,
247  cs_cell_sys_t *csys);
248 
249 /*----------------------------------------------------------------------------*/
259 /*----------------------------------------------------------------------------*/
260 
261 void
263  const cs_cell_mesh_t *cm,
264  cs_cell_builder_t *cb,
265  cs_cell_sys_t *csys);
266 
267 /*----------------------------------------------------------------------------*/
278 /*----------------------------------------------------------------------------*/
279 
280 void
282  const cs_cell_mesh_t *cm,
283  cs_cell_builder_t *cb,
284  cs_cell_sys_t *csys);
285 
286 /*----------------------------------------------------------------------------*/
296 /*----------------------------------------------------------------------------*/
297 
298 void
300  const cs_cell_mesh_t *cm,
301  cs_cell_builder_t *cb,
302  cs_cell_sys_t *csys);
303 
304 /*----------------------------------------------------------------------------*/
315 /*----------------------------------------------------------------------------*/
316 
317 void
319  const cs_cell_mesh_t *cm,
320  cs_cell_builder_t *cb,
321  cs_cell_sys_t *csys);
322 
323 /*----------------------------------------------------------------------------*/
338 /*----------------------------------------------------------------------------*/
339 
340 void
342  const cs_real_t fluxes[],
343  cs_sdm_t *adv);
344 
345 /*----------------------------------------------------------------------------*/
360 /*----------------------------------------------------------------------------*/
361 
362 void
364  const cs_real_t fluxes[],
365  cs_sdm_t *adv);
366 
367 /*----------------------------------------------------------------------------*/
382 /*----------------------------------------------------------------------------*/
383 
384 void
386  const cs_real_t fluxes[],
387  cs_sdm_t *adv);
388 
389 /*----------------------------------------------------------------------------*/
404 /*----------------------------------------------------------------------------*/
405 
406 void
408  const cs_real_t fluxes[],
409  cs_sdm_t *adv);
410 
411 /*----------------------------------------------------------------------------*/
426 /*----------------------------------------------------------------------------*/
427 
428 void
430  const cs_real_t fluxes[],
431  cs_sdm_t *adv);
432 
433 /*----------------------------------------------------------------------------*/
448 /*----------------------------------------------------------------------------*/
449 
450 void
452  const cs_real_t fluxes[],
453  cs_sdm_t *adv);
454 
455 /*----------------------------------------------------------------------------*/
470 /*----------------------------------------------------------------------------*/
471 
472 void
474  const cs_real_t fluxes[],
475  cs_sdm_t *adv);
476 
477 /*----------------------------------------------------------------------------*/
492 /*----------------------------------------------------------------------------*/
493 
494 void
496  const cs_real_t fluxes[],
497  cs_sdm_t *adv);
498 
499 /*----------------------------------------------------------------------------*/
514 /*----------------------------------------------------------------------------*/
515 
516 void
518  const cs_real_t fluxes[],
519  cs_sdm_t *adv);
520 
521 /*----------------------------------------------------------------------------*/
536 /*----------------------------------------------------------------------------*/
537 
538 void
540  const cs_real_t fluxes[],
541  cs_sdm_t *adv);
542 
543 /*----------------------------------------------------------------------------*/
558 /*----------------------------------------------------------------------------*/
559 
560 void
562  const cs_real_t fluxes[],
563  cs_sdm_t *adv);
564 
565 /*----------------------------------------------------------------------------*/
580 /*----------------------------------------------------------------------------*/
581 
582 void
584  const cs_real_t fluxes[],
585  cs_sdm_t *adv);
586 
587 /*----------------------------------------------------------------------------*/
597 /*----------------------------------------------------------------------------*/
598 
599 void
601  const cs_cell_mesh_t *cm,
602  cs_cell_builder_t *cb,
603  cs_cell_sys_t *csys);
604 
605 /*----------------------------------------------------------------------------*/
615 /*----------------------------------------------------------------------------*/
616 
617 void
619  const cs_cell_mesh_t *cm,
620  cs_cell_builder_t *cb,
621  cs_cell_sys_t *csys);
622 
623 /*----------------------------------------------------------------------------*/
633 /*----------------------------------------------------------------------------*/
634 
635 void
637  const cs_cell_mesh_t *cm,
638  cs_cell_builder_t *cb,
639  cs_cell_sys_t *csys);
640 
641 /*----------------------------------------------------------------------------*/
652 /*----------------------------------------------------------------------------*/
653 
654 void
656  const cs_cell_mesh_t *cm,
657  cs_cell_builder_t *cb,
658  cs_cell_sys_t *csys);
659 
660 /*----------------------------------------------------------------------------*/
676 /*----------------------------------------------------------------------------*/
677 
678 void
680  const cs_cell_mesh_t *cm,
681  const cs_property_data_t *diff_pty,
682  cs_face_mesh_t *fm,
683  cs_cell_builder_t *cb);
684 
685 /*----------------------------------------------------------------------------*/
700 /*----------------------------------------------------------------------------*/
701 
702 void
704  const cs_cell_mesh_t *cm,
705  const cs_property_data_t *diff_pty,
706  cs_face_mesh_t *fm,
707  cs_cell_builder_t *cb);
708 
709 /*----------------------------------------------------------------------------*/
724 /*----------------------------------------------------------------------------*/
725 
726 void
728  const cs_cell_mesh_t *cm,
729  const cs_property_data_t *diff_pty,
730  cs_face_mesh_t *fm,
731  cs_cell_builder_t *cb);
732 
733 /*----------------------------------------------------------------------------*/
748 /*----------------------------------------------------------------------------*/
749 
750 void
752  const cs_cell_mesh_t *cm,
753  const cs_property_data_t *diff_pty,
754  cs_face_mesh_t *fm,
755  cs_cell_builder_t *cb);
756 
757 /*----------------------------------------------------------------------------*/
773 /*----------------------------------------------------------------------------*/
774 
775 void
777  const cs_cell_mesh_t *cm,
778  const cs_property_data_t *diff_pty,
779  cs_face_mesh_t *fm,
780  cs_cell_builder_t *cb);
781 
782 /*----------------------------------------------------------------------------*/
797 /*----------------------------------------------------------------------------*/
798 
799 void
801  const cs_cell_mesh_t *cm,
802  const cs_property_data_t *diff_pty,
803  cs_face_mesh_t *fm,
804  cs_cell_builder_t *cb);
805 
806 /*----------------------------------------------------------------------------*/
821 /*----------------------------------------------------------------------------*/
822 
823 void
825  const cs_cell_mesh_t *cm,
826  const cs_property_data_t *diff_pty,
827  cs_face_mesh_t *fm,
828  cs_cell_builder_t *cb);
829 
830 /*----------------------------------------------------------------------------*/
842 /*----------------------------------------------------------------------------*/
843 
844 void
846  const cs_cell_mesh_t *cm,
847  const cs_property_data_t *diff_pty,
848  cs_face_mesh_t *fm,
849  cs_cell_builder_t *cb);
850 
851 /*----------------------------------------------------------------------------*/
862 /*----------------------------------------------------------------------------*/
863 
864 void
866  const cs_cell_mesh_t *cm,
867  const cs_property_data_t *diff_pty,
868  cs_face_mesh_t *fm,
869  cs_cell_builder_t *cb);
870 
871 /*----------------------------------------------------------------------------*/
882 /*----------------------------------------------------------------------------*/
883 
884 void
886  const cs_equation_param_t *eqp,
887  cs_real_t t_eval,
888  cs_face_mesh_t *fm,
889  cs_cell_builder_t *cb,
890  cs_cell_sys_t *csys);
891 
892 /*----------------------------------------------------------------------------*/
904 /*----------------------------------------------------------------------------*/
905 
906 void
908  const cs_equation_param_t *eqp,
909  cs_real_t t_eval,
910  cs_face_mesh_t *fm,
911  cs_cell_builder_t *cb,
912  cs_cell_sys_t *csys);
913 
914 /*----------------------------------------------------------------------------*/
925 /*----------------------------------------------------------------------------*/
926 
927 void
930  cs_real_t coefval[]);
931 
932 /*----------------------------------------------------------------------------*/
933 
935 
936 #endif /* __CS_CDO_ADVECTION_H__ */
void cs_cdo_advection_fb_upwskw_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:2262
void cs_cdo_advection_fb_upwnoc(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the non-conservati...
Definition: cs_cdo_advection.c:1950
void cs_cdo_advection_cell_upwind_coef(const cs_cdo_quantities_t *cdoq, cs_param_advection_scheme_t scheme, cs_real_t coefval[])
Compute the value of the upwinding coefficient in each cell knowing the related Peclet number...
Definition: cs_cdo_advection.c:3615
void cs_cdo_advection_fb_censkw(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:2323
void() cs_cdovb_advection_bc_t(const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_real_t t_eval, cs_face_mesh_t *fm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Compute the BC contribution for the advection operator in CDO vertex-based (or vertex+cell-based) sch...
Definition: cs_cdo_advection.h:122
void cs_cdo_advection_fb_upwcsv_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:1836
void() cs_cdovb_advection_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme. The local matrix related to this operator is stored in cb->loc.
Definition: cs_cdo_advection.h:101
void cs_cdo_advection_fb_bc_wdi_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:1544
void cs_cdo_advection_vb_cennoc(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme when a centered sch...
Definition: cs_cdo_advection.c:3147
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources...
Definition: cs_equation_param.h:201
Structure storing the evaluation of a property and its related data.
Definition: cs_property.h:174
void cs_cdo_advection_fb_upwcsv(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:1702
#define BEGIN_C_DECLS
Definition: cs_defs.h:495
void cs_cdo_advection_fb_bc_skw_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:2582
void cs_cdo_advection_fb_cencsv(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:1766
Set of local quantities and connectivities related to a mesh cell This is a key structure for all cel...
Definition: cs_cdo_local.h:158
void cs_cdo_advection_fb_bc_skw_wdi_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:2677
void() cs_cdofb_advection_t(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Define the local convection operator in CDO-Fb schemes.
Definition: cs_cdo_advection.h:64
void cs_cdo_advection_fb_bc_cen(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:1264
void cs_cdo_advection_vb_upwcsv(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme without diffusion a...
Definition: cs_cdo_advection.c:2837
double cs_cdo_advection_get_cip_coef(void)
Get the value of the stabilization coefficient used in CIP scheme.
Definition: cs_cdo_advection.c:1131
void cs_cdo_advection_fb_upwnoc_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the non-conservati...
Definition: cs_cdo_advection.c:2080
double cs_real_t
Floating-point value.
Definition: cs_defs.h:307
Definition: cs_cdo_quantities.h:124
Set of arrays and local (small) dense matrices related to a mesh cell This is a key structure for bui...
Definition: cs_cdo_local.h:107
void cs_cdo_advection_fb_cencsv_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:1890
void cs_cdo_advection_fb_bc_cen_wdi(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:1595
void cs_cdo_advection_fb_bc_skw(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:2442
Definition: cs_field_pointer.h:134
void cs_cdo_advection_vb_upwcsv_wpty(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme with an upwind sche...
Definition: cs_cdo_advection.c:2750
void cs_cdo_advection_fb_bc_cen_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:1335
void cs_cdo_advection_vb_upwnoc_wpty(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme with an upwind sche...
Definition: cs_cdo_advection.c:3000
void cs_cdo_advection_fb_upwskw(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:2190
Set of local and temporary buffers useful for building the algebraic system with a cellwise process...
Definition: cs_cdo_local.h:69
void cs_cdo_advection_vb_upwnoc(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme without diffusion w...
Definition: cs_cdo_advection.c:3085
void cs_cdo_advection_fb_bc_skw_wdi(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:2524
void cs_cdo_advection_fb_bc_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:1464
void cs_cdo_advection_vcb_bc(const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_real_t t_eval, cs_face_mesh_t *fm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Compute the BC contribution for the convection operator with CDO V+C schemes.
Definition: cs_cdo_advection.c:3550
void cs_cdo_advection_fb_bc_wdi(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:1415
void cs_cdo_advection_fb_bc(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (without diffus...
Definition: cs_cdo_advection.c:1195
void cs_cdo_advection_fb_cennoc(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the non-conservati...
Definition: cs_cdo_advection.c:2013
#define END_C_DECLS
Definition: cs_defs.h:496
void cs_cdo_advection_fb_censkw_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the conservative f...
Definition: cs_cdo_advection.c:2390
void cs_cdofb_advection_build(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cdofb_advection_t *build_func, cs_cell_builder_t *cb)
Build the cellwise advection operator for CDO-Fb schemes The local matrix related to this operator is...
Definition: cs_cdo_advection.c:1149
void cs_cdo_advection_fb_cennoc_di(const cs_cell_mesh_t *cm, const cs_real_t fluxes[], cs_sdm_t *adv)
Compute the convection operator attached to a cell with a CDO face-based scheme in the non-conservati...
Definition: cs_cdo_advection.c:2133
void() cs_cdofb_advection_bc_t(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes.
Definition: cs_cdo_advection.h:81
cs_param_advection_scheme_t
Definition: cs_param_types.h:313
Set of local quantities and connectivities related to a mesh face Structure used to get a better memo...
Definition: cs_cdo_local.h:226
Structure and routines handling the specific settings related to a cs_equation_t structure.
void cs_cdo_advection_set_cip_coef(double new_value)
Set the value of the stabilization coefficient used in CIP scheme.
Definition: cs_cdo_advection.c:1117
void cs_cdo_advection_vcb(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex+cell-based scheme.
Definition: cs_cdo_advection.c:3324
void cs_cdo_advection_vb_bc(const cs_cell_mesh_t *cm, const cs_equation_param_t *eqp, cs_real_t t_eval, cs_face_mesh_t *fm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Compute the BC contribution for the convection operator.
Definition: cs_cdo_advection.c:3445
void cs_cdo_advection_vcb_cw_cst(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex+cell-based scheme when the advec...
Definition: cs_cdo_advection.c:3194
void cs_cdo_advection_vb_mcucsv(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme when a mixed center...
Definition: cs_cdo_advection.c:2949
void cs_cdo_advection_fb_bc_cen_wdi_v(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Add the contribution of the boundary conditions to the local system in CDO-Fb schemes (with a diffusi...
Definition: cs_cdo_advection.c:1645
void cs_cdo_advection_vb_cencsv(const cs_equation_param_t *eqp, const cs_cell_mesh_t *cm, const cs_property_data_t *diff_pty, cs_face_mesh_t *fm, cs_cell_builder_t *cb)
Compute the convection operator attached to a cell with a CDO vertex-based scheme when a centered sch...
Definition: cs_cdo_advection.c:2899