Amesos2 - Direct Sparse Solver Interfaces Version of the Day
Amesos2_KLU2_TypeMap.hpp File Reference

Provides definition of KLU2 types as well as conversions and type traits. More...

#include <functional>
#include <Teuchos_as.hpp>
#include "Amesos2_TypeMap.hpp"
#include "klu2_ext.hpp"
Include dependency graph for Amesos2_KLU2_TypeMap.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define _TKLU_H
#define KLU_OK   0
#define KLU_SINGULAR   (1) /* status > 0 is a warning, not an error */
#define KLU_OUT_OF_MEMORY   (-2)
#define KLU_INVALID   (-3)
#define KLU_TOO_LARGE   (-4) /* integer overflow has occured */
#define KLU_DATE   "Mar 24, 2009"
#define KLU_VERSION_CODE(main, sub)
#define KLU_MAIN_VERSION   1
#define KLU_SUB_VERSION   1
#define KLU_SUBSUB_VERSION   0
#define KLU_VERSION   KLU_VERSION_CODE(KLU_MAIN_VERSION,KLU_SUB_VERSION)

Functions

template<typename Entry, typename Int>
Int KLU2::klu_defaults (klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
klu_symbolic< Entry, Int > * KLU2::klu_analyze (Int n, Int Ap[], Int Ai[], klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
klu_symbolic< Entry, Int > * KLU2::klu_analyze_given (Int n, Int Ap[], Int Ai[], Int P[], Int Q[], klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
klu_numeric< Entry, Int > * KLU2::klu_factor (Int Ap[], Int Ai[], Entry Ax[], klu_symbolic< Entry, Int > *Symbolic, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_solve (klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, Int ldim, Int nrhs, Entry B[], klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_tsolve (klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, Int ldim, Int nrhs, Entry B[], klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_refactor (Int Ap[], Int Ai[], Entry Ax[], klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_free_symbolic (klu_symbolic< Entry, Int > **Symbolic, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_free_numeric (klu_numeric< Entry, Int > **Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_sort (klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_flops (klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_rgrowth (Int Ap[], Int Ai[], Entry Ax[], klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_condest (Int Ap[], Entry Ax[], klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_rcond (klu_symbolic< Entry, Int > *Symbolic, klu_numeric< Entry, Int > *Numeric, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_scale (Int scale, Int n, Int Ap[], Int Ai[], Entry Ax[], double Rs[], Int W[], klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
Int KLU2::klu_extract (klu_numeric< Entry, Int > *Numeric, klu_symbolic< Entry, Int > *Symbolic, Int *Lp, Int *Li, Entry *Lx, Int *Up, Int *Ui, Entry *Ux, Int *Fp, Int *Fi, Entry *Fx, Int *P, Int *Q, Entry *Rs, Int *R, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
void * KLU2::klu_malloc (size_t n, size_t size, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
void * KLU2::klu_free (void *p, size_t n, size_t size, klu_common< Entry, Int > *Common)
template<typename Entry, typename Int>
void * KLU2::klu_realloc (size_t nnew, size_t nold, size_t size, void *p, klu_common< Entry, Int > *Common)

Detailed Description

Provides definition of KLU2 types as well as conversions and type traits.

Author
Siva Rajamanickam sraja.nosp@m.ma@s.nosp@m.andia.nosp@m..gov

Macro Definition Documentation

◆ KLU_VERSION_CODE

#define KLU_VERSION_CODE ( main,
sub )
Value:
((main) * 1000 + (sub))