Definition: cs_dispatch.h:1711
double cs_gmean(cs_lnum_t n, const cs_real_t *vol, const cs_real_t *x)
Return the global spacial average of an intensive vectors: 1/sum(vol) . sum(x.vol)
Definition: cs_blas.cpp:1977
double cs_dot_wxx(cs_lnum_t n, const cs_real_t *w, const cs_real_t *x)
Definition: cs_blas.cpp:1684
double cs_dot(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y)
Return the dot product of 2 vectors: x.y.
Definition: cs_blas.cpp:1644
void cs_gdot_xx_xy(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y, double *xx, double *xy)
Definition: cs_blas.cpp:1918
double cs_gdot_xx(cs_lnum_t n, const cs_real_t *x)
Definition: cs_blas.cpp:1890
void cs_dot_xy_yz(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y, const cs_real_t *z, double *xx, double *xy)
void cs_axpy(cs_dispatch_context &ctx, cs_lnum_t n, cs_real_t a, const cs_real_t *x, cs_real_t *restrict y)
Constant times a vector plus a vector: y <– ax + y.
Definition: cs_blas.cpp:1379
double cs_weighted_sum(cs_lnum_t n, const cs_real_t *w, const cs_real_t *x)
Definition: cs_blas.cpp:1587
double cs_dot_xx(cs_lnum_t n, const cs_real_t *x)
Return dot products of a vector with itself: x.x.
Definition: cs_blas.cpp:1665
void cs_dot_xx_xy_yz(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y, const cs_real_t *z, double *xx, double *xy, double *yz)
cs_blas_reduce_t
Definition: cs_blas.h:58
@ CS_BLAS_REDUCE_KAHAN
Definition: cs_blas.h:61
@ CS_BLAS_REDUCE_SUPERBLOCK
Definition: cs_blas.h:60
void cs_blas_set_reduce_algorithm(cs_blas_reduce_t mode)
Set the preferred BLAS reduction algorithm family.
Definition: cs_blas.cpp:1459
void cs_dot_xx_yy_xy_xz_yz(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y, const cs_real_t *z, double *xx, double *yy, double *xy, double *xz, double *yz)
double cs_gres(cs_lnum_t n, const cs_real_t *vol, const cs_real_t *x, const cs_real_t *y)
Return the global residual of 2 intensive vectors: 1/sum(vol) . sum(x.y.vol)
Definition: cs_blas.cpp:1952
void cs_dot_xx_xy(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y, double *xx, double *xy)
double cs_sum(cs_lnum_t n, const cs_real_t *x)
Definition: cs_blas.cpp:1533
void cs_blas_library_info(cs_log_t log_type)
Print information on BLAS libraries used.
Definition: cs_blas.cpp:1431
double cs_gdot(cs_lnum_t n, const cs_real_t *x, const cs_real_t *y)
Return the global dot product of 2 vectors: x.y.
Definition: cs_blas.cpp:1864
#define restrict
Definition: cs_defs.h:158
#define BEGIN_C_DECLS
Definition: cs_defs.h:554
double cs_real_t
Floating-point value.
Definition: cs_defs.h:357
#define END_C_DECLS
Definition: cs_defs.h:555
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:350
cs_log_t
Definition: cs_log.h:48