8.2
general documentation
cs_equation_param.h
Go to the documentation of this file.
1 #ifndef __CS_EQUATION_PARAM_H__
2 #define __CS_EQUATION_PARAM_H__
3 
4 /*============================================================================
5  * Functions related to the structure cs_equation_param_t storing the settings
6  * related to an equation.
7  *============================================================================*/
8 
9 /*
10  This file is part of code_saturne, a general-purpose CFD tool.
11 
12  Copyright (C) 1998-2024 EDF S.A.
13 
14  This program is free software; you can redistribute it and/or modify it under
15  the terms of the GNU General Public License as published by the Free Software
16  Foundation; either version 2 of the License, or (at your option) any later
17  version.
18 
19  This program is distributed in the hope that it will be useful, but WITHOUT
20  ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
21  FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
22  details.
23 
24  You should have received a copy of the GNU General Public License along with
25  this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
26  Street, Fifth Floor, Boston, MA 02110-1301, USA.
27 */
28 
29 /*----------------------------------------------------------------------------
30  * Local headers
31  *----------------------------------------------------------------------------*/
32 
33 #include "cs_advection_field.h"
34 #include "cs_enforcement.h"
35 #include "cs_hodge.h"
36 #include "cs_iter_algo.h"
37 #include "cs_param_cdo.h"
38 #include "cs_param_saddle.h"
39 #include "cs_param_sles.h"
40 #include "cs_property.h"
41 #include "cs_xdef.h"
42 
43 /*----------------------------------------------------------------------------*/
44 
46 
47 /*============================================================================
48  * Macro definitions
49  *============================================================================*/
50 
97 #define CS_EQUATION_LOCKED (1 << 0) /* 1 */
98 #define CS_EQUATION_UNSTEADY (1 << 1) /* 2 */
99 #define CS_EQUATION_CONVECTION (1 << 2) /* 4 */
100 #define CS_EQUATION_DIFFUSION (1 << 3) /* 8 */
101 #define CS_EQUATION_CURLCURL (1 << 4) /* 16 */
102 #define CS_EQUATION_GRADDIV (1 << 5) /* 32 */
103 #define CS_EQUATION_REACTION (1 << 6) /* 64 */
104 #define CS_EQUATION_FORCE_VALUES (1 << 7) /* 128 */
105 #define CS_EQUATION_INSIDE_SYSTEM (1 << 8) /* 256 */
106 #define CS_EQUATION_BUILD_HOOK (1 << 9) /* 512 */
107 #define CS_EQUATION_USER_TRIGGERED (1 << 10) /* 1024 */
108 
109 
133 #define CS_EQUATION_POST_BALANCE (1 << 0) /* 1 */
134 #define CS_EQUATION_POST_PECLET (1 << 1) /* 2 */
135 #define CS_EQUATION_POST_UPWIND_COEF (1 << 2) /* 4 */
136 #define CS_EQUATION_POST_NORMAL_FLUX (1 << 3) /* 8 */
137 
140 /*============================================================================
141  * Type definitions
142  *============================================================================*/
143 
172 typedef enum {
173 
181 
183 
185 
186 /*----------------------------------------------------------------------------*/
187 
193 typedef struct {
194 
200  char *restrict name;
202  int dim;
212  union {
214  int iwarni;
215  };
216 
223 
230 
231  /* Numerical settings */
232 
241 
456  int iconv;
457  int istat;
458  int idircl;
459  int ndircl;
460  int idiff;
461  int idifft;
462  int idften;
463  int iswdyn;
464  int ischcv;
465  int ibdtso;
466  int isstpc;
467  int nswrgr;
468  int nswrsm;
469  int imvisf;
470  int imrgra;
471  int imligr;
472  int ircflu;
473  int iwgrec;
474  int icoupl;
475  union {
476  double theta;
477  double thetav; /* deprecated */
478  };
479  double blencv;
480  double blend_st;
481  double epsilo;
482  double epsrsm;
483  double epsrgr;
484  double climgr;
485  double relaxv;
486 
488 
527 
531 
546 
560 
579 
594 
610 
626 
677 
680 
703 
720 
740 
761 
799 
804 
808 
809 /*----------------------------------------------------------------------------*/
810 
1184 typedef enum {
1185 
1203  CS_EQKEY_ITSOL, /* deprecated */
1204  CS_EQKEY_ITSOL_ATOL, /* deprecated */
1205  CS_EQKEY_ITSOL_DTOL, /* deprecated */
1206  CS_EQKEY_ITSOL_EPS, /* deprecated */
1207  CS_EQKEY_ITSOL_MAX_ITER, /* deprecated */
1209  CS_EQKEY_ITSOL_RESTART, /* deprecated */
1210  CS_EQKEY_ITSOL_RTOL, /* deprecated */
1239 
1241 
1243 
1244 /*============================================================================
1245  * Static inline public function prototypes
1246  *============================================================================*/
1247 
1248 /*----------------------------------------------------------------------------*/
1255 /*----------------------------------------------------------------------------*/
1256 
1257 static inline void
1259  cs_flag_t flag)
1260 {
1261  assert(eqp != NULL);
1262  eqp->flag |= flag;
1263 }
1264 
1265 /*----------------------------------------------------------------------------*/
1273 /*----------------------------------------------------------------------------*/
1274 
1275 static inline bool
1277 {
1278  assert(eqp != NULL);
1279  if (eqp->flag & CS_EQUATION_DIFFUSION)
1280  return true;
1281  else
1282  return false;
1283 }
1284 
1285 /*----------------------------------------------------------------------------*/
1293 /*----------------------------------------------------------------------------*/
1294 
1295 static inline bool
1297 {
1298  assert(eqp != NULL);
1299  if (eqp->flag & CS_EQUATION_CURLCURL)
1300  return true;
1301  else
1302  return false;
1303 }
1304 
1305 /*----------------------------------------------------------------------------*/
1313 /*----------------------------------------------------------------------------*/
1314 
1315 static inline bool
1317 {
1318  assert(eqp != NULL);
1319  if (eqp->flag & CS_EQUATION_GRADDIV)
1320  return true;
1321  else
1322  return false;
1323 }
1324 
1325 /*----------------------------------------------------------------------------*/
1333 /*----------------------------------------------------------------------------*/
1334 
1335 static inline bool
1337 {
1338  assert(eqp != NULL);
1339  if (eqp->flag & CS_EQUATION_CONVECTION)
1340  return true;
1341  else
1342  return false;
1343 }
1344 
1345 /*----------------------------------------------------------------------------*/
1353 /*----------------------------------------------------------------------------*/
1354 
1355 static inline bool
1357 {
1358  assert(eqp != NULL);
1359  if (eqp->flag & CS_EQUATION_REACTION)
1360  return true;
1361  else
1362  return false;
1363 }
1364 
1365 /*----------------------------------------------------------------------------*/
1373 /*----------------------------------------------------------------------------*/
1374 
1375 static inline bool
1377 {
1378  assert(eqp != NULL);
1379  if (eqp->flag & CS_EQUATION_UNSTEADY)
1380  return true;
1381  else
1382  return false;
1383 }
1384 
1385 /*----------------------------------------------------------------------------*/
1393 /*----------------------------------------------------------------------------*/
1394 
1395 static inline bool
1397 {
1398  assert(eqp != NULL);
1399  if (eqp->n_source_terms > 0)
1400  return true;
1401  else
1402  return false;
1403 }
1404 
1405 /*----------------------------------------------------------------------------*/
1414 /*----------------------------------------------------------------------------*/
1415 
1416 static inline bool
1418 {
1419  assert(eqp != NULL);
1420  if (eqp->flag & CS_EQUATION_FORCE_VALUES)
1421  return true;
1422  else
1423  return false;
1424 }
1425 
1426 /*----------------------------------------------------------------------------*/
1435 /*----------------------------------------------------------------------------*/
1436 
1437 static inline bool
1439 {
1440  assert(eqp != NULL);
1441  if (eqp->flag & CS_EQUATION_CONVECTION) {
1444  return true;
1445  else
1446  return false;
1447  }
1448  else
1449  return false;
1450 }
1451 
1452 /*----------------------------------------------------------------------------*/
1461 /*----------------------------------------------------------------------------*/
1462 
1463 static inline bool
1465 {
1466  assert(eqp != NULL);
1467  if (eqp->flag & CS_EQUATION_BUILD_HOOK)
1468  return true;
1469  else
1470  return false;
1471 }
1472 
1473 /*----------------------------------------------------------------------------*/
1484 /*----------------------------------------------------------------------------*/
1485 
1486 static inline bool
1488  const char *name)
1489 {
1490  if (eqp == NULL)
1491  return false;
1492  if (eqp->name == NULL)
1493  return false;
1494  if (strcmp(eqp->name, name) == 0)
1495  return true;
1496  else
1497  return false;
1498 }
1499 
1500 /*============================================================================
1501  * Public function prototypes
1502  *============================================================================*/
1503 
1504 /*----------------------------------------------------------------------------*/
1515 /*----------------------------------------------------------------------------*/
1516 
1518 cs_equation_param_create(const char *name,
1519  cs_equation_type_t type,
1520  int dim,
1521  cs_param_bc_type_t default_bc);
1522 
1523 /*----------------------------------------------------------------------------*/
1536 /*----------------------------------------------------------------------------*/
1537 
1538 inline static cs_equation_param_t *
1539 cs_equation_create_param(const char *name,
1540  cs_equation_type_t type,
1541  int dim,
1542  cs_param_bc_type_t default_bc)
1543 {
1544  return cs_equation_param_create(name, type, dim, default_bc);
1545 }
1546 
1547 /*----------------------------------------------------------------------------*/
1556 /*----------------------------------------------------------------------------*/
1557 
1558 void
1560  cs_equation_param_t *dst,
1561  bool copy_fld_id);
1562 
1563 /*----------------------------------------------------------------------------*/
1572 /*----------------------------------------------------------------------------*/
1573 
1574 void
1576  cs_equation_param_t *dst);
1577 
1578 /*----------------------------------------------------------------------------*/
1589 /*----------------------------------------------------------------------------*/
1590 
1591 inline static void
1593  cs_equation_param_t *dst,
1594  bool copy_fid)
1595 {
1596  cs_equation_param_copy_from(ref, dst, copy_fid);
1597 }
1598 
1599 /*----------------------------------------------------------------------------*/
1611 /*----------------------------------------------------------------------------*/
1612 
1613 void
1615 
1616 /*----------------------------------------------------------------------------*/
1624 /*----------------------------------------------------------------------------*/
1625 
1628 
1629 /*----------------------------------------------------------------------------*/
1638 /*----------------------------------------------------------------------------*/
1639 
1640 void
1642  cs_equation_key_t key,
1643  const char *keyval);
1644 
1645 /*----------------------------------------------------------------------------*/
1656 /*----------------------------------------------------------------------------*/
1657 
1658 inline static void
1660  cs_equation_key_t key,
1661  const char *keyval)
1662 {
1663  cs_equation_param_set(eqp, key, keyval);
1664 }
1665 
1666 /*----------------------------------------------------------------------------*/
1675 /*----------------------------------------------------------------------------*/
1676 
1679 
1680 /*----------------------------------------------------------------------------*/
1689 /*----------------------------------------------------------------------------*/
1690 
1693 
1694 /*----------------------------------------------------------------------------*/
1702 /*----------------------------------------------------------------------------*/
1703 
1704 void
1706 
1707 /*----------------------------------------------------------------------------*/
1717 /*----------------------------------------------------------------------------*/
1718 
1719 void
1721  cs_quadrature_type_t qtype);
1722 
1723 /*----------------------------------------------------------------------------*/
1729 /*----------------------------------------------------------------------------*/
1730 
1731 void
1733 
1734 /*----------------------------------------------------------------------------*/
1741 /*----------------------------------------------------------------------------*/
1742 
1743 void
1745 
1746 /*----------------------------------------------------------------------------*/
1754 /*----------------------------------------------------------------------------*/
1755 
1756 void
1758 
1759 /*----------------------------------------------------------------------------*/
1765 /*----------------------------------------------------------------------------*/
1766 
1767 void
1769 
1770 /*----------------------------------------------------------------------------*/
1779 /*----------------------------------------------------------------------------*/
1780 
1781 bool
1783 
1784 /*----------------------------------------------------------------------------*/
1799 /*----------------------------------------------------------------------------*/
1800 
1801 cs_xdef_t *
1803  const char *z_name,
1804  cs_real_t *val);
1805 
1806 /*----------------------------------------------------------------------------*/
1822 /*----------------------------------------------------------------------------*/
1823 
1824 cs_xdef_t *
1826  const char *z_name,
1827  double quantity);
1828 
1829 /*----------------------------------------------------------------------------*/
1845 /*----------------------------------------------------------------------------*/
1846 
1847 cs_xdef_t *
1849  const char *z_name,
1850  cs_analytic_func_t *analytic,
1851  void *input);
1852 
1853 /*----------------------------------------------------------------------------*/
1869 /*----------------------------------------------------------------------------*/
1870 
1871 cs_xdef_t *
1873  const char *z_name,
1874  cs_flag_t loc_flag,
1875  cs_dof_func_t *func,
1876  void *input);
1877 
1878 /*----------------------------------------------------------------------------*/
1887 /*----------------------------------------------------------------------------*/
1888 
1889 void
1891  cs_xdef_t *xdef);
1892 
1893 /*----------------------------------------------------------------------------*/
1906 /*----------------------------------------------------------------------------*/
1907 
1908 cs_xdef_t *
1910  const cs_param_bc_type_t bc_type,
1911  const char *z_name,
1912  cs_real_t *values);
1913 
1914 /*----------------------------------------------------------------------------*/
1935 /*----------------------------------------------------------------------------*/
1936 
1937 cs_xdef_t *
1939  const cs_param_bc_type_t bc_type,
1940  const char *z_name,
1941  cs_flag_t loc,
1942  cs_real_t *array,
1943  bool is_owner,
1944  bool full_length);
1945 
1946 /*----------------------------------------------------------------------------*/
1959 /*----------------------------------------------------------------------------*/
1960 
1961 cs_xdef_t *
1963  const cs_param_bc_type_t bc_type,
1964  const char *z_name,
1965  cs_field_t *field);
1966 
1967 /*----------------------------------------------------------------------------*/
1982 /*----------------------------------------------------------------------------*/
1983 
1984 cs_xdef_t *
1986  const cs_param_bc_type_t bc_type,
1987  const char *z_name,
1988  cs_analytic_func_t *analytic,
1989  void *input);
1990 
1991 /*----------------------------------------------------------------------------*/
2007 /*----------------------------------------------------------------------------*/
2008 
2009 cs_xdef_t *
2011  const cs_param_bc_type_t bc_type,
2012  const char *z_name,
2013  cs_time_func_t *t_func,
2014  void *input);
2015 
2016 /*----------------------------------------------------------------------------*/
2032 /*----------------------------------------------------------------------------*/
2033 
2034 cs_xdef_t *
2036  const cs_param_bc_type_t bc_type,
2037  const char *z_name,
2038  cs_flag_t loc_flag,
2039  cs_dof_func_t *func,
2040  void *input);
2041 
2042 /*----------------------------------------------------------------------------*/
2053 /*----------------------------------------------------------------------------*/
2054 
2055 cs_xdef_t *
2057  const char *z_name);
2058 
2059 /*----------------------------------------------------------------------------*/
2071 /*----------------------------------------------------------------------------*/
2072 
2073 void
2075  const char *z_name);
2076 
2077 /*----------------------------------------------------------------------------*/
2089 /*----------------------------------------------------------------------------*/
2090 
2091 void
2093  const char *z_name);
2094 
2095 /*----------------------------------------------------------------------------*/
2104 /*----------------------------------------------------------------------------*/
2105 
2106 void
2108  const char *z_name);
2109 
2110 /*----------------------------------------------------------------------------*/
2120 /*----------------------------------------------------------------------------*/
2121 
2122 void
2124  cs_property_t *property);
2125 
2126 /*----------------------------------------------------------------------------*/
2135 /*----------------------------------------------------------------------------*/
2136 
2137 void
2139  cs_property_t *property,
2140  int inversion);
2141 
2142 /*----------------------------------------------------------------------------*/
2150 /*----------------------------------------------------------------------------*/
2151 
2152 void
2154  cs_property_t *property);
2155 
2156 /*----------------------------------------------------------------------------*/
2165 /*----------------------------------------------------------------------------*/
2166 
2167 void
2169  cs_property_t *property);
2170 
2171 /*----------------------------------------------------------------------------*/
2179 /*----------------------------------------------------------------------------*/
2180 
2181 void
2183  cs_adv_field_t *adv_field);
2184 
2185 /*----------------------------------------------------------------------------*/
2192 /*----------------------------------------------------------------------------*/
2193 
2194 void
2196  cs_property_t *property);
2197 
2198 /*----------------------------------------------------------------------------*/
2208 /*----------------------------------------------------------------------------*/
2209 
2210 int
2212  cs_property_t *property);
2213 
2214 /*----------------------------------------------------------------------------*/
2226 /*----------------------------------------------------------------------------*/
2227 
2228 cs_xdef_t *
2230  const char *z_name,
2231  cs_real_t *val);
2232 
2233 /*----------------------------------------------------------------------------*/
2246 /*----------------------------------------------------------------------------*/
2247 
2248 cs_xdef_t *
2250  const char *z_name,
2251  cs_analytic_func_t *func,
2252  void *input);
2253 
2254 /*----------------------------------------------------------------------------*/
2268 /*----------------------------------------------------------------------------*/
2269 
2270 cs_xdef_t *
2272  const char *z_name,
2273  cs_flag_t loc_flag,
2274  cs_dof_func_t *func,
2275  void *input);
2276 
2277 /*----------------------------------------------------------------------------*/
2297 /*----------------------------------------------------------------------------*/
2298 
2299 cs_xdef_t *
2301  const char *z_name,
2302  cs_flag_t loc,
2303  cs_real_t *array,
2304  bool is_owner,
2305  bool full_length);
2306 
2307 /*----------------------------------------------------------------------------*/
2319 /*----------------------------------------------------------------------------*/
2320 
2321 cs_xdef_t *
2323  const char *z_name,
2324  double *val);
2325 
2326 /*----------------------------------------------------------------------------*/
2339 /*----------------------------------------------------------------------------*/
2340 
2341 cs_xdef_t *
2343  const char *z_name,
2344  double *quantity);
2345 
2346 /*----------------------------------------------------------------------------*/
2359 /*----------------------------------------------------------------------------*/
2360 
2361 cs_xdef_t *
2363  const char *z_name,
2364  cs_analytic_func_t *func,
2365  void *input);
2366 
2367 /*----------------------------------------------------------------------------*/
2381 /*----------------------------------------------------------------------------*/
2382 
2383 cs_xdef_t *
2385  const char *z_name,
2386  cs_flag_t loc_flag,
2387  cs_dof_func_t *func,
2388  void *input);
2389 
2390 /*----------------------------------------------------------------------------*/
2409 /*----------------------------------------------------------------------------*/
2410 
2413  cs_lnum_t n_vertices,
2414  const cs_lnum_t vertex_ids[],
2415  const cs_real_t ref_value[],
2416  const cs_real_t vtx_values[]);
2417 
2418 /*----------------------------------------------------------------------------*/
2437 /*----------------------------------------------------------------------------*/
2438 
2441  cs_lnum_t n_edges,
2442  const cs_lnum_t edge_ids[],
2443  const cs_real_t ref_value[],
2444  const cs_real_t edge_values[]);
2445 
2446 /*----------------------------------------------------------------------------*/
2465 /*----------------------------------------------------------------------------*/
2466 
2469  cs_lnum_t n_faces,
2470  const cs_lnum_t face_ids[],
2471  const cs_real_t ref_value[],
2472  const cs_real_t face_values[]);
2473 
2474 /*----------------------------------------------------------------------------*/
2491 /*----------------------------------------------------------------------------*/
2492 
2495  cs_lnum_t n_cells,
2496  const cs_lnum_t elt_ids[],
2497  const cs_real_t ref_value[],
2498  const cs_real_t cell_values[]);
2499 
2500 /*----------------------------------------------------------------------------*/
2519 /*----------------------------------------------------------------------------*/
2520 
2523  int enforcement_id,
2524  cs_lnum_t n_cells,
2525  const cs_lnum_t cell_ids[],
2526  const cs_real_t ref_value[],
2527  const cs_real_t cell_values[]);
2528 
2529 /*----------------------------------------------------------------------------*/
2530 
2532 
2533 #endif /* __CS_EQUATION_PARAM_H__ */
#define restrict
Definition: cs_defs.h:141
#define BEGIN_C_DECLS
Definition: cs_defs.h:528
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
#define END_C_DECLS
Definition: cs_defs.h:529
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
unsigned short int cs_flag_t
Definition: cs_defs.h:334
cs_xdef_t * cs_equation_add_ic_by_analytic(cs_equation_param_t *eqp, const char *z_name, cs_analytic_func_t *analytic, void *input)
Define the initial condition for the unknown related to this equation. This definition applies to a v...
Definition: cs_equation_param.cxx:2163
void cs_equation_param_set(cs_equation_param_t *eqp, cs_equation_key_t key, const char *keyval)
Set a parameter attached to a keyname in a cs_equation_param_t structure.
Definition: cs_equation_param.cxx:1408
cs_xdef_t * cs_equation_add_bc_by_field(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_field_t *field)
Define and initialize a new structure to set a boundary condition related to the given equation struc...
Definition: cs_equation_param.cxx:2504
cs_xdef_t * cs_equation_add_volume_mass_injection_by_value(cs_equation_param_t *eqp, const char *z_name, double *val)
Add a new volume mass injection definition source term by initializing a cs_xdef_t structure,...
Definition: cs_equation_param.cxx:3514
int cs_equation_add_reaction(cs_equation_param_t *eqp, cs_property_t *property)
Associate a new term related to the reaction operator for the equation associated to the given cs_equ...
Definition: cs_equation_param.cxx:3228
void cs_equation_add_graddiv(cs_equation_param_t *eqp, cs_property_t *property)
Associate a new term related to the grad-div operator for the equation associated to the given cs_equ...
Definition: cs_equation_param.cxx:3127
void cs_equation_param_unlock_settings(cs_equation_param_t *eqp)
Unlock settings. Be sure that is really wanted (inconsistency between the setup logging and what is u...
Definition: cs_equation_param.cxx:1584
static void cs_equation_set_param(cs_equation_param_t *eqp, cs_equation_key_t key, const char *keyval)
Set a parameter attached to a keyname in a cs_equation_param_t structure.
Definition: cs_equation_param.h:1659
cs_xdef_t * cs_equation_add_ic_by_qov(cs_equation_param_t *eqp, const char *z_name, double quantity)
Define the initial condition for the unknown related to this equation. This definition applies to a v...
Definition: cs_equation_param.cxx:2104
static bool cs_equation_param_has_time(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs an unsteady term.
Definition: cs_equation_param.h:1376
void cs_equation_param_lock_settings(cs_equation_param_t *eqp)
Lock settings to prevent from unwanted modifications.
Definition: cs_equation_param.cxx:1566
static bool cs_equation_param_has_curlcurl(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a curl-curl term.
Definition: cs_equation_param.h:1296
cs_xdef_t * cs_equation_add_bc_by_analytic(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_analytic_func_t *analytic, void *input)
Define and initialize a new structure to set a boundary condition related to the given equation param...
Definition: cs_equation_param.cxx:2588
cs_equation_param_t * cs_equation_param_free(cs_equation_param_t *eqp)
Free a cs_equation_param_t.
Definition: cs_equation_param.cxx:1384
cs_xdef_t * cs_equation_add_source_term_by_dof_func(cs_equation_param_t *eqp, const char *z_name, cs_flag_t loc_flag, cs_dof_func_t *func, void *input)
Add a new source term by initializing a cs_xdef_t structure. Case of a definition by a DoF function.
Definition: cs_equation_param.cxx:3375
cs_xdef_t * cs_equation_add_bc_by_dof_func(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_flag_t loc_flag, cs_dof_func_t *func, void *input)
Define and initialize a new structure to set a boundary condition related to the given cs_equation_pa...
Definition: cs_equation_param.cxx:2790
#define CS_EQUATION_CURLCURL
The term related to the curl-curl operator is needed.
Definition: cs_equation_param.h:101
bool cs_equation_param_has_robin_bc(const cs_equation_param_t *eqp)
Ask if the parameter settings of the equation has requested the treatment of Robin boundary condition...
Definition: cs_equation_param.cxx:2013
void cs_equation_remove_ic(cs_equation_param_t *eqp, const char *z_name)
Remove initial condition from the given equation param structure for a given zone.
Definition: cs_equation_param.cxx:2979
void cs_equation_remove_bc(cs_equation_param_t *eqp, const char *z_name)
Remove boundary condition from the given equation param structure for a given zone.
Definition: cs_equation_param.cxx:2928
static cs_equation_param_t * cs_equation_create_param(const char *name, cs_equation_type_t type, int dim, cs_param_bc_type_t default_bc)
Create a cs_equation_param_t structure.
Definition: cs_equation_param.h:1539
cs_xdef_t * cs_equation_add_volume_mass_injection_by_dof_func(cs_equation_param_t *eqp, const char *z_name, cs_flag_t loc_flag, cs_dof_func_t *func, void *input)
Add a new volume mass injection definition source term by initializing a cs_xdef_t structure,...
Definition: cs_equation_param.cxx:3667
cs_enforcement_param_t * cs_equation_add_vertex_dof_enforcement(cs_equation_param_t *eqp, cs_lnum_t n_vertices, const cs_lnum_t vertex_ids[], const cs_real_t ref_value[], const cs_real_t vtx_values[])
Add an enforcement of the value of degrees of freedom located at the mesh vertices....
Definition: cs_equation_param.cxx:3729
void cs_equation_add_sliding_condition(cs_equation_param_t *eqp, const char *z_name)
Define and initialize a new structure to set a sliding boundary condition related to the given equati...
Definition: cs_equation_param.cxx:3027
cs_xdef_t * cs_equation_add_ic_by_dof_func(cs_equation_param_t *eqp, const char *z_name, cs_flag_t loc_flag, cs_dof_func_t *func, void *input)
Define the initial condition for the unknown related to this equation. This definition applies to a v...
Definition: cs_equation_param.cxx:2227
#define CS_EQUATION_UNSTEADY
Unsteady term is needed.
Definition: cs_equation_param.h:98
#define CS_EQUATION_DIFFUSION
Diffusion term is needed. A scalar-/vector-valued Laplacian with div .grad.
Definition: cs_equation_param.h:100
cs_enforcement_param_t * cs_equation_add_face_dof_enforcement(cs_equation_param_t *eqp, cs_lnum_t n_faces, const cs_lnum_t face_ids[], const cs_real_t ref_value[], const cs_real_t face_values[])
Add an enforcement of the value of degrees of freedom located at the mesh faces. The spatial discreti...
Definition: cs_equation_param.cxx:3873
cs_xdef_t * cs_equation_add_ic_by_value(cs_equation_param_t *eqp, const char *z_name, cs_real_t *val)
Define the initial condition for the unknown related to this equation. This definition applies to a v...
Definition: cs_equation_param.cxx:2045
cs_equation_param_t * cs_equation_param_create(const char *name, cs_equation_type_t type, int dim, cs_param_bc_type_t default_bc)
Create a cs_equation_param_t structure.
Definition: cs_equation_param.cxx:833
void cs_equation_param_set_sles(cs_equation_param_t *eqp)
Set parameters for initializing SLES structures used for the resolution of the linear system....
Definition: cs_equation_param.cxx:1487
static bool cs_equation_param_has_graddiv(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a grad-div term.
Definition: cs_equation_param.h:1316
#define CS_EQUATION_REACTION
Reaction term is needed.
Definition: cs_equation_param.h:103
cs_equation_key_t
List of available keys for setting the parameters of an equation.
Definition: cs_equation_param.h:1184
@ CS_EQKEY_SOLVER_RESTART
Definition: cs_equation_param.h:1217
@ CS_EQKEY_SOLVER_RTOL
Definition: cs_equation_param.h:1218
@ CS_EQKEY_ITSOL_RTOL
Definition: cs_equation_param.h:1210
@ CS_EQKEY_SADDLE_SOLVER
Definition: cs_equation_param.h:1229
@ CS_EQKEY_SOLVER_FAMILY
Definition: cs_equation_param.h:1234
@ CS_EQKEY_SOLVER_RESNORM_TYPE
Definition: cs_equation_param.h:1216
@ CS_EQKEY_SADDLE_PRECOND
Definition: cs_equation_param.h:1226
@ CS_EQKEY_ADV_EXTRAPOL
Definition: cs_equation_param.h:1187
@ CS_EQKEY_VERBOSITY
Definition: cs_equation_param.h:1238
@ CS_EQKEY_ITSOL_ATOL
Definition: cs_equation_param.h:1204
@ CS_EQKEY_HODGE_TIME_ALGO
Definition: cs_equation_param.h:1201
@ CS_EQKEY_ADV_STRATEGY
Definition: cs_equation_param.h:1190
@ CS_EQKEY_SADDLE_AUGMENT_SCALING
Definition: cs_equation_param.h:1223
@ CS_EQKEY_ITSOL_MAX_ITER
Definition: cs_equation_param.h:1207
@ CS_EQKEY_ITSOL
Definition: cs_equation_param.h:1203
@ CS_EQKEY_BC_WEAK_PENA_COEFF
Definition: cs_equation_param.h:1195
@ CS_EQKEY_HODGE_DIFF_COEF
Definition: cs_equation_param.h:1200
@ CS_EQKEY_SOLVER_MAX_ITER
Definition: cs_equation_param.h:1214
@ CS_EQKEY_ITSOL_DTOL
Definition: cs_equation_param.h:1205
@ CS_EQKEY_SADDLE_ATOL
Definition: cs_equation_param.h:1222
@ CS_EQKEY_SADDLE_SCHUR_APPROX
Definition: cs_equation_param.h:1228
@ CS_EQKEY_HODGE_DIFF_ALGO
Definition: cs_equation_param.h:1199
@ CS_EQKEY_AMG_TYPE
Definition: cs_equation_param.h:1192
@ CS_EQKEY_SADDLE_RTOL
Definition: cs_equation_param.h:1227
@ CS_EQKEY_ITSOL_RESNORM_TYPE
Definition: cs_equation_param.h:1208
@ CS_EQKEY_ITSOL_EPS
Definition: cs_equation_param.h:1206
@ CS_EQKEY_ADV_UPWIND_PORTION
Definition: cs_equation_param.h:1191
@ CS_EQKEY_SADDLE_MAX_ITER
Definition: cs_equation_param.h:1225
@ CS_EQKEY_SOLVER
Definition: cs_equation_param.h:1211
@ CS_EQKEY_TIME_SCHEME
Definition: cs_equation_param.h:1236
@ CS_EQKEY_DO_LUMPING
Definition: cs_equation_param.h:1196
@ CS_EQKEY_PRECOND
Definition: cs_equation_param.h:1220
@ CS_EQKEY_ADV_CIP_COEF
Definition: cs_equation_param.h:1186
@ CS_EQKEY_PRECOND_BLOCK_TYPE
Definition: cs_equation_param.h:1221
@ CS_EQKEY_ADV_SCHEME
Definition: cs_equation_param.h:1189
@ CS_EQKEY_SOLVER_ATOL
Definition: cs_equation_param.h:1212
@ CS_EQKEY_BC_STRONG_PENA_COEFF
Definition: cs_equation_param.h:1194
@ CS_EQKEY_TIME_THETA
Definition: cs_equation_param.h:1237
@ CS_EQKEY_SADDLE_SOLVER_CLASS
Definition: cs_equation_param.h:1230
@ CS_EQKEY_ADV_FORMULATION
Definition: cs_equation_param.h:1188
@ CS_EQKEY_SOLVER_NO_OP
Definition: cs_equation_param.h:1215
@ CS_EQKEY_EXTRA_OP
Definition: cs_equation_param.h:1198
@ CS_EQKEY_DOF_REDUCTION
Definition: cs_equation_param.h:1197
@ CS_EQKEY_SADDLE_DTOL
Definition: cs_equation_param.h:1224
@ CS_EQKEY_ITSOL_RESTART
Definition: cs_equation_param.h:1209
@ CS_EQKEY_SPACE_SCHEME
Definition: cs_equation_param.h:1235
@ CS_EQKEY_BC_ENFORCEMENT
Definition: cs_equation_param.h:1193
@ CS_EQKEY_SADDLE_VERBOSITY
Definition: cs_equation_param.h:1232
@ CS_EQKEY_HODGE_REAC_ALGO
Definition: cs_equation_param.h:1202
@ CS_EQKEY_OMP_ASSEMBLY_STRATEGY
Definition: cs_equation_param.h:1219
@ CS_EQKEY_SLES_VERBOSITY
Definition: cs_equation_param.h:1233
@ CS_EQKEY_SOLVER_DTOL
Definition: cs_equation_param.h:1213
@ CS_EQKEY_N_KEYS
Definition: cs_equation_param.h:1240
@ CS_EQKEY_SADDLE_SOLVER_RESTART
Definition: cs_equation_param.h:1231
static bool cs_equation_param_has_implicit_advection(const cs_equation_param_t *eqp)
Ask if the parameters of the equation induces an implicit treatment of the advection term.
Definition: cs_equation_param.h:1438
static bool cs_equation_param_has_internal_enforcement(const cs_equation_param_t *eqp)
Ask if the parameters of the equation has an internal enforcement of the degrees of freedom.
Definition: cs_equation_param.h:1417
cs_xdef_t * cs_equation_add_bc_by_time_func(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_time_func_t *t_func, void *input)
Define and initialize a new structure to set a boundary condition related to the given equation param...
Definition: cs_equation_param.cxx:2689
void cs_equation_add_curlcurl(cs_equation_param_t *eqp, cs_property_t *property, int inversion)
Associate a new term related to the curl-curl operator for the equation associated to the given cs_eq...
Definition: cs_equation_param.cxx:3096
cs_enforcement_param_t * cs_equation_add_or_replace_cell_enforcement(cs_equation_param_t *eqp, int enforcement_id, cs_lnum_t n_cells, const cs_lnum_t cell_ids[], const cs_real_t ref_value[], const cs_real_t cell_values[])
Add a new enforcement if enforcement_id does not exist or replace it otherwise. Enforcement of the va...
Definition: cs_equation_param.cxx:4008
cs_xdef_t * cs_equation_add_volume_mass_injection_by_qov(cs_equation_param_t *eqp, const char *z_name, double *quantity)
Add a new volume mass injection definition source term by initializing a cs_xdef_t structure,...
Definition: cs_equation_param.cxx:3563
cs_xdef_t * cs_equation_add_source_term_by_array(cs_equation_param_t *eqp, const char *z_name, cs_flag_t loc, cs_real_t *array, bool is_owner, bool full_length)
Add a new source term by initializing a cs_xdef_t structure. Case of a definition by an array.
Definition: cs_equation_param.cxx:3440
cs_enforcement_param_t * cs_equation_add_edge_dof_enforcement(cs_equation_param_t *eqp, cs_lnum_t n_edges, const cs_lnum_t edge_ids[], const cs_real_t ref_value[], const cs_real_t edge_values[])
Add an enforcement of the value of degrees of freedom located at the mesh edges. The spatial discreti...
Definition: cs_equation_param.cxx:3800
cs_xdef_t * cs_equation_add_bc_by_array(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_flag_t loc, cs_real_t *array, bool is_owner, bool full_length)
Define and initialize a new structure to set a boundary condition related to the given equation struc...
Definition: cs_equation_param.cxx:2399
cs_xdef_t * cs_equation_find_bc(cs_equation_param_t *eqp, const char *z_name)
Return pointer to existing boundary condition definition structure for the given equation param struc...
Definition: cs_equation_param.cxx:2888
void cs_equation_param_ensure_consistent_settings(cs_equation_param_t *eqp)
At this stage, the numerical settings should not be modified anymore by the user. One makes a last se...
Definition: cs_equation_param.cxx:1603
cs_param_sles_t * cs_equation_param_get_sles_param(cs_equation_param_t *eqp)
Get the pointer to the set of parameters to handle the SLES solver associated to this set of equation...
Definition: cs_equation_param.cxx:1446
void cs_equation_param_set_quadrature_to_all(cs_equation_param_t *eqp, cs_quadrature_type_t qtype)
Apply the given quadrature rule to all existing definitions under the cs_equation_param_t structure....
Definition: cs_equation_param.cxx:1530
#define CS_EQUATION_FORCE_VALUES
Add an algebraic manipulation to set the value of a given set of interior degrees of freedom.
Definition: cs_equation_param.h:104
void cs_equation_add_advection_scaling_property(cs_equation_param_t *eqp, cs_property_t *property)
Associate a scaling property to the advection.
Definition: cs_equation_param.cxx:3202
void cs_equation_add_xdef_bc(cs_equation_param_t *eqp, cs_xdef_t *xdef)
Set a boundary condition from an existing cs_xdef_t structure The lifecycle of the cs_xdef_t structur...
Definition: cs_equation_param.cxx:2289
#define CS_EQUATION_BUILD_HOOK
Activate a build hook function to get a fine control of the discretization process during the cellwis...
Definition: cs_equation_param.h:106
void cs_equation_add_advection(cs_equation_param_t *eqp, cs_adv_field_t *adv_field)
Associate a new term related to the advection operator for the equation associated to the given cs_eq...
Definition: cs_equation_param.cxx:3178
void cs_equation_param_clear(cs_equation_param_t *eqp)
Free the contents of a cs_equation_param_t.
Definition: cs_equation_param.cxx:1299
#define CS_EQUATION_CONVECTION
Convection term is needed.
Definition: cs_equation_param.h:99
static void cs_equation_copy_param_from(const cs_equation_param_t *ref, cs_equation_param_t *dst, bool copy_fid)
Copy the settings from one cs_equation_param_t structure to another one. The name is not copied.
Definition: cs_equation_param.h:1592
static bool cs_equation_param_has_sourceterm(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a source term.
Definition: cs_equation_param.h:1396
void cs_equation_param_copy_from(const cs_equation_param_t *ref, cs_equation_param_t *dst, bool copy_fld_id)
Copy the settings from one cs_equation_param_t structure to another one. The name is not copied.
Definition: cs_equation_param.cxx:1039
static bool cs_equation_param_has_name(cs_equation_param_t *eqp, const char *name)
Check if a cs_equation_param_t structure has its name member equal to the given name.
Definition: cs_equation_param.h:1487
static void cs_equation_param_set_flag(cs_equation_param_t *eqp, cs_flag_t flag)
Update the flag related to a cs_equation_param_t structure.
Definition: cs_equation_param.h:1258
cs_xdef_t * cs_equation_add_bc_by_value(cs_equation_param_t *eqp, const cs_param_bc_type_t bc_type, const char *z_name, cs_real_t *values)
Define and initialize a new structure to set a boundary condition related to the given equation struc...
Definition: cs_equation_param.cxx:2317
static bool cs_equation_param_has_diffusion(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a diffusion term.
Definition: cs_equation_param.h:1276
cs_xdef_t * cs_equation_add_source_term_by_val(cs_equation_param_t *eqp, const char *z_name, cs_real_t *val)
Add a new source term by initializing a cs_xdef_t structure. Case of a definition by a constant value...
Definition: cs_equation_param.cxx:3268
cs_xdef_t * cs_equation_add_source_term_by_analytic(cs_equation_param_t *eqp, const char *z_name, cs_analytic_func_t *func, void *input)
Add a new source term by initializing a cs_xdef_t structure. Case of a definition by an analytical fu...
Definition: cs_equation_param.cxx:3319
void cs_equation_add_time(cs_equation_param_t *eqp, cs_property_t *property)
Associate a new term related to the time derivative operator for the equation associated to the given...
Definition: cs_equation_param.cxx:3153
cs_enforcement_param_t * cs_equation_add_cell_enforcement(cs_equation_param_t *eqp, cs_lnum_t n_cells, const cs_lnum_t elt_ids[], const cs_real_t ref_value[], const cs_real_t cell_values[])
Add an enforcement of the value related to the degrees of freedom associated to the list of selected ...
Definition: cs_equation_param.cxx:3942
#define CS_EQUATION_GRADDIV
The term related to the grad-div operator is needed.
Definition: cs_equation_param.h:102
cs_equation_type_t
Type of equations managed by the solver.
Definition: cs_equation_param.h:172
@ CS_EQUATION_TYPE_NAVSTO
Definition: cs_equation_param.h:176
@ CS_EQUATION_TYPE_USER
Definition: cs_equation_param.h:180
@ CS_EQUATION_TYPE_THERMAL
Definition: cs_equation_param.h:178
@ CS_EQUATION_TYPE_GROUNDWATER
Definition: cs_equation_param.h:174
@ CS_EQUATION_TYPE_SOLIDIFICATION
Definition: cs_equation_param.h:179
@ CS_EQUATION_TYPE_PREDEFINED
Definition: cs_equation_param.h:177
@ CS_EQUATION_N_TYPES
Definition: cs_equation_param.h:182
@ CS_EQUATION_TYPE_MAXWELL
Definition: cs_equation_param.h:175
static bool cs_equation_param_has_convection(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a convection term.
Definition: cs_equation_param.h:1336
static bool cs_equation_param_has_user_hook(const cs_equation_param_t *eqp)
Ask if the parameters of the equation has activated a user hook to get a fine tuning of the cellwise ...
Definition: cs_equation_param.h:1464
static bool cs_equation_param_has_reaction(const cs_equation_param_t *eqp)
Ask if the parameters of the equation needs a reaction term.
Definition: cs_equation_param.h:1356
void cs_equation_add_diffusion(cs_equation_param_t *eqp, cs_property_t *property)
Associate a new term related to the Laplacian operator for the equation associated to the given cs_eq...
Definition: cs_equation_param.cxx:3070
void cs_equation_param_log(const cs_equation_param_t *eqp)
Print the detail of a cs_equation_param_t structure.
Definition: cs_equation_param.cxx:1674
cs_param_saddle_t * cs_equation_param_get_saddle_param(cs_equation_param_t *eqp)
Get the pointer to the set of parameters to handle the SLES solver associated to this set of equation...
Definition: cs_equation_param.cxx:1468
cs_xdef_t * cs_equation_add_volume_mass_injection_by_analytic(cs_equation_param_t *eqp, const char *z_name, cs_analytic_func_t *func, void *input)
Add a new volume mass injection definition source term by initializing a cs_xdef_t structure,...
Definition: cs_equation_param.cxx:3612
void cs_equation_param_copy_bc(const cs_equation_param_t *ref, cs_equation_param_t *dst)
Copy only the part dedicated to the boundary conditions and the DoF (degrees of freedom) enforcement ...
Definition: cs_equation_param.cxx:1238
Handle the settings of saddle-point systems. These systems arise from the monolithic coupling of the ...
Structure and routines handling the SLES ((Sparse Linear Equation Solver) settings stored inside a cs...
void() cs_dof_func_t(cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for computing a quantity at predefined locations such as degrees of freedom ...
Definition: cs_param_types.h:154
cs_param_space_scheme_t
Type of numerical scheme for the discretization in space.
Definition: cs_param_types.h:211
cs_param_advection_form_t
Definition: cs_param_types.h:307
void() cs_analytic_func_t(cs_real_t time, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, const cs_real_t *coords, bool dense_output, void *input, cs_real_t *retval)
Generic function pointer for an evaluation relying on an analytic function.
Definition: cs_param_types.h:127
cs_param_bc_type_t
Definition: cs_param_types.h:476
cs_param_advection_extrapol_t
Choice of how to extrapolate the advection field in the advection term.
Definition: cs_param_types.h:419
cs_param_bc_enforce_t
Definition: cs_param_types.h:521
void() cs_time_func_t(double time, void *input, cs_real_t *retval)
Function which defines the evolution of a quantity according to the current time and any structure gi...
Definition: cs_param_types.h:172
cs_param_time_scheme_t
Definition: cs_param_types.h:274
cs_param_nl_algo_t
Class of non-linear iterative algorithm.
Definition: cs_param_types.h:581
cs_param_advection_scheme_t
Definition: cs_param_types.h:351
cs_param_dof_reduction_t
Definition: cs_param_types.h:239
cs_param_advection_strategy_t
Choice of how to handle the advection term in an equation.
Definition: cs_param_types.h:384
@ CS_PARAM_ADVECTION_IMPLICIT_LINEARIZED
Definition: cs_param_types.h:387
@ CS_PARAM_ADVECTION_IMPLICIT_FULL
Definition: cs_param_types.h:386
cs_quadrature_type_t
Type of quadrature to use when computing an integral quantity. This rationale is used for integrals a...
Definition: cs_quadrature.h:84
Definition: field.f90:27
Definition: cs_advection_field.h:150
Set of data defining an enforcement.
Definition: cs_enforcement.h:89
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources.
Definition: cs_equation_param.h:193
cs_real_t strong_pena_bc_coeff
Definition: cs_equation_param.h:529
int istat
Definition: cs_equation_param.h:457
cs_real_t upwind_portion
Definition: cs_equation_param.h:675
int imligr
Definition: cs_equation_param.h:471
int n_reaction_terms
Definition: cs_equation_param.h:701
cs_param_nl_algo_t incremental_algo_type
Definition: cs_equation_param.h:800
int ndircl
Definition: cs_equation_param.h:459
int iwarni
Definition: cs_equation_param.h:214
cs_real_t weak_pena_bc_coeff
Definition: cs_equation_param.h:530
double blencv
Definition: cs_equation_param.h:479
cs_param_bc_enforce_t default_enforcement
Definition: cs_equation_param.h:528
cs_xdef_t ** volume_mass_injections
Definition: cs_equation_param.h:739
cs_property_t * diffusion_property
Definition: cs_equation_param.h:593
cs_param_sles_t * sles_param
Definition: cs_equation_param.h:797
int isstpc
Definition: cs_equation_param.h:466
cs_enforcement_param_t ** enforcement_params
Definition: cs_equation_param.h:760
int space_poly_degree
Definition: cs_equation_param.h:240
int ibdtso
Definition: cs_equation_param.h:465
double cip_scaling_coef
Definition: cs_equation_param.h:676
cs_real_t incremental_relax_factor
Definition: cs_equation_param.h:802
int nswrsm
Definition: cs_equation_param.h:468
cs_param_advection_scheme_t adv_scheme
Definition: cs_equation_param.h:672
int idften
Definition: cs_equation_param.h:462
cs_property_t * curlcurl_property
Definition: cs_equation_param.h:609
double epsrsm
Definition: cs_equation_param.h:482
cs_xdef_t ** ic_defs
Definition: cs_equation_param.h:545
int idiff
Definition: cs_equation_param.h:460
double relaxv
Definition: cs_equation_param.h:485
cs_param_time_scheme_t time_scheme
Definition: cs_equation_param.h:578
int idifft
Definition: cs_equation_param.h:461
cs_hodge_param_t reaction_hodgep
Definition: cs_equation_param.h:700
cs_hodge_param_t graddiv_hodgep
Definition: cs_equation_param.h:624
int imrgra
Definition: cs_equation_param.h:470
int iswdyn
Definition: cs_equation_param.h:463
cs_xdef_t ** source_terms
Definition: cs_equation_param.h:719
cs_hodge_param_t time_hodgep
Definition: cs_equation_param.h:576
int idircl
Definition: cs_equation_param.h:458
cs_param_saddle_t * saddle_param
Definition: cs_equation_param.h:798
cs_param_advection_strategy_t adv_strategy
Definition: cs_equation_param.h:673
cs_adv_field_t * adv_field
Definition: cs_equation_param.h:678
int n_ic_defs
Definition: cs_equation_param.h:544
int dim
Definition: cs_equation_param.h:202
double epsilo
Definition: cs_equation_param.h:481
int nswrgr
Definition: cs_equation_param.h:467
bool do_lumping
Definition: cs_equation_param.h:559
cs_flag_t flag
Definition: cs_equation_param.h:222
cs_flag_t post_flag
Definition: cs_equation_param.h:229
cs_hodge_param_t curlcurl_hodgep
Definition: cs_equation_param.h:608
cs_hodge_param_t diffusion_hodgep
Definition: cs_equation_param.h:592
cs_param_dof_reduction_t dof_reduction
Definition: cs_equation_param.h:234
int verbosity
Definition: cs_equation_param.h:213
double epsrgr
Definition: cs_equation_param.h:483
cs_equation_type_t type
Definition: cs_equation_param.h:201
int n_source_terms
Definition: cs_equation_param.h:718
cs_param_convergence_t incremental_algo_cvg
Definition: cs_equation_param.h:801
cs_property_t * graddiv_property
Definition: cs_equation_param.h:625
double thetav
Definition: cs_equation_param.h:477
double climgr
Definition: cs_equation_param.h:484
cs_property_t ** reaction_properties
Definition: cs_equation_param.h:702
cs_param_advection_form_t adv_formulation
Definition: cs_equation_param.h:671
cs_property_t * adv_scaling_property
Definition: cs_equation_param.h:679
cs_xdef_t ** bc_defs
Definition: cs_equation_param.h:526
int icoupl
Definition: cs_equation_param.h:474
int imvisf
Definition: cs_equation_param.h:469
int n_volume_mass_injections
Definition: cs_equation_param.h:738
int iwgrec
Definition: cs_equation_param.h:473
int n_bc_defs
Definition: cs_equation_param.h:525
cs_property_t * time_property
Definition: cs_equation_param.h:577
cs_param_advection_extrapol_t adv_extrapol
Definition: cs_equation_param.h:674
int ischcv
Definition: cs_equation_param.h:464
cs_param_bc_type_t default_bc
Definition: cs_equation_param.h:524
char *restrict name
Definition: cs_equation_param.h:200
int n_enforcements
Definition: cs_equation_param.h:759
cs_param_space_scheme_t space_scheme
Definition: cs_equation_param.h:233
cs_iter_algo_param_aac_t incremental_anderson_param
Definition: cs_equation_param.h:803
int ircflu
Definition: cs_equation_param.h:472
int iconv
Definition: cs_equation_param.h:456
double theta
Definition: cs_equation_param.h:476
int b_gradient_r
Definition: cs_equation_param.h:487
double blend_st
Definition: cs_equation_param.h:480
Field descriptor.
Definition: cs_field.h:131
Structure storing all metadata/parameters related to the usage of a discrete Hodge operator.
Definition: cs_hodge.h:151
Structure storing all the parameters to drive the algorithm called Anderson acceleration.
Definition: cs_iter_algo.h:137
Set of parameters to check the convergence (or the divergence) of an iterative process (tolerances or...
Definition: cs_param_types.h:537
Structure storing all metadata related to the resolution of a saddle-point linear system....
Definition: cs_param_saddle.h:272
Structure storing all metadata related to the resolution of a linear system with an iterative solver.
Definition: cs_param_sles.h:64
Structure associated to the definition of a property relying on the cs_xdef_t structure.
Structure storing medata for defining a quantity in a very flexible way.
Definition: cs_xdef.h:160