Base class for linear algebra interface.
More...
#include <linalg_base.hpp>
|
static ftn_int | ilaenv (ftn_int ispec, std::string const &name, std::string const &opts, ftn_int n1, ftn_int n2, ftn_int n3, ftn_int n4) |
|
static ftn_double | dlamch (char cmach) |
|
static ftn_int | numroc (ftn_int n, ftn_int nb, ftn_int iproc, ftn_int isrcproc, ftn_int nprocs) |
|
static int | create_blacs_handler (MPI_Comm comm) |
| Create BLACS handler. More...
|
|
static void | free_blacs_handler (int blacs_handler) |
| Free BLACS handler. More...
|
|
static void | gridmap (int *blacs_context, int *map, int ld, int nrow, int ncol) |
| Create BLACS context for the grid of MPI ranks. More...
|
|
static void | gridexit (int blacs_context) |
| Destroy BLACS context. More...
|
|
static void | gridinfo (int blacs_context, int *nrow, int *ncol, int *irow, int *icol) |
|
static void | descinit (ftn_int *desc, ftn_int m, ftn_int n, ftn_int mb, ftn_int nb, ftn_int irsrc, ftn_int icsrc, ftn_int ictxt, ftn_int lld) |
|
static int | pjlaenv (int32_t ictxt, int32_t ispec, const std::string &name, const std::string &opts, int32_t n1, int32_t n2, int32_t n3, int32_t n4) |
|
static int32_t | indxl2g (int32_t indxloc, int32_t nb, int32_t iproc, int32_t isrcproc, int32_t nprocs) |
|
static int32_t | iceil (int32_t inum, int32_t idenom) |
|
Base class for linear algebra interface.
Definition at line 230 of file linalg_base.hpp.
◆ ilaenv()
static ftn_int sirius::la::linalg_base::ilaenv |
( |
ftn_int |
ispec, |
|
|
std::string const & |
name, |
|
|
std::string const & |
opts, |
|
|
ftn_int |
n1, |
|
|
ftn_int |
n2, |
|
|
ftn_int |
n3, |
|
|
ftn_int |
n4 |
|
) |
| |
|
inlinestatic |
◆ dlamch()
static ftn_double sirius::la::linalg_base::dlamch |
( |
char |
cmach | ) |
|
|
inlinestatic |
◆ numroc()
static ftn_int sirius::la::linalg_base::numroc |
( |
ftn_int |
n, |
|
|
ftn_int |
nb, |
|
|
ftn_int |
iproc, |
|
|
ftn_int |
isrcproc, |
|
|
ftn_int |
nprocs |
|
) |
| |
|
inlinestatic |
◆ create_blacs_handler()
static int sirius::la::linalg_base::create_blacs_handler |
( |
MPI_Comm |
comm | ) |
|
|
inlinestatic |
◆ free_blacs_handler()
static void sirius::la::linalg_base::free_blacs_handler |
( |
int |
blacs_handler | ) |
|
|
inlinestatic |
◆ gridmap()
static void sirius::la::linalg_base::gridmap |
( |
int * |
blacs_context, |
|
|
int * |
map, |
|
|
int |
ld, |
|
|
int |
nrow, |
|
|
int |
ncol |
|
) |
| |
|
inlinestatic |
Create BLACS context for the grid of MPI ranks.
Definition at line 264 of file linalg_base.hpp.
◆ gridexit()
static void sirius::la::linalg_base::gridexit |
( |
int |
blacs_context | ) |
|
|
inlinestatic |
◆ gridinfo()
static void sirius::la::linalg_base::gridinfo |
( |
int |
blacs_context, |
|
|
int * |
nrow, |
|
|
int * |
ncol, |
|
|
int * |
irow, |
|
|
int * |
icol |
|
) |
| |
|
inlinestatic |
◆ descinit()
static void sirius::la::linalg_base::descinit |
( |
ftn_int * |
desc, |
|
|
ftn_int |
m, |
|
|
ftn_int |
n, |
|
|
ftn_int |
mb, |
|
|
ftn_int |
nb, |
|
|
ftn_int |
irsrc, |
|
|
ftn_int |
icsrc, |
|
|
ftn_int |
ictxt, |
|
|
ftn_int |
lld |
|
) |
| |
|
inlinestatic |
◆ pjlaenv()
static int sirius::la::linalg_base::pjlaenv |
( |
int32_t |
ictxt, |
|
|
int32_t |
ispec, |
|
|
const std::string & |
name, |
|
|
const std::string & |
opts, |
|
|
int32_t |
n1, |
|
|
int32_t |
n2, |
|
|
int32_t |
n3, |
|
|
int32_t |
n4 |
|
) |
| |
|
inlinestatic |
◆ indxl2g()
static int32_t sirius::la::linalg_base::indxl2g |
( |
int32_t |
indxloc, |
|
|
int32_t |
nb, |
|
|
int32_t |
iproc, |
|
|
int32_t |
isrcproc, |
|
|
int32_t |
nprocs |
|
) |
| |
|
inlinestatic |
◆ iceil()
static int32_t sirius::la::linalg_base::iceil |
( |
int32_t |
inum, |
|
|
int32_t |
idenom |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: