9.2
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-2026 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 "cdo/cs_cdo_connect.h"
33#include "cdo/cs_cdo_local.h"
34
35/*============================================================================
36 * Macro definitions
37 *============================================================================*/
38
39/*============================================================================
40 * Type definitions
41 *============================================================================*/
42
43/*============================================================================
44 * Public function prototypes
45 *============================================================================*/
46
47/*----------------------------------------------------------------------------*/
61/*----------------------------------------------------------------------------*/
62
63void
65 cs_real_t *rc_tilda,
66 cs_real_t *acx_tilda,
68 cs_cell_sys_t *csys);
69
70/*----------------------------------------------------------------------------*/
83/*----------------------------------------------------------------------------*/
84
85void
87 const cs_real_t *rc_tilda,
88 const cs_real_t *acx_tilda,
89 const cs_real_t *px,
90 cs_real_t *pc);
91
92/*----------------------------------------------------------------------------*/
106/*----------------------------------------------------------------------------*/
107
108void
110 cs_real_t *rc_tilda,
111 cs_real_t *acx_tilda,
113 cs_cell_sys_t *csys);
114
115/*----------------------------------------------------------------------------*/
128/*----------------------------------------------------------------------------*/
129
130void
132 const cs_real_t *rc_tilda,
133 const cs_real_t *acx_tilda,
134 const cs_real_t *px,
135 cs_real_t *pc);
136
137#endif /* CS_STATIC_CONDENSATION_H */
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
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:196
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:302
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:87
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:153
Definition: cs_mesh_adjacencies.h:68
Set of local and temporary buffers.
Definition: cs_cdo_local.h:56
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:163