|
My Project
programmer's documentation
|
Go to the documentation of this file. 1 #ifndef __CS_MATRIX_PRIV_H__
2 #define __CS_MATRIX_PRIV_H__
77 (cs_matrix_copy_diagonal_t) (
const cs_matrix_t *matrix,
81 (cs_matrix_vector_product_t) (
bool exclude_diag,
98 typedef struct _cs_matrix_struct_native_t {
110 } cs_matrix_struct_native_t;
115 typedef struct _cs_matrix_coeff_native_t {
131 } cs_matrix_coeff_native_t;
136 typedef struct _cs_matrix_struct_csr_t {
144 bool direct_assembly;
155 } cs_matrix_struct_csr_t;
160 typedef struct _cs_matrix_coeff_csr_t {
177 } cs_matrix_coeff_csr_t;
182 typedef struct _cs_matrix_struct_csr_sym_t {
191 bool direct_assembly;
199 } cs_matrix_struct_csr_sym_t;
204 typedef struct _cs_matrix_coeff_csr_sym_t {
215 } cs_matrix_coeff_csr_sym_t;
220 typedef struct _cs_matrix_coeff_msr_t {
236 } cs_matrix_coeff_msr_t;
241 struct _cs_matrix_structure_t {
265 struct _cs_matrix_t {
290 const void *structure;
317 cs_matrix_set_coeffs_t *set_coefficients;
318 cs_matrix_release_coeffs_t *release_coefficients;
319 cs_matrix_copy_diagonal_t *copy_diagonal;
331 struct _cs_matrix_variant_t {
344 double matrix_create_cost;
370 cs_matrix_coeff_csr_t *
431 #if defined (HAVE_MKL)
443 cs_matrix_vec_p_l_csr_mkl(
bool exclude_diag,
469 cs_matrix_coeff_msr_t *
498 #if defined (HAVE_MKL)
510 cs_matrix_vec_p_l_msr_mkl(
bool exclude_diag,
void cs_matrix_destroy_struct_csr(cs_matrix_struct_csr_t **matrix)
Definition: cs_matrix.h:80
void cs_matrix_vec_p_l_msr(bool exclude_diag, const cs_matrix_t *matrix, const cs_real_t *restrict x, cs_real_t *restrict y)
#define restrict
Definition: cs_defs.h:127
#define END_C_DECLS
Definition: cs_defs.h:468
double cs_real_t
Floating-point value.
Definition: cs_defs.h:302
#define BEGIN_C_DECLS
Definition: cs_defs.h:467
struct _cs_matrix_t cs_matrix_t
Definition: cs_matrix.h:90
cs_matrix_coeff_csr_t * cs_matrix_create_coeff_csr(void)
Definition: cs_numbering.h:83
void const int const int const int const cs_real_t const int const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t cs_real_t da[]
Definition: cs_matrix_building.h:65
void const cs_lnum_t *const const cs_real_t *const const cs_real_t *const const cs_real_t *const const cs_real_t *const y
Definition: cs_wall_functions.h:1147
void cs_matrix_copy_diagonal_csr(const cs_matrix_t *matrix, cs_real_t *restrict da)
int cs_lnum_t
local mesh entity id
Definition: cs_defs.h:298
struct _cs_matrix_assembler_t cs_matrix_assembler_t
Definition: cs_matrix_assembler.h:61
cs_matrix_coeff_msr_t * cs_matrix_create_coeff_msr(void)
int cs_lnum_2_t[2]
vector of 2 local mesh-entity ids
Definition: cs_defs.h:308
cs_matrix_fill_type_t
Definition: cs_matrix.h:67
cs_matrix_type_t
Definition: cs_matrix.h:55
void cs_matrix_release_coeffs_msr(cs_matrix_t *matrix)
void cs_matrix_release_coeffs_csr(cs_matrix_t *matrix)
void cs_matrix_destroy_coeff_csr(cs_matrix_coeff_csr_t **coeff)
void cs_matrix_vec_p_l_csr(bool exclude_diag, const cs_matrix_t *matrix, const cs_real_t *restrict x, cs_real_t *restrict y)
void const cs_int_t * type
Definition: cs_measures_util.h:425
void const int const int const int const cs_real_t const int const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t const cs_real_t cs_real_t cs_real_t xa[]
Definition: cs_matrix_building.h:65
void cs_matrix_copy_diagonal_separate(const cs_matrix_t *matrix, cs_real_t *restrict da)