LAMA
SCALAPACKHelper Struct Reference

#include <SCALAPACKHelper.hpp>

Static Public Member Functions

static void BLACS_Context (int *context)
static void GridInit (int *context, const char *kind, const int npRow, const int npCol)
static void GridInfo (const int Context, const int npRow, const int npCol, int *myRow, int *myCol)
static void GridExit (const int context)
static void BlacsFreeBuf (const int context)
static int DescInit (int *descA, int m, int n, int mb, int nb, int irscr, int icsrc, int ictxt, int lld)
static int numRoC (int n, int nb, int iproc, int nprocs)
static int ILCM (int m, int n)
 ILCM computes and returns the Least Common Multiple (LCM) of two positive integers M and N.

Member Function Documentation

void SCALAPACKHelper::BLACS_Context ( int *  context) [static]
void SCALAPACKHelper::BlacsFreeBuf ( const int  context) [static]
int SCALAPACKHelper::DescInit ( int *  descA,
int  m,
int  n,
int  mb,
int  nb,
int  irscr,
int  icsrc,
int  ictxt,
int  lld 
) [static]
void SCALAPACKHelper::GridExit ( const int  context) [static]
void SCALAPACKHelper::GridInfo ( const int  Context,
const int  npRow,
const int  npCol,
int *  myRow,
int *  myCol 
) [static]
void SCALAPACKHelper::GridInit ( int *  context,
const char *  kind,
const int  npRow,
const int  npCol 
) [static]
int SCALAPACKHelper::ILCM ( int  m,
int  n 
) [static]

ILCM computes and returns the Least Common Multiple (LCM) of two positive integers M and N.

In fact the routine computes the greatest common divisor (GCD) and use the fact that M*N = GCD*LCM.

int SCALAPACKHelper::numRoC ( int  n,
int  nb,
int  iproc,
int  nprocs 
) [static]

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