8.0
general documentation
Loading...
Searching...
No Matches
cs_cdocb_monolithic_sles.h
Go to the documentation of this file.
1#ifndef __CS_CDOCB_MONOLITHIC_SLES_H__
2#define __CS_CDOCB_MONOLITHIC_SLES_H__
3
4/*============================================================================
5 * Functions dedicated to the linear algebra settings and operations in case
6 * of CDO cell-based schemes with a monolithic velocity-pressure coupling
7 *============================================================================*/
8
9/*
10 This file is part of code_saturne, a general-purpose CFD tool.
11
12 Copyright (C) 1998-2022 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
31#include "cs_defs.h"
32
33/*----------------------------------------------------------------------------
34 * Standard C library headers
35 *----------------------------------------------------------------------------*/
36
37/*----------------------------------------------------------------------------
38 * Local headers
39 *----------------------------------------------------------------------------*/
40
41#include "cs_cdocb_priv.h"
42
43/*----------------------------------------------------------------------------*/
44
46
47/*============================================================================
48 * Macro definitions
49 *============================================================================*/
50
51/*============================================================================
52 * Type definitions
53 *============================================================================*/
54
55/*============================================================================
56 * Public function prototypes
57 *============================================================================*/
58
59/*----------------------------------------------------------------------------*/
68/*----------------------------------------------------------------------------*/
69
72 cs_lnum_t n_cells);
73
74/*----------------------------------------------------------------------------*/
80/*----------------------------------------------------------------------------*/
81
82void
84
85/*----------------------------------------------------------------------------*/
91/*----------------------------------------------------------------------------*/
92
93void
95
96/*----------------------------------------------------------------------------*/
103/*----------------------------------------------------------------------------*/
104
105void
107 const cs_cdo_quantities_t *quant);
108
109/*----------------------------------------------------------------------------*/
114/*----------------------------------------------------------------------------*/
115
116void
118
119/*----------------------------------------------------------------------------*/
128/*----------------------------------------------------------------------------*/
129
130void
132 void *context);
133
134/*----------------------------------------------------------------------------*/
147/*----------------------------------------------------------------------------*/
148
149int
151 const cs_cdo_system_helper_t *sh,
153
154/*----------------------------------------------------------------------------*/
155
157
158#endif /* __CS_CDOCB_MONOLITHIC_SLES_H__ */
void cs_cdocb_monolithic_sles_clean(cs_cdocb_monolithic_sles_t *msles)
Free a part of the structure.
Definition cs_cdocb_monolithic_sles.c:193
void cs_cdocb_monolithic_sles_finalize(void)
Free if needed structure(s) associated CDO cell-based schemes with a monolithic velocity-pressure cou...
Definition cs_cdocb_monolithic_sles.c:255
cs_cdocb_monolithic_sles_t * cs_cdocb_monolithic_sles_create(cs_lnum_t n_faces, cs_lnum_t n_cells)
Create an empty cs_cdocb_monolithic_sles_t structure.
Definition cs_cdocb_monolithic_sles.c:161
void cs_cdocb_monolithic_sles_init_sharing(const cs_cdo_connect_t *connect, const cs_cdo_quantities_t *quant)
Set pointers to shared structures.
Definition cs_cdocb_monolithic_sles.c:238
void cs_cdocb_monolithic_set_sles(cs_equation_param_t *eqp, void *context)
Start setting-up the equations when a monolithic algorithm is used to couple the system....
Definition cs_cdocb_monolithic_sles.c:272
void cs_cdocb_monolithic_sles_free(cs_cdocb_monolithic_sles_t **p_msles)
Free memory related to cs_cdocb_monolithic_sles_t structure.
Definition cs_cdocb_monolithic_sles.c:211
int cs_cdocb_monolithic_solve(const cs_equation_param_t *eqp, const cs_cdo_system_helper_t *sh, cs_cdocb_monolithic_sles_t *msles)
Solve a linear system arising from the discretization of the Navier-Stokes equation with a CDO cell-b...
Definition cs_cdocb_monolithic_sles.c:326
#define BEGIN_C_DECLS
Definition cs_defs.h:509
#define END_C_DECLS
Definition cs_defs.h:510
int cs_lnum_t
local mesh entity id
Definition cs_defs.h:313
Definition cs_cdo_connect.h:61
Definition cs_cdo_quantities.h:137
Definition cs_cdo_system.h:377
Definition cs_cdocb_priv.h:50
Set of parameters to handle an unsteady convection-diffusion-reaction equation with term sources.
Definition cs_equation_param.h:192