solver_superlu.h 649 Bytes
Newer Older
Kirill Terekhov's avatar
Kirill Terekhov committed
1 2 3 4 5 6
#ifndef _SOLVER_SUPERLU
#define _SOLVER_SUPERLU

//IF CERTAIN FUNCTIONALITY IS NOT AVAILABLE, PLEASE THROW INMOST::NotImplemented EXCEPTION

void SolverInitializeSuperLU(int * argc,char *** argv, const char * file_options);
7 8 9
void MatrixFillSuperLU(void * data, int size, int nnz, int * col_ranges, int * col_positions, double * col_values,int * remap);
int * MatrixRemapArraySuperLU(void * data);
int MatrixSizeSuperLU(void * data);
Kirill Terekhov's avatar
Kirill Terekhov committed
10 11
void SolverDestroyDataSuperLU(void ** data);
void SolverInitDataSuperLU(void ** data);
12
bool SolverSolveSuperLU(void * data, void * rhs_in_sol_out_data);
Kirill Terekhov's avatar
Kirill Terekhov committed
13 14 15
const char * SolverConvergedReasonSuperLU(void * data);

#endif