Hex: LUft_LAPACK Class Reference

| Hex 2.2 Hydrogen-electron collision solver

Public Member Functions
LUft_LAPACK Class Reference

LU factorization using LAPACK. More...

`#include <lu-lapack.h>`

Inheritance diagram for LUft_LAPACK:
[legend]
Collaboration diagram for LUft_LAPACK:
[legend]

## Public Member Functions

| factorizerRunTimeSelectionDefinitions (LUft_LAPACK, "lapack") LUft_LAPACK()
| Default constructor. More...
virtual | ~LUft_LAPACK ()
| Destructor. More...
LUft_LAPACK const & | operator= (LUft_LAPACK const &)=delete
virtual void | factorize (CsrMatrix< LU_int_t, Complex > const &matrix, LUftData data)
| Factorize. More...
virtual bool | valid () const
| Validity indicator. More...
virtual std::size_t | size () const
| Return LU byte size. More...
virtual void | solve (const cArrayView b, cArrayView x, int eqs) const
| Solve equations. More...
virtual void | save (std::string name) const
| Save to disk. More...
virtual void | load (std::string name, bool throw_on_io_failure=true)
| Load from disk. More...
virtual void | drop ()
| Release memory. More...
Public Member Functions inherited from LUft
| baseClassRunTimeSelectionDefinitions (LUft,()) LUft()
| Default constructor. More...
virtual | ~LUft ()
| Destructor. More...
virtual Real | cond () const
| Estimation of the condition number. More...
virtual cArray | solve (const cArrayView b, int eqs=1) const
| Solve equations. More...
virtual void | link (std::string name)
| Link to a disk file. More...
virtual void | unlink ()
| Unlink disk file. More...
virtual std::string | filename () const
| Name of the linked disk file. More...
virtual void | save () const
virtual void | load ()
virtual void | silent_load ()

## Detailed Description

This makes sense only for very small matrices.

## Constructor & Destructor Documentation

## ◆ ~LUft_LAPACK()

LUft_LAPACK::~LUft_LAPACK | ( |  | ) |

virtual

## Member Function Documentation

## ◆ drop()

void LUft_LAPACK::drop | ( |  | ) |

virtual

Reimplemented from LUft.

## ◆ factorize()

void LUft_LAPACK::factorize | ( | CsrMatrix< LU_int_t, Complex > const & | matrix,
|  | LUftData | data
| ) |  |

virtual

Implements LUft.

## ◆ factorizerRunTimeSelectionDefinitions()

LUft_LAPACK::factorizerRunTimeSelectionDefinitions | ( | LUft_LAPACK | ,
|  | "lapack" |
| ) |  |

## ◆ load()

void LUft_LAPACK::load | ( | std::string | name,
|  | bool | throw_on_io_failure = `true`
| ) |  |

virtual

Implements LUft.

## ◆ operator=()

LUft_LAPACK const& LUft_LAPACK::operator= | ( | LUft_LAPACK const & |  | ) |

delete

## ◆ save()

void LUft_LAPACK::save | ( | std::string | name | ) | const

virtual

Implements LUft.

## ◆ size()

std::size_t LUft_LAPACK::size | ( |  | ) | const

virtual

Reimplemented from LUft.

## ◆ solve()

void LUft_LAPACK::solve | ( | const cArrayView | b,
|  | cArrayView | x,
|  | int | eqs
| ) |  | const

virtual

Implements LUft.

## ◆ valid()

virtual bool LUft_LAPACK::valid | ( |  | ) | const

inlinevirtual

Reimplemented from LUft.

The documentation for this class was generated from the following files:

- src/factorizers/lu-lapack.h
- src/factorizers/lu-lapack.cpp