1 #ifndef __CS_INTERNAL_COUPLING_H__ 2 #define __CS_INTERNAL_COUPLING_H__ 34 #include <ple_locator.h> 365 const char criteria_cells[]);
391 const char criteria_cells[],
392 const char criteria_faces[]);
void cs_internal_coupling_initial_contribution(const cs_internal_coupling_t *cpl, const cs_real_t c_weight[], const cs_real_t pvar[], cs_real_3_t *restrict grad)
Definition: cs_internal_coupling.c:857
cs_real_3_t * offset_vect
Definition: cs_internal_coupling.h:85
ple_locator_t * locator
Definition: cs_internal_coupling.h:62
#define restrict
Definition: cs_defs.h:122
void cs_internal_coupling_exchange_by_face_id(const cs_internal_coupling_t *cpl, int stride, const cs_real_t tab[], cs_real_t local[])
Definition: cs_internal_coupling.c:1378
void cs_internal_coupling_reconstruct(const cs_internal_coupling_t *cpl, cs_real_3_t *restrict r_grad, cs_real_3_t grad[])
Definition: cs_internal_coupling.c:1039
void cs_matrix_preconditionning_add_coupling_contribution(void *input, cs_real_t *ad)
Definition: cs_internal_coupling.c:1948
void cs_internal_coupling_iter_rhs(const cs_internal_coupling_t *cpl, const cs_real_t c_weight[], cs_real_3_t *restrict grad, const cs_real_t pvar[], cs_real_3_t rhs[])
Definition: cs_internal_coupling.c:937
Definition: cs_internal_coupling.h:59
void cs_internal_coupling_lsq_cocg_weighted(const cs_internal_coupling_t *cpl, const cs_real_t *c_weight, cs_real_33_t cocg[])
Definition: cs_internal_coupling.c:1261
#define BEGIN_C_DECLS
Definition: cs_defs.h:451
void cs_internal_coupling_coupled_faces(const cs_internal_coupling_t *cpl, cs_lnum_t *n_local, cs_lnum_t *faces_local[], cs_lnum_t *n_distant, cs_lnum_t *faces_distant[])
Definition: cs_internal_coupling.c:1493
void cs_internal_coupling_it_cocg_contribution(const cs_internal_coupling_t *cpl, cs_real_33_t cocg[])
Definition: cs_internal_coupling.c:1320
cs_real_33_t * cocg_it
Definition: cs_internal_coupling.h:89
void cs_internal_coupling_add(cs_mesh_t *mesh, const char criteria_cells[], const char criteria_faces[])
Definition: cs_internal_coupling.c:1830
cs_real_3_t * ci_cj_vect
Definition: cs_internal_coupling.h:82
void cs_internal_coupling_finalize(void)
Definition: cs_internal_coupling.c:1356
void cs_internal_coupling_bcs(int bc_type[])
Impose wall BCs to internal coupled faces if not yet defined.
Definition: cs_internal_coupling.c:827
cs_real_t cs_real_4_t[4]
vector of 4 floating-point values
Definition: cs_defs.h:310
double cs_real_t
Floating-point value.
Definition: cs_defs.h:297
void cs_internal_coupling_add_entity(int f_id)
Definition: cs_internal_coupling.c:1858
cs_lnum_t n_local
Definition: cs_internal_coupling.h:69
void cs_internal_coupling_add_volumes_finalize(cs_mesh_t *mesh)
Definition: cs_internal_coupling.c:1808
void cs_internal_coupling_log(const cs_internal_coupling_t *cpl)
Definition: cs_internal_coupling.c:1727
void cs_internal_coupling_spmv_contribution(bool exclude_diag, void *input, const cs_real_t *restrict x, cs_real_t *restrict y)
Definition: cs_internal_coupling.c:1538
void cs_internal_coupling_exchange_by_cell_id(const cs_internal_coupling_t *cpl, int stride, const cs_real_t tab[], cs_real_t local[])
Definition: cs_internal_coupling.c:1419
bool * coupled_faces
Definition: cs_internal_coupling.h:76
cs_lnum_t * faces_local
Definition: cs_internal_coupling.h:70
cs_lnum_t * faces_distant
Definition: cs_internal_coupling.h:73
void cs_internal_coupling_lsq_rhs(const cs_internal_coupling_t *cpl, const cs_real_t c_weight[], const int w_stride, cs_real_4_t rhsv[])
Definition: cs_internal_coupling.c:1100
cs_real_t * g_weight
Definition: cs_internal_coupling.h:79
cs_real_t cs_real_3_t[3]
vector of 3 floating-point values
Definition: cs_defs.h:309
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:293
char * cells_criteria
Definition: cs_internal_coupling.h:66
#define END_C_DECLS
Definition: cs_defs.h:452
void cs_internal_coupling_dump(void)
Definition: cs_internal_coupling.c:1754
void cs_internal_coupling_initialize(void)
Definition: cs_internal_coupling.c:1612
void cs_internal_coupling_exchange_var(const cs_internal_coupling_t *cpl, int stride, cs_real_t distant[], cs_real_t local[])
Definition: cs_internal_coupling.c:1467
cs_real_t cs_real_33_t[3][3]
3x3 matrix of floating-point values
Definition: cs_defs.h:315
void cs_ic_set_exchcoeff(const int field_id, const cs_real_t *hbord)
Definition: cs_internal_coupling.c:1887
cs_real_33_t * cocgb_s_lsq
Definition: cs_internal_coupling.h:88
int * c_tag
Definition: cs_internal_coupling.h:63
void cs_internal_coupling_lsq_cocg_contribution(const cs_internal_coupling_t *cpl, cs_real_33_t cocg[])
Definition: cs_internal_coupling.c:1217
void cs_internal_coupling_add_volume(cs_mesh_t *mesh, const char criteria_cells[])
Definition: cs_internal_coupling.c:1779
char * faces_criteria
Definition: cs_internal_coupling.h:67
cs_internal_coupling_t * cs_internal_coupling_by_id(int coupling_id)
Definition: cs_internal_coupling.c:1517
cs_lnum_t n_distant
Definition: cs_internal_coupling.h:72
char * namesca
Definition: cs_internal_coupling.h:92