My Project
programmer's 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  * Routines 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-2019 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 
67 void
69  cs_real_t *rc_tilda,
70  cs_real_t *acx_tilda,
72  cs_cell_sys_t *csys);
73 
74 /*----------------------------------------------------------------------------*/
87 /*----------------------------------------------------------------------------*/
88 
89 void
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 
112 void
114  cs_real_t *rc_tilda,
115  cs_real_t *acx_tilda,
116  cs_cell_builder_t *cb,
117  cs_cell_sys_t *csys);
118 
119 /*----------------------------------------------------------------------------*/
132 /*----------------------------------------------------------------------------*/
133 
134 void
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__ */
cs_static_condensation_scalar_eq
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.c:95
END_C_DECLS
#define END_C_DECLS
Definition: cs_defs.h:468
cs_static_condensation_recover_scalar
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.c:156
cs_static_condensation_vector_eq
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.c:199
cs_real_t
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
BEGIN_C_DECLS
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
cs_cell_builder_t
Set of local and temporary buffers useful for building the algebraic system with a cellwise process....
Definition: cs_cdo_local.h:56
cs_adjacency_t
Definition: cs_mesh_adjacencies.h:90
cs_cdo_connect.h
cs_static_condensation_recover_vector
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.c:298
cs_cell_sys_t
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:93
cs_cdo_local.h