SIRIUS 7.5.0
Electronic structure library and applications
Static Public Member Functions | List of all members
sirius::la::linalg_base Class Reference

Base class for linear algebra interface. More...

#include <linalg_base.hpp>

Static Public Member Functions

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)
 

Detailed Description

Base class for linear algebra interface.

Definition at line 230 of file linalg_base.hpp.

Member Function Documentation

◆ 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

Definition at line 233 of file linalg_base.hpp.

◆ dlamch()

static ftn_double sirius::la::linalg_base::dlamch ( char  cmach)
inlinestatic

Definition at line 240 of file linalg_base.hpp.

◆ 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

Definition at line 246 of file linalg_base.hpp.

◆ create_blacs_handler()

static int sirius::la::linalg_base::create_blacs_handler ( MPI_Comm  comm)
inlinestatic

Create BLACS handler.

Definition at line 252 of file linalg_base.hpp.

◆ free_blacs_handler()

static void sirius::la::linalg_base::free_blacs_handler ( int  blacs_handler)
inlinestatic

Free BLACS handler.

Definition at line 258 of file linalg_base.hpp.

◆ 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

Destroy BLACS context.

Definition at line 270 of file linalg_base.hpp.

◆ gridinfo()

static void sirius::la::linalg_base::gridinfo ( int  blacs_context,
int *  nrow,
int *  ncol,
int *  irow,
int *  icol 
)
inlinestatic

Definition at line 275 of file linalg_base.hpp.

◆ 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

Definition at line 280 of file linalg_base.hpp.

◆ 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

Definition at line 295 of file linalg_base.hpp.

◆ 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

Definition at line 302 of file linalg_base.hpp.

◆ iceil()

static int32_t sirius::la::linalg_base::iceil ( int32_t  inum,
int32_t  idenom 
)
inlinestatic

Definition at line 307 of file linalg_base.hpp.


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