9.2
general documentation
cs_boundary_conditions.h
Go to the documentation of this file.
1#ifndef CS_BOUNDARY_CONDITIONS_H
2#define CS_BOUNDARY_CONDITIONS_H
3
4/*============================================================================
5 * Boundary condition handling.
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
30/*----------------------------------------------------------------------------
31 * Standard C library headers
32 *----------------------------------------------------------------------------*/
33
34/*----------------------------------------------------------------------------
35 * Local headers
36 *----------------------------------------------------------------------------*/
37
38#include <ple_locator.h>
39
40#include "base/cs_base.h"
41#include "base/cs_field.h"
42#include "base/cs_function.h"
43#include "base/cs_math.h"
46#include "base/cs_zone.h"
47
48/*============================================================================
49 * Macro definitions
50 *============================================================================*/
51
53#define CS_MAX_BC_TYPE 200
54
55/*============================================================================
56 * Local type definitions
57 *============================================================================*/
58
59/*=============================================================================
60 * Global variables
61 *============================================================================*/
62
65extern const int *cs_glob_bc_type;
66
73/*----------------------------------------------------------------------------*/
74
87typedef struct {
88
90 int *izfppp;
91
93 int *iautom;
94
96
98
99/* Mapped inlet */
100/*--------------*/
101
103
104public:
105
106 int bc_location_id; /* location id of boundary zone */
107 int source_location_id; /* location id of source elements */
108 cs_real_t coord_shift[3]; /* coordinates shift relative to
109 selected boundary faces */
110 double tolerance; /* search tolerance */
111
112 ple_locator_t *locator; /* associated locator */
113
114 /*--------------------------------------------------------------------------*/
115 /*
116 * \brief Update mapping.
117 */
118 /*--------------------------------------------------------------------------*/
119
120 void
121 update();
122
123};
124
125/*============================================================================
126 * Public function prototypes
127 *============================================================================*/
128
129/*----------------------------------------------------------------------------
130 * Define automatic turbulence values for open boundaries.
131 *----------------------------------------------------------------------------*/
132
133void
135
136/*----------------------------------------------------------------------------
137 * Handling of boundary condition definition errors and associated output.
138 *
139 * This function checks for errors, and simply returns if no error is
140 * encountered. In case of error, it outputs helpful information so as to
141 * make it easier to locate the matching faces.
142 *
143 * For each boundary face, bc_type defines the boundary condition type.
144 * As a convention here, zero values correspond to undefined types,
145 * positive values to defined types (with no error), and negative values
146 * to defined types with inconsistent or incompatible values, the
147 * absolute value indicating the original boundary condition type.
148 *
149 * An optional label may be used if the error is related to another
150 * attribute than the boundary type, for appropriate error reporting.
151 *
152 * parameters:
153 * bc_flag <-- array of BC type ids
154 * type_name <-- name of attribute in error, or NULL
155 *----------------------------------------------------------------------------*/
156
157void
158cs_boundary_conditions_error(const int *bc_type,
159 const char *type_name);
160
161/*----------------------------------------------------------------------------
162 * Locate shifted boundary face coordinates on possibly filtered
163 * cells or boundary faces for later interpolation.
164 *
165 * parameters:
166 * location_type <-- matching values location (CS_MESH_LOCATION_CELLS
167 * or CS_MESH_LOCATION_BOUNDARY_FACES)
168 * n_location_elts <-- number of selected location elements
169 * n_faces <-- number of selected boundary faces
170 * location_elts <-- list of selected location elements (0 to n-1),
171 * or NULL if no indirection is needed
172 * faces <-- list of selected boundary faces (0 to n-1),
173 * or NULL if no indirection is needed
174 * coord_shift <-- array of coordinates shift relative to selected
175 * boundary faces
176 * coord_stride <-- access stride in coord_shift: 0 for uniform
177 * shift, 1 for "per face" shift.
178 * tolerance <-- relative tolerance for point location.
179 *
180 * returns:
181 * associated locator structure
182 *----------------------------------------------------------------------------*/
183
184ple_locator_t *
186 cs_lnum_t n_location_elts,
187 cs_lnum_t n_faces,
188 const cs_lnum_t *location_elts,
189 const cs_lnum_t *faces,
190 cs_real_3_t *coord_shift,
191 int coord_stride,
192 double tolerance);
193
194/*----------------------------------------------------------------------------
195 * Set mapped boundary conditions for a given field and mapping locator.
196 *
197 * parameters:
198 * field <-- field whose boundary conditions are set
199 * locator <-- associated mapping locator, as returned
200 * by cs_boundary_conditions_map().
201 * location_type <-- matching values location (CS_MESH_LOCATION_CELLS or
202 * CS_MESH_LOCATION_BOUNDARY_FACES)
203 * normalize <-- normalization option:
204 * 0: values are simply mapped
205 * 1: values are mapped, then multiplied
206 * by a constant factor so that their
207 * surface integral on selected faces
208 * is preserved (relative to the
209 * input values)
210 * 2: as 1, but with a boundary-defined
211 * weight, defined by balance_w
212 * 3: as 1, but with a cell-defined
213 * weight, defined by balance_w
214 * interpolate <-- interpolation option:
215 * 0: values are simply based on matching
216 * cell or face center values
217 * 1: values are based on matching cell
218 * or face center values, corrected
219 * by gradient interpolation
220 * n_faces <-- number of selected boundary faces
221 * faces <-- list of selected boundary faces (0 to n-1),
222 * or NULL if no indirection is needed
223 * balance_w <-- optional balance weight, or NULL
224 *----------------------------------------------------------------------------*/
225
226void
228 ple_locator_t *locator,
229 cs_mesh_location_type_t location_type,
230 int normalize,
231 int interpolate,
232 cs_lnum_t n_faces,
233 const cs_lnum_t *faces,
234 cs_real_t *balance_w);
235
236/*----------------------------------------------------------------------------*/
260/*----------------------------------------------------------------------------*/
261
262int
263cs_boundary_conditions_add_map(int bc_location_id,
264 int source_location_id,
265 cs_real_t coord_shift[3],
266 double tolerance);
267
268/*----------------------------------------------------------------------------*/
275/*----------------------------------------------------------------------------*/
276
277int
279
280/*----------------------------------------------------------------------------*/
287/*----------------------------------------------------------------------------*/
288
291
292/*----------------------------------------------------------------------------*/
296/*----------------------------------------------------------------------------*/
297
298void
300
301/*----------------------------------------------------------------------------
302 * Create the boundary conditions face type and face zone arrays
303 *----------------------------------------------------------------------------*/
304
305void
307
308/*----------------------------------------------------------------------------
309 * Reallocate the boundary conditions face type and face zone arrays
310 *----------------------------------------------------------------------------*/
311
312void
314
315/*----------------------------------------------------------------------------*/
316/*
317 * \brief Update the legacy boundary conditions face type and face zone arrays.
318 */
319/*----------------------------------------------------------------------------*/
320
321void
323
324/*----------------------------------------------------------------------------
325 * Free the boundary conditions face type and face zone arrays.
326 *
327 * This also frees boundary condition mappings which may have been defined.
328 *----------------------------------------------------------------------------*/
329
330void
332
333/*----------------------------------------------------------------------------*/
337/*----------------------------------------------------------------------------*/
338
339void
341
342/*----------------------------------------------------------------------------*/
343/*
344 * \brief Return pointer to boundary conditions BC type array.
345 */
346/*----------------------------------------------------------------------------*/
347
348int *
350
351/*----------------------------------------------------------------------------*/
357/*----------------------------------------------------------------------------*/
358
359void
360cs_boundary_conditions_compute(int bc_type[]);
361
362/*----------------------------------------------------------------------------*/
372/*----------------------------------------------------------------------------*/
373
374void
376
377/*----------------------------------------------------------------------------*/
378/*
379 * \brief Return pointer to model inlet structure associated with a given
380 * open (inlet/outlet) boundary.
381 *
382 * The returned pointer is of type void * as it should be cast to the
383 * appropriate (model-dependent) type.
384
385 * If no matching parent open boundary has been created yet, it is created.
386 *
387 * \param[in] zone pointer to associated zone
388 *
389 * \return: pointer to structure associated with zone
390 */
391/*----------------------------------------------------------------------------*/
392
393void *
395
396/*----------------------------------------------------------------------------*/
411/*----------------------------------------------------------------------------*/
412
413void *
415
416/*----------------------------------------------------------------------------*/
417/*
418 * \brief Return legacy zone number related to a given zone, if available.
419 *
420 * \param[in] z pointer to associated zone
421 *
422 * \return number associated with legacy zone, or 0 if unavailable.
423 */
424/*----------------------------------------------------------------------------*/
425
426int
428
429/*----------------------------------------------------------------------------*/
439/*----------------------------------------------------------------------------*/
440
441cs_real_t *
443
444/*----------------------------------------------------------------------------*/
445/*
446 * \brief Assign pointer to model inlet structure associated with a given
447 * open (inlet/outlet) boundary.
448 *
449 * The returned pointer is of type void * as it should be cast to the
450 * appropriate (model-dependent) type.
451
452 * If no matching parent open boundary has been created yet, it is created.
453 *
454 * \param[in] zone pointer to associated zone
455 * \param[in] s_ptr pointer to associated structure
456 * \param[in] s_del destructor for associated structure, or NULL
457 */
458/*----------------------------------------------------------------------------*/
459
460void
462 void *s_ptr,
463 void *s_del);
464
465/*----------------------------------------------------------------------------*/
466/*
467 * \brief Acess the time control structure of an inlet.
468 *
469 * This allows modifying that structure, for example updating the inlet
470 * velocity values only in a certain time range, and avoiding
471 * uneeded recomputations outside that range.
472 *
473 * \param[in] zone pointer to associated zone
474 */
475/*----------------------------------------------------------------------------*/
476
479
480/*----------------------------------------------------------------------------*/
481/*
482 * \brief Assign a constant velocity to an open (inlet/outlet) boundary.
483 *
484 * This function may also be used to define the flow direction if called
485 * before one of the \c cs_boundary_conditions_open_set_mass_flow_rate
486 * or \c cs_boundary_conditions_open_set_volume_flow_rate functions.
487 *
488 * \param[in] z pointer to associated zone
489 * \param[in] u associated velocity value
490 */
491/*----------------------------------------------------------------------------*/
492
493void
495 const cs_real_t u[3]);
496
497/*----------------------------------------------------------------------------*/
498/*
499 * \brief Assign a constant velocity normal to an inlet.
500 *
501 * \param[in] z pointer to associated zone
502 * \param[in] u_norm associated constant normal
503 */
504/*----------------------------------------------------------------------------*/
505
506void
508 cs_real_t u_norm);
509
510/*----------------------------------------------------------------------------*/
525/*----------------------------------------------------------------------------*/
526
527void
530 void *input);
531
532/*----------------------------------------------------------------------------*/
533/*
534 * \brief Return the volume flow rate to an inlet or outlet.
535 *
536 * The flow direction may be specified by also calling
537 * \ref cs_boundary_conditions_open_set_velocity_by_value,
538 * or \ref cs_boundary_conditions_open_set_velocity_by_func.
539 * In that case, the velocity vector is rescaled so as to obtain the required
540 * volume flow rate.
541 *
542 * \param[in] z pointer to associated zone
543 *
544 * \return volume flow rate associated with open boundary
545 */
546/*----------------------------------------------------------------------------*/
547
550
551/*----------------------------------------------------------------------------*/
552/*
553 * \brief Assign a constant mass flow rate to an inlet or outlet.
554 *
555 * By default, the flow direction is considered normal to the boundary.
556 * The flow direction may be specified by calling
557 * \ref cs_boundary_conditions_open_set_velocity_by_value,
558 * or \ref cs_boundary_conditions_open_set_velocity_by_func
559 * for the appropriate zone before calling this function.
560 * In that case, the velocity vector is rescaled so as to obtain the required
561 * mass flow rate.
562 *
563 * \param[in] z pointer to associated zone
564 * \param[in] q associated constant mass flow rate
565 */
566/*----------------------------------------------------------------------------*/
567
568void
570 cs_real_t q);
571
572/*----------------------------------------------------------------------------*/
573/*
574 * \brief Assign a mass flow rate to an inlet or outlet based on
575 * provided function.
576 *
577 * The flow direction may be specified by also calling
578 * \ref cs_boundary_conditions_open_set_velocity_by_value,
579 * \ref cs_boundary_conditions_open_set_velocity_by_normal_value,
580 * or \ref cs_boundary_conditions_open_set_velocity_by_func.
581 * In that case, the velocity vector is rescaled so as to obtain the required
582 * mass flow rate.
583 *
584 * Since the flow rate is a global value, the provided function should
585 * be associated with the CS_MESH_LOCATION_NONE location.
586 *
587 * Note also that during updates, this function will be called before
588 * the velocity vector update, so in complex cases where flow rate computation
589 * would require feedback from the velocity at this boundary, the user
590 * must be aware that values from the previous time step or update will
591 * be used, handle this in another manner.
592 *
593 * Reminder: if the input pointer is non-null, it must point to valid data
594 * when the selection function is called, so either:
595 * - that value or structure should not be temporary (i.e. local);
596 * - when a single integer identifier is needed, the input pointer can be
597 * set to that value instead of an actual address;
598 *
599 * \param[in] z pointer to associated zone
600 * \param[in] func associated scalar (mass flow rate) evaluation function
601 * \param[in] input optional function evaluation input, or NULL
602 */
603/*----------------------------------------------------------------------------*/
604
605void
607 (const cs_zone_t *z,
609 void *input);
610
611/*----------------------------------------------------------------------------*/
612/*
613 * \brief Assign a constant volume flow rate to an inlet or outlet.
614 *
615 * The flow direction may be specified by also calling
616 * \ref cs_boundary_conditions_open_set_velocity_by_value,
617 * or \ref cs_boundary_conditions_open_set_velocity_by_func.
618 * In that case, the velocity vector is rescaled so as to obtain the required
619 * volume flow rate.
620 *
621 * \param[in] z pointer to associated zone
622 * \param[in] q associated constant volume flow rate
623 */
624/*----------------------------------------------------------------------------*/
625
626void
628 cs_real_t q);
629
630/*----------------------------------------------------------------------------*/
631/*
632 * \brief Assign a volume flow rate to an inlet or outlet based on
633 * provided function.
634 *
635 * The flow direction may be specified by also calling
636 * \ref cs_boundary_conditions_open_set_velocity_by_value,
637 * \ref cs_boundary_conditions_open_set_velocity_by_normal_value,
638 * or \ref cs_boundary_conditions_open_set_velocity_by_func.
639 * In that case, the velocity vector is rescaled so as to obtain the required
640 * volume flow rate.
641 *
642 * Since the flow rate is a global value, the provided function should
643 * be associated with the CS_MESH_LOCATION_NONE location.
644 *
645 * Note also that during updates, this function will be called before
646 * the velocity vector update, so in complex cases where flow rate computation
647 * would require feedback from the velocity at this boundary, the user
648 * must be aware that values from the previous time step or update will
649 * be used, handle this in another manner.
650 *
651 * Reminder: if the input pointer is non-null, it must point to valid data
652 * when the selection function is called, so either:
653 * - that value or structure should not be temporary (i.e. local);
654 * - when a single integer identifier is needed, the input pointer can be
655 * set to that value instead of an actual address;
656 *
657 * \param[in] z pointer to associated zone
658 * \param[in] func associated scalar (volume flow rate) evaluation function
659 * \param[in] input optional function evaluation input, or NULL
660 */
661/*----------------------------------------------------------------------------*/
662
663void
665 (const cs_zone_t *z,
667 void *input);
668
669/*----------------------------------------------------------------------------*/
670/*
671 * \brief Base the inlet turbulence values on a a circular duct with smooth
672 * wall (see ref cs_turbulence_bc_ke_hyd_diam).
673 *
674 * \param[in] zone pointer to associated zone
675 * \param[in] hd associated hydraulic diameter
676 */
677/*----------------------------------------------------------------------------*/
678
679void
681 cs_real_t hd);
682
683/*----------------------------------------------------------------------------*/
684/*
685 * \brief Base the inlet turbulence values on a a circular duct with smooth
686 * wall (see ref cs_turbulence_bc_ke_hyd_diam).
687 *
688 * \param[in] zone pointer to associated zone
689 * \param[in] ti associated turbulence intensity
690 */
691/*----------------------------------------------------------------------------*/
692
693void
695 cs_real_t ti);
696
697/*----------------------------------------------------------------------------*/
703/*----------------------------------------------------------------------------*/
704
705int **
707
708/*----------------------------------------------------------------------------*/
709
710#endif /* CS_BOUNDARY_CONDITIONS_H */
Definition: cs_boundary_conditions.h:102
ple_locator_t * locator
Definition: cs_boundary_conditions.h:112
int bc_location_id
Definition: cs_boundary_conditions.h:106
int source_location_id
Definition: cs_boundary_conditions.h:107
double tolerance
Definition: cs_boundary_conditions.h:110
cs_real_t coord_shift[3]
Definition: cs_boundary_conditions.h:108
void update()
Definition: cs_boundary_conditions.cpp:3410
Field descriptor.
Definition: cs_field.h:275
Definition: cs_time_control.h:92
void cs_boundary_conditions_realloc(void)
Reallocate the legacy boundary conditions face type and face zone arrays.
Definition: cs_boundary_conditions.cpp:2216
void cs_boundary_conditions_create(void)
Create the legacy boundary conditions face type and face zone arrays.
Definition: cs_boundary_conditions.cpp:2165
void * cs_boundary_conditions_get_model_inlet_try(const cs_zone_t *zone)
Return pointer to model inlet structure associated with a given boundary zone, if associated,...
Definition: cs_boundary_conditions.cpp:2748
cs_time_control_t * cs_boundary_conditions_open_get_time_control(const cs_zone_t *zone)
Acess the time control structure of an open (inlet/outlet) boundary.
Definition: cs_boundary_conditions.cpp:2855
void cs_boundary_conditions_open_turb(void)
void cs_boundary_conditions_open_set_volume_flow_rate_by_value(const cs_zone_t *z, cs_real_t q)
Assign a constant volume flow rate to an inlet or outlet.
Definition: cs_boundary_conditions.cpp:3212
void cs_boundary_conditions_open_set_mass_flow_rate_by_value(const cs_zone_t *z, cs_real_t q)
Assign a constant mass flow rate to an inlet or outlet.
Definition: cs_boundary_conditions.cpp:3048
void cs_boundary_conditions_open_set_velocity_by_normal_value(const cs_zone_t *z, cs_real_t u_norm)
Assign a constant velocity normal to an inlet.
Definition: cs_boundary_conditions.cpp:2916
cs_boundary_condition_pm_info_t * cs_glob_bc_pm_info
cs_bc_map_t * cs_boundary_conditions_get_maps()
Return maps to mapping of boundary face locations (usually from boundary zones).
Definition: cs_boundary_conditions.cpp:2130
const int * cs_glob_bc_type
cs_real_t cs_boundary_conditions_open_get_mass_flow_rate(const cs_zone_t *z)
Return the volume flow rate to an inlet or outlet.
Definition: cs_boundary_conditions.cpp:3009
void cs_boundary_conditions_open_set_mass_flow_rate_by_func(const cs_zone_t *z, cs_eval_at_location_t *func, void *input)
Assign a mass flow rate to an inlet or outlet based on provided function.
Definition: cs_boundary_conditions.cpp:3142
void cs_boundary_conditions_ibm_create(cs_lnum_t n_ib_cells)
Update the legacy boundary conditions face type and face zone arrays.
Definition: cs_boundary_conditions.cpp:2263
void cs_boundary_conditions_mapped_set(const cs_field_t *f, ple_locator_t *locator, cs_mesh_location_type_t location_type, int normalize, int interpolate, cs_lnum_t n_faces, const cs_lnum_t *faces, cs_real_t *balance_w)
Set mapped boundary conditions for a given field and mapping locator.
Definition: cs_boundary_conditions.cpp:1884
void cs_boundary_conditions_complete(int bc_type[])
Automatic adjustments for boundary condition codes.
Definition: cs_boundary_conditions.cpp:2609
ple_locator_t * cs_boundary_conditions_map(cs_mesh_location_type_t location_type, cs_lnum_t n_location_elts, cs_lnum_t n_faces, const cs_lnum_t *location_elts, const cs_lnum_t *faces, cs_real_3_t *coord_shift, int coord_stride, double tolerance)
Locate shifted boundary face coordinates on possibly filtered cells or boundary faces for later inter...
Definition: cs_boundary_conditions.cpp:1732
cs_real_t * cs_boundary_conditions_get_b_head_loss(bool alloc_if_null)
Return pointer to boundary head losses array.
Definition: cs_boundary_conditions.cpp:2798
int cs_boundary_conditions_add_map(int bc_location_id, int source_location_id, cs_real_t coord_shift[3], double tolerance)
Add location of locate shifted boundary face coordinates on cells or boundary faces for automatic int...
Definition: cs_boundary_conditions.cpp:2079
int * cs_boundary_conditions_get_bc_type(void)
Return pointer to boundary conditions BC type array.
Definition: cs_boundary_conditions.cpp:2415
void cs_boundary_conditions_create_legacy_zone_data(void)
Create the legacy boundary conditions zone data arrays.
Definition: cs_boundary_conditions.cpp:2142
void cs_boundary_conditions_open_set_velocity_by_func(const cs_zone_t *z, cs_eval_at_location_t *func, void *input)
Assign a normal velocity to an inlet using a provided function.
Definition: cs_boundary_conditions.cpp:2963
void cs_boundary_conditions_free(void)
Free the boundary conditions face type and face zone arrays.
Definition: cs_boundary_conditions.cpp:2308
void cs_boundary_conditions_compute(int bc_type[])
Update per variable boundary condition codes.
Definition: cs_boundary_conditions.cpp:2429
void * cs_boundary_conditions_get_model_inlet(const cs_zone_t *zone)
Return pointer to model inlet structure associated with a given open (inlet/outlet) boundary.
Definition: cs_boundary_conditions.cpp:2720
void cs_boundary_conditions_error(const int *bc_type, const char *type_name)
Handling of boundary condition definition errors and associated output.
Definition: cs_boundary_conditions.cpp:1678
int cs_boundary_conditions_get_number_of_maps()
Return the number of maps to mapping of boundary face locations (usually from boundary zones).
Definition: cs_boundary_conditions.cpp:2115
int cs_boundary_conditions_get_legacy_zone_num(const cs_zone_t *z)
Definition: cs_boundary_conditions.cpp:2773
void cs_boundary_conditions_inlet_set_turbulence_intensity(const cs_zone_t *zone, cs_real_t ti)
Base the inlet turbulence values on a a circular duct with smooth wall (see ref cs_turbulence_bc_ke_h...
Definition: cs_boundary_conditions.cpp:3377
void cs_boundary_conditions_assign_model_inlet(const cs_zone_t *zone, void *s_ptr, void *s_del)
Assign pointer to model inlet structure associated with a given open (inlet/outlet) boundary.
Definition: cs_boundary_conditions.cpp:2823
void cs_boundary_conditions_reset(void)
Prepare (reset) condition coefficients for all variable fields.
Definition: cs_boundary_conditions.cpp:2350
void cs_boundary_conditions_inlet_set_turbulence_hyd_diam(const cs_zone_t *zone, cs_real_t hd)
Base the inlet turbulence values on a a circular duct with smooth wall (see ref cs_turbulence_bc_ke_h...
Definition: cs_boundary_conditions.cpp:3355
void cs_boundary_conditions_open_set_volume_flow_rate_by_func(const cs_zone_t *z, cs_eval_at_location_t *func, void *input)
Assign a volume flow rate to an inlet or outlet based on provided function.
Definition: cs_boundary_conditions.cpp:3296
void cs_boundary_conditions_open_set_velocity_by_value(const cs_zone_t *z, const cs_real_t u[3])
Assign a constant velocity to an open (inlet/outlet) boundary.
Definition: cs_boundary_conditions.cpp:2877
int ** cs_boundary_conditions_get_bc_type_addr(void)
Get address of global boundary conditions type array.
Definition: cs_boundary_conditions.cpp:3396
double cs_real_t
Floating-point value.
Definition: cs_defs.h:332
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:349
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:325
void() cs_eval_at_location_t(int location_id, cs_lnum_t n_elts, const cs_lnum_t *elt_ids, void *input, void *vals)
Function pointer for evaluation of local function values.
Definition: cs_function.h:108
cs_mesh_location_type_t
Definition: cs_mesh_location.h:60
Definition: cs_boundary_conditions.h:87
int * iautom
Definition: cs_boundary_conditions.h:93
int * izfppp
Definition: cs_boundary_conditions.h:90
Definition: cs_zone.h:51