Field boundary condition descriptor (for variables) More...
#include <cs_field.h>
Collaboration diagram for cs_field_bc_coeffs_t:Public Member Functions | |
| cs_field_bc_coeffs_t (void) | |
| cs_field_bc_coeffs_t (int field_dim) | |
| ~cs_field_bc_coeffs_t () | |
| cs_span< cs_real_t > | get_val_ext () const |
| Return a 1D span view of boundary condition external values. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_val_ext_2d () const |
| Return a 2D span view of boundary condition external values (1st dimension: face id, 2nd dimension: field dimension). More... | |
| cs_span< cs_real_t > | get_val_ext_s () const |
| Return a 1D span view of boundary condition external scalar values. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_val_ext_v () const |
| Return a 2D span view of boundary condition external vector values. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_val_ext_t () const |
| Return a 2D span view of boundary condition external tensor values. More... | |
| cs_span< cs_real_t > | get_h_ext () const |
| Return a 1D span view of boundary condition external exchange coefficient. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_h_ext_2d () const |
| Return a 2D span view of boundary condition external exchange coefficient (1st dimension: face id, 2nd dimension: field dimension). More... | |
| cs_span< cs_real_t > | get_h_ext_s () const |
| Return a 1D span view of boundary condition external exchange coefficient. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_h_ext_v () const |
| Return a 2D span view of boundary condition vector external exchange coefficients. More... | |
| cs_span< cs_real_t > | get_q_ext () const |
| Return a 1D span view of boundary condition prescribed flux. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_q_ext_2d () const |
| Return a 2D span view of boundary condition prescribed flux (1st dimension: face id, 2nd dimension: field dimension). More... | |
| cs_span< cs_real_t > | get_q_ext_s () const |
| Return a 1D span view of boundary condition prescribed flux. More... | |
| cs::mdspan< cs_real_t, 2, cs::layout::left > | get_q_ext_v () const |
| Return a 2D span view of boundary condition vector prescribed flux. More... | |
Public Attributes | |
| int * | icodcl |
| cs_real_t * | rcodcl1 |
| cs_real_t * | rcodcl2 |
| cs_real_t * | rcodcl3 |
| cs_real_t * | h_int_tot |
| cs_real_t * | h_rad |
| cs_real_t * | flux_rad |
| cs_real_t * | val_f |
| cs_real_t * | val_f_pre |
| cs_real_t * | flux_diff |
| cs_real_t * | a |
| cs_real_t * | b |
| cs_real_t * | af |
| cs_real_t * | bf |
| cs_real_t * | ad |
| cs_real_t * | bd |
| cs_real_t * | ac |
| cs_real_t * | bc |
Field boundary condition descriptor (for variables)
Field boundary condition descriptor (for variables)
|
inline |
|
inline |
| field_dim | Associated field dimension |
|
inline |
Return a 1D span view of boundary condition external exchange coefficient.
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_h_ext_2d | ( | ) | const |
Return a 2D span view of boundary condition external exchange coefficient (1st dimension: face id, 2nd dimension: field dimension).
Return a 1D span view of boundary condition external exchange coefficient.
This is the same as cs_field_bc_coeffs_t::get_h_ext, with a more explicit naming scheme which is better aligned with s/v/t (scalar/vector/tensor).
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_h_ext_v | ( | ) | const |
Return a 2D span view of boundary condition vector external exchange coefficients.
Return a 1D span view of boundary condition prescribed flux.
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_q_ext_2d | ( | ) | const |
Return a 2D span view of boundary condition prescribed flux (1st dimension: face id, 2nd dimension: field dimension).
Return a 1D span view of boundary condition prescribed flux.
This is the same as cs_field_bc_coeffs_t::get_q_ext, with a more explicit naming scheme which is better aligned with s/v/t (scalar/vector/tensor).
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_q_ext_v | ( | ) | const |
Return a 2D span view of boundary condition vector prescribed flux.
Return a 1D span view of boundary condition external values.
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_val_ext_2d | ( | ) | const |
Return a 2D span view of boundary condition external values (1st dimension: face id, 2nd dimension: field dimension).
Return a 1D span view of boundary condition external scalar values.
This is the same as cs_field_bc_coeffs_t::get_val_ext, with a more explicit naming scheme which is better aligned with s/v/t (scalar/vector/tensor).
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_val_ext_t | ( | ) | const |
Return a 2D span view of boundary condition external tensor values.
| cs::mdspan< cs_real_t, 2, cs::layout::left > get_val_ext_v | ( | ) | const |
Return a 2D span view of boundary condition external vector values.
| a |
Explicit coefficient
| ac |
Explicit coefficient for convection
| ad |
Explicit coefficient for divergence
| af |
Explicit coefficient for diffusive flux
| b |
Implicit coefficient
| bc |
Implicit coefficient for convection
| bd |
Implicit coefficient for divergence
| bf |
Implicit coefficient for diffusive flux
| cs_real_t* flux_diff |
| cs_real_t* flux_rad |
| cs_real_t* h_int_tot |
| cs_real_t* h_rad |
| icodcl |
Low-level BC type code
| rcodcl1 |
1st part of low-level BC values definition
| rcodcl2 |
2nd part of low-level BC values definition (a.k.a. hext, exterior exchange coefficient)
| rcodcl3 |
3rd part of low-level BC values definition
| cs_real_t* val_f |
| cs_real_t* val_f_pre |