8.0
general documentation
cs_gui_boundary_conditions.h File Reference
#include "cs_base.h"
#include "cs_boundary.h"
#include "cs_zone.h"
+ Include dependency graph for cs_gui_boundary_conditions.h:

Go to the source code of this file.

Data Structures

struct  cs_gui_boundary_meg_context_t
 

Functions

void uiclim (const int *nozppm, int *iqimp, int *icalke, int *ientat, int *ientcp, int *inmoxy, int *ientox, int *ientfu, int *ientgf, int *ientgb, int *iprofm, int *iautom, int *itypfb, int *izfppp, double *qimp, double *qimpat, double *qimpcp, double *dh, double *xintur, double *timpat, double *timpcp, double *tkent, double *fment, double *distch)
 
void uiclve (const int *nozppm)
 
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_tcs_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 a boundary profiles using a MEG generated function. More...
 

Function Documentation

◆ cs_gui_boundary_add_meg_context()

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.

Parameters
[in]zonepointer to associated zone
[in]namename of associated field or array
[in]conditionassociated condition type
[in]dimassociated dimension
Returns
: pointer to cs_dof_func_t context info

◆ cs_gui_boundary_conditions_define()

void cs_gui_boundary_conditions_define ( cs_boundary_t bdy)

Define boundary conditions based on setup file.

Parameters
[in,out]bdyboundaries structure to update (if NULL, default to cs_glob_domain->boundaries)

◆ cs_gui_boundary_conditions_dof_func_meg()

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 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

Parameters
[in]n_eltsnumber of elements to consider
[in]elt_idslist of elements ids
[in]dense_outputperform an indirection in retval or not
[in]inputNULL or pointer to a structure cast on-the-fly
[in,out]retvalresulting value(s). Must be allocated.

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

Parameters
[in]n_eltsnumber of elements to consider
[in]elt_idslist of elements ids
[in]dense_outputperform an indirection in retval or not
[in]inputNULL or pointer to a structure cast on-the-fly
[in,out]retvalresulting value(s). Must be allocated.

◆ cs_gui_boundary_conditions_free_memory()

void cs_gui_boundary_conditions_free_memory ( void  )

Free GUI boundary condition structures.

◆ uiclim()

void uiclim ( const int *  nozppm,
int *  iqimp,
int *  icalke,
int *  ientat,
int *  ientcp,
int *  inmoxy,
int *  ientox,
int *  ientfu,
int *  ientgf,
int *  ientgb,
int *  iprofm,
int *  iautom,
int *  itypfb,
int *  izfppp,
double *  qimp,
double *  qimpat,
double *  qimpcp,
double *  dh,
double *  xintur,
double *  timpat,
double *  timpcp,
double *  tkent,
double *  fment,
double *  distch 
)

◆ uiclve()

void uiclve ( const int *  nozppm)