#include "cs_defs.h"
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "cs_headers.h"
Functions | |
void | cs_user_boundary_conditions_setup (cs_domain_t *domain) |
Set boundary conditions to be applied. More... | |
void | cs_user_boundary_conditions (int nvar, int bc_type[], int icodcl[], cs_real_t rcodcl[]) |
User definition of boundary conditions. More... | |
void cs_user_boundary_conditions | ( | int | nvar, |
int | bc_type[], | ||
int | icodcl[], | ||
cs_real_t | rcodcl[] | ||
) |
User definition of boundary conditions.
[in] | nvar | total number of variable BC's |
[in] | bc_type | boundary face types |
[in] | icodcl | boundary face code
|
[in] | rcodcl | boundary condition values rcodcl(3) = flux density value (negative for gain) in W/m2 |
void cs_user_boundary_conditions_setup | ( | cs_domain_t * | domain | ) |
Set boundary conditions to be applied.
This function is called just before cs_user_finalize_setup, and boundary conditions can be defined in either of those functions, depending on whichever is considered more readable or practical for a given use.
[in,out] | domain | pointer to a cs_domain_t structure |