9.2
general documentation
cs_solid_selection.h
Go to the documentation of this file.
1#ifndef CS_SOLID_CELLS_H
2#define CS_SOLID_CELLS_H
3
4/*============================================================================
5 * Manage the list of solid cells and associated helper functions
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 "base/cs_defs.h"
33#include "cdo/cs_cdo_connect.h"
34
35/*============================================================================
36 * Macro definitions
37 *============================================================================*/
38
39/*=============================================================================
40 * Structure and type definitions
41 *============================================================================*/
42
43typedef struct {
44
53
54/*============================================================================
55 * Public function prototypes
56 *============================================================================*/
57
58/*----------------------------------------------------------------------------*/
65/*----------------------------------------------------------------------------*/
66
69
70/*----------------------------------------------------------------------------*/
76/*----------------------------------------------------------------------------*/
77
78void
80
81/*----------------------------------------------------------------------------*/
86/*----------------------------------------------------------------------------*/
87
88void
90
91#endif /* CS_SOLID_CELLS_H */
unsigned cs_gnum_t
global mesh entity number
Definition: cs_defs.h:317
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
cs_solid_selection_t * cs_solid_selection_get(void)
Retrieve the information related to the list of solid cells If this structure does not exist,...
Definition: cs_solid_selection.cpp:100
void cs_solid_selection_sync(const cs_cdo_connect_t *connect)
Synchronize the solid selection.
Definition: cs_solid_selection.cpp:125
void cs_solid_selection_free(void)
Free the structure storing the information related to the list of solid cells.
Definition: cs_solid_selection.cpp:186
Definition: cs_cdo_connect.h:57
Definition: cs_solid_selection.h:43
bool * face_is_solid
Definition: cs_solid_selection.h:50
cs_lnum_t n_cells
Definition: cs_solid_selection.h:45
cs_gnum_t n_g_cells
Definition: cs_solid_selection.h:46
bool * cell_is_solid
Definition: cs_solid_selection.h:49
cs_lnum_t * cell_ids
Definition: cs_solid_selection.h:47