GEOSX
HypreSuperLU_Dist.hpp
Go to the documentation of this file.
1 /*
2  * ------------------------------------------------------------------------------------------------------------
3  * SPDX-License-Identifier: LGPL-2.1-only
4  *
5  * Copyright (c) 2018-2020 Lawrence Livermore National Security LLC
6  * Copyright (c) 2018-2020 The Board of Trustees of the Leland Stanford Junior University
7  * Copyright (c) 2018-2020 Total, S.A
8  * Copyright (c) 2019- GEOSX Contributors
9  * All rights reserved
10  *
11  * See top level LICENSE, COPYRIGHT, CONTRIBUTORS, NOTICE, and ACKNOWLEDGEMENTS files for details.
12  * ------------------------------------------------------------------------------------------------------------
13  */
14 
19 #ifndef GEOSX_LINEARALGEBRA_INTERFACES_HYPRESUPERLU_DIST_HPP_
20 #define GEOSX_LINEARALGEBRA_INTERFACES_HYPRESUPERLU_DIST_HPP_
21 
22 #include "common/DataTypes.hpp"
25 
26 #include <seq_mv.h>
27 
28 namespace geosx
29 {
30 
36 void HypreConvertToSuperMatrix( HypreMatrix const & matrix,
37  SuperLU_Dist & SLUDData );
38 
45 real64 HypreSuperLU_DistCond( HypreMatrix const & matrix, SuperLU_Dist & SLUDData );
46 
47 }
48 
49 #endif /*GEOSX_LINEARALGEBRA_INTERFACES_HYPRESUPERLU_DIST_HPP_*/
void HypreConvertToSuperMatrix(HypreMatrix const &matrix, SuperLU_Dist &SLUDData)
Converts a matrix from Hypre to SuperLU_Dist format.
double real64
64-bit floating point type.
Definition: DataTypes.hpp:136
real64 HypreSuperLU_DistCond(HypreMatrix const &matrix, SuperLU_Dist &SLUDData)
Computes an accurate condition number (time consuming function!!!)