#include "cs_defs.h"
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <string.h>
#include <fcntl.h>
#include <unistd.h>
#include <assert.h>
#include "bft_mem.h"
#include "bft_error.h"
#include "bft_printf.h"
#include "fvm_selector.h"
#include "cs_ale.h"
#include "cs_atmo.h"
#include "cs_base.h"
#include "cs_boundary.h"
#include "cs_boundary_conditions.h"
#include "cs_boundary_conditions_priv.h"
#include "cs_boundary_zone.h"
#include "cs_cf_thermo.h"
#include "cs_coal_boundary_conditions.h"
#include "cs_combustion_model.h"
#include "cs_equation_param.h"
#include "cs_parameters.h"
#include "cs_gui_util.h"
#include "cs_gui.h"
#include "cs_gui_specific_physics.h"
#include "cs_ht_convert.h"
#include "cs_meg_prototypes.h"
#include "cs_mesh.h"
#include "cs_field.h"
#include "cs_field_default.h"
#include "cs_field_operator.h"
#include "cs_field_pointer.h"
#include "cs_physical_model.h"
#include "cs_thermal_model.h"
#include "cs_timer.h"
#include "cs_tree.h"
#include "cs_turbulence_bc.h"
#include "cs_turbulence_model.h"
#include "cs_parall.h"
#include "cs_elec_model.h"
#include "cs_vof.h"
#include "cs_wall_functions.h"
#include "cs_gui_boundary_conditions.h"
Functions | |
void | cs_gui_boundary_conditions_processing (int *itypfb) |
void | cs_gui_boundary_conditions_verify (void) |
void | cs_gui_boundary_conditions_define (cs_boundary_t *bdy) |
Define boundary conditions based on setup file. More... | |
void | cs_gui_boundary_conditions_free_memory (void) |
Free GUI boundary condition structures. More... | |
cs_gui_boundary_meg_context_t * | cs_gui_boundary_add_meg_context (const cs_zone_t *zone, const char *name, const char *condition, int dim) |
Add new MEG-based cs_dof_func_t context info. More... | |
void | cs_gui_boundary_conditions_dof_func_meg (cs_lnum_t n_elts, const cs_lnum_t *elt_ids, bool dense_output, void *input, cs_real_t *retval) |
cs_dof_func_t function to compute boundary condition values using a MEG generated function. More... | |
cs_gui_boundary_meg_context_t* cs_gui_boundary_add_meg_context | ( | const cs_zone_t * | zone, |
const char * | name, | ||
const char * | condition, | ||
int | dim | ||
) |
Add new MEG-based cs_dof_func_t context info.
[in] | zone | pointer to associated zone |
[in] | name | name of associated field or array |
[in] | condition | associated condition type |
[in] | dim | associated dimension |
void cs_gui_boundary_conditions_define | ( | cs_boundary_t * | bdy | ) |
Define boundary conditions based on setup file.
[in,out] | bdy | boundaries structure to update (if NULL, default to cs_glob_domain->boundaries) |
void cs_gui_boundary_conditions_dof_func_meg | ( | cs_lnum_t | n_elts, |
const cs_lnum_t * | elt_ids, | ||
bool | dense_output, | ||
void * | input, | ||
cs_real_t * | retval | ||
) |
cs_dof_func_t function to compute boundary condition values using a MEG generated function.
cs_dof_func_t function to compute a boundary profiles using a MEG generated function.
For the calling function, elt_ids is optional. If not NULL, array(s) should be accessed with an indirection. The same indirection can be applied to fill retval if dense_output is set to false. In the current case, retval is allocated to mesh->n_b_faces
[in] | n_elts | number of elements to consider |
[in] | elt_ids | list of elements ids |
[in] | dense_output | perform an indirection in retval or not |
[in] | input | NULL or pointer to a structure cast on-the-fly |
[in,out] | retval | resulting value(s). Must be allocated. |
void cs_gui_boundary_conditions_free_memory | ( | void | ) |
Free GUI boundary condition structures.
void cs_gui_boundary_conditions_processing | ( | int * | itypfb | ) |
void cs_gui_boundary_conditions_verify | ( | void | ) |