8.3
general documentation
cs_static_condensation.h
Go to the documentation of this file.
1#ifndef __CS_STATIC_CONDENSATION_H__
2#define __CS_STATIC_CONDENSATION_H__
3
4/*============================================================================
5 * Functions to handle manipulations related to the static condensation
6 *============================================================================*/
7
8/*
9 This file is part of code_saturne, a general-purpose CFD tool.
10
11 Copyright (C) 1998-2024 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 * Local headers
30 *----------------------------------------------------------------------------*/
31
32#include "cs_cdo_connect.h"
33#include "cs_cdo_local.h"
34
35/*----------------------------------------------------------------------------*/
36
38
39/*============================================================================
40 * Macro definitions
41 *============================================================================*/
42
43/*============================================================================
44 * Type definitions
45 *============================================================================*/
46
47/*============================================================================
48 * Public function prototypes
49 *============================================================================*/
50
51/*----------------------------------------------------------------------------*/
65/*----------------------------------------------------------------------------*/
66
67void
69 cs_real_t *rc_tilda,
70 cs_real_t *acx_tilda,
72 cs_cell_sys_t *csys);
73
74/*----------------------------------------------------------------------------*/
87/*----------------------------------------------------------------------------*/
88
89void
91 const cs_real_t *rc_tilda,
92 const cs_real_t *acx_tilda,
93 const cs_real_t *px,
94 cs_real_t *pc);
95
96/*----------------------------------------------------------------------------*/
110/*----------------------------------------------------------------------------*/
111
112void
114 cs_real_t *rc_tilda,
115 cs_real_t *acx_tilda,
117 cs_cell_sys_t *csys);
118
119/*----------------------------------------------------------------------------*/
132/*----------------------------------------------------------------------------*/
133
134void
136 const cs_real_t *rc_tilda,
137 const cs_real_t *acx_tilda,
138 const cs_real_t *px,
139 cs_real_t *pc);
140
141/*----------------------------------------------------------------------------*/
142
144
145#endif /* __CS_STATIC_CONDENSATION_H__ */
#define BEGIN_C_DECLS
Definition: cs_defs.h:542
double cs_real_t
Floating-point value.
Definition: cs_defs.h:342
#define END_C_DECLS
Definition: cs_defs.h:543
void cs_static_condensation_vector_eq(const cs_adjacency_t *c2x, cs_real_t *rc_tilda, cs_real_t *acx_tilda, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Proceed to a static condensation of the local system and store information inside the rc_tilda and ac...
Definition: cs_static_condensation.cpp:202
void cs_static_condensation_recover_vector(const cs_adjacency_t *c2x, const cs_real_t *rc_tilda, const cs_real_t *acx_tilda, const cs_real_t *px, cs_real_t *pc)
Opposite process of the static condensation. Define the field at cells given the field at x locations...
Definition: cs_static_condensation.cpp:310
void cs_static_condensation_scalar_eq(const cs_adjacency_t *c2x, cs_real_t *rc_tilda, cs_real_t *acx_tilda, cs_cell_builder_t *cb, cs_cell_sys_t *csys)
Proceed to a static condensation of the local system and store information inside the rc_tilda and ac...
Definition: cs_static_condensation.cpp:93
void cs_static_condensation_recover_scalar(const cs_adjacency_t *c2x, const cs_real_t *rc_tilda, const cs_real_t *acx_tilda, const cs_real_t *px, cs_real_t *pc)
Opposite process of the static condensation. Define the field at cells given the field at x locations...
Definition: cs_static_condensation.cpp:159
Definition: cs_mesh_adjacencies.h:68
Set of local and temporary buffers.
Definition: cs_cdo_local.h:60
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:147