My Project
programmer's documentation
Public Member Functions
boundary_conditions_mapped_set Interface Reference

Set mapped boundary conditions for a given field and mapping locator. More...

Collaboration diagram for boundary_conditions_mapped_set:
Collaboration graph

Public Member Functions

subroutine boundary_conditions_mapped_set (field_id, locator, location_type, normalize, interpolate, n_faces, faces, balance_w, nvar, rcodcl)
 

Detailed Description

Set mapped boundary conditions for a given field and mapping locator.

param[in] field_id id of field whose boundary conditions are set param[in] locator associated mapping locator, as returned by cs_boundary_conditions_map. param[in] location_type matching values location (CS_MESH_LOCATION_CELLS or CS_MESH_LOCATION_BOUNDARY_FACES) param[in] normalize normalization: 0: values are simply mapped 1: values are mapped, then multiplied by a constant factor so that their surface integral on selected faces is preserved (relative to the input values) 2: as 1, but with a boundary-defined weight, defined by balance_w 3: as 1, but with a cell-defined weight, defined by balance_w param[in] interpolate interpolation option: 0: values are simply based on matching cell or face center values 1: values are based on matching cell or face center values, corrected by gradient interpolation param[in] n_faces number of selected boundary faces param[in] faces list of selected boundary faces (1 to n) param[in] balance_w optional balance weight param[in] nvar number of variables with BC's param[in, out] rcodcl boundary condition values

Constructor & Destructor Documentation

◆ boundary_conditions_mapped_set()

subroutine boundary_conditions_mapped_set ( integer(c_int), value  field_id,
type(c_ptr), value  locator,
integer(c_int), value  location_type,
integer(c_int), value  normalize,
integer(c_int), value  interpolate,
integer(c_int), value  n_faces,
integer(c_int), dimension(*), intent(in)  faces,
real(kind=c_double), dimension(*), intent(in)  balance_w,
integer(c_int), value  nvar,
real(kind=c_double), dimension(*), intent(in)  rcodcl 
)

The documentation for this interface was generated from the following file: