1 2 /* @cond INNERDOC */ 3 /** 4 * @file 5 * @brief 6 * Auxiliary functions. 7 */ 8 9 /* 10 11 Copyright (C) 2008-2019 Michele Martone 12 13 This file is part of librsb. 14 15 librsb is free software; you can redistribute it and/or modify it 16 under the terms of the GNU Lesser General Public License as published 17 by the Free Software Foundation; either version 3 of the License, or 18 (at your option) any later version. 19 20 librsb is distributed in the hope that it will be useful, but WITHOUT 21 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 22 FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 23 License for more details. 24 25 You should have received a copy of the GNU Lesser General Public 26 License along with librsb; see the file COPYING. 27 If not, see <http://www.gnu.org/licenses/>. 28 29 */ 30 /* 31 The code in this file was generated automatically by an M4 script. 32 It is not meant to be used as an API (Application Programming Interface). 33 p.s.: right now, only row major matrix access is considered. 34 35 */ 36 37 38 #ifndef RSB_PREC_H_INCLUDED 39 #define RSB_PREC_H_INCLUDED 40 41 #ifdef __cplusplus 42 extern "C" { 43 #endif /* __cplusplus */ 44 45 #define RSB_WANT_OMP 1 46 #define RSB_MAX_OMP_THREADS 4 47 48 49 #include "rsb_common.h" 50 rsb_err_t rsb_do_csr_ilu0_DOUBLE(struct rsb_coo_matrix_t * coop); 51 rsb_err_t rsb_do_csr_ilu0_FLOAT(struct rsb_coo_matrix_t * coop); 52 rsb_err_t rsb_do_csr_ilu0_FLOAT_COMPLEX(struct rsb_coo_matrix_t * coop); 53 rsb_err_t rsb_do_csr_ilu0_DOUBLE_COMPLEX(struct rsb_coo_matrix_t * coop); 54 55 rsb_err_t rsb__prec_ilu0(struct rsb_mtx_t * mtxAp); 56 57 rsb_err_t rsb__prec_csr_ilu0(struct rsb_coo_matrix_t * coop); 58 59 #ifdef __cplusplus 60 } 61 #endif /* __cplusplus */ 62 63 #endif /* RSB_PREC_H_INCLUDED */ 64 65 66 /* @endcond */ 67