8.3
general documentation
cs_at_data_assim.h
Go to the documentation of this file.
1#ifndef __CS_AT_DATA_ASSIM_H__
2#define __CS_AT_DATA_ASSIM_H__
3
4/*============================================================================
5 * Data assimilation
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
30#include "cs_defs.h"
31
32/*----------------------------------------------------------------------------*/
33
34#if defined(HAVE_MPI)
35#include <mpi.h>
36#endif
37
38/*----------------------------------------------------------------------------
39 * Local headers
40 *----------------------------------------------------------------------------*/
41
42#include "cs_at_opt_interp.h"
43
44/*----------------------------------------------------------------------------*/
45
47
48/*=============================================================================
49 * Macro definitions
50 *============================================================================*/
51
52/*============================================================================
53 * Type definitions
54 *============================================================================*/
55
56/*============================================================================
57 * Global variables
58 *============================================================================*/
59
60/*=============================================================================
61 * Public function prototypes
62 *============================================================================*/
63
64/*----------------------------------------------------------------------------*/
68/*----------------------------------------------------------------------------*/
69
70void
72
73/*----------------------------------------------------------------------------*/
77/*----------------------------------------------------------------------------*/
78
79void
81
82/*----------------------------------------------------------------------------*/
86/*----------------------------------------------------------------------------*/
87
88void
90
91/*----------------------------------------------------------------------------*/
99/*----------------------------------------------------------------------------*/
100
101void
104 cs_field_t *f);
105
106/*----------------------------------------------------------------------------*/
115/*----------------------------------------------------------------------------*/
116
117void
119 cs_real_t *exp_st,
120 cs_real_t *imp_st);
121
122/*----------------------------------------------------------------------------*/
123
125
126#endif /* __CS_AT_DATA_ASSIM_H__ */
void cs_at_data_assim_initialize(void)
Initialize data assimilation structures.
Definition: cs_at_data_assim.cpp:129
void cs_at_data_assim_finalize(void)
Destroy all structures linked to data assimilation.
Definition: cs_at_data_assim.cpp:337
void cs_at_data_assim_build_ops(void)
Build operators.
Definition: cs_at_data_assim.cpp:227
void cs_at_data_assim_log(cs_measures_set_t *ms, cs_at_opt_interp_t *oi, cs_field_t *f)
Log data assimilation.
Definition: cs_at_data_assim.cpp:357
void cs_at_data_assim_source_term(int f_id, cs_real_t *exp_st, cs_real_t *imp_st)
Compute source terms for a given variable and add them up to source term arrays.
Definition: cs_at_data_assim.cpp:505
#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
Definition: cs_at_opt_interp.h:62
Field descriptor.
Definition: cs_field.h:131
Definition: cs_measures_util.h:47