fei::MatrixTraits< fei::LinearProblemManager > Struct Template Reference

#include <fei_MatrixTraits_LinProbMgr.hpp>

List of all members.

Static Public Member Functions

static const char * typeName ()
static int setValues (fei::LinearProblemManager *mat, double scalar)
static int getNumLocalRows (fei::LinearProblemManager *mat, int &numRows)
static int getRowLength (fei::LinearProblemManager *mat, int row, int &length)
static int copyOutRow (fei::LinearProblemManager *mat, int row, int len, double *coefs, int *indices)
static int putValuesIn (fei::LinearProblemManager *mat, int numRows, const int *rows, int numCols, const int *cols, const double *const *values, bool sum_into)
static int globalAssemble (fei::LinearProblemManager *mat)
static int matvec (fei::LinearProblemManager *mat, fei::Vector *x, fei::Vector *y)


Detailed Description

template<>
struct fei::MatrixTraits< fei::LinearProblemManager >

Specialization for LinearProblemManager.

Definition at line 22 of file fei_MatrixTraits_LinProbMgr.hpp.


Member Function Documentation

static const char* fei::MatrixTraits< fei::LinearProblemManager >::typeName (  )  [inline, static]

Return a string type-name for the underlying matrix

Definition at line 25 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::setValues ( fei::LinearProblemManager mat,
double  scalar 
) [inline, static]

Set a specified scalar value throughout the matrix.

Definition at line 30 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::getNumLocalRows ( fei::LinearProblemManager mat,
int &  numRows 
) [inline, static]

Query the number of rows. This is expected to be the number of rows on the local processor.

Definition at line 39 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::getRowLength ( fei::LinearProblemManager mat,
int  row,
int &  length 
) [inline, static]

Given a global (zero-based) row number, query the length of that row.

Definition at line 47 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::copyOutRow ( fei::LinearProblemManager mat,
int  row,
int  len,
double *  coefs,
int *  indices 
) [inline, static]

Given a global (zero-based) row number, pass out a copy of the contents of that row.

Parameters:
mat 
row 
len Length of the user-allocated arrays coefs and indices.
coefs User-allocated array which will hold matrix coefficients on output.
indices User-allocated array which will hold column-indices on output.
Returns:
error-code 0 if successful. Non-zero return-value may indicate that the specified row is not locally owned.

Definition at line 66 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::putValuesIn ( fei::LinearProblemManager mat,
int  numRows,
const int *  rows,
int  numCols,
const int *  cols,
const double *const *  values,
bool  sum_into 
) [inline, static]

Sum a C-style table of coefficient data into the underlying matrix.

Definition at line 74 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::globalAssemble ( fei::LinearProblemManager mat  )  [inline, static]

Perform any necessary internal communications/synchronizations or other operations appropriate at end of data input.

Definition at line 88 of file fei_MatrixTraits_LinProbMgr.hpp.

static int fei::MatrixTraits< fei::LinearProblemManager >::matvec ( fei::LinearProblemManager mat,
fei::Vector x,
fei::Vector y 
) [inline, static]

Compute the matrix-vector product y = A*x

Definition at line 94 of file fei_MatrixTraits_LinProbMgr.hpp.


The documentation for this struct was generated from the following file:
Generated on Wed May 12 01:33:54 2010 for FEI by  doxygen 1.4.7