FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
fei_trilinos::AztecDVBR_Matrix Class Reference

#include <fei_AztecDVBR_Matrix.hpp>

Public Member Functions

 AztecDVBR_Matrix (fei::SharedPtr< Aztec_BlockMap > map)
 
 AztecDVBR_Matrix (const AztecDVBR_Matrix &src)
 
virtual ~AztecDVBR_Matrix ()
 
int getNumBlocksPerRow (int blkRow, int &nnzBlksPerRow) const
 
int getNumNonzerosPerRow (int blkRow, int &nnzPerRow) const
 
int getNumBlocksPerRow (int *nnzBlksPerRow) const
 
int getNumNonzerosPerRow (int *nnzPerRow) const
 
int getBlockSize (int blkRow, int blkCol, int &ptRows, int &ptCols)
 
void matvec (const Aztec_LSVector &x, Aztec_LSVector &y) const
 
void put (double s)
 
int getBlockRow (int blk_row, double *vals, int *blk_col_inds, int num_nz_blocks) const
 
int putBlockRow (int blk_row, double *vals, int *blk_col_inds, int num_nz_blocks) const
 
int sumIntoBlockRow (int blk_row, double *vals, int *blk_col_inds, int num_nz_blocks) const
 
void allocate (int *num_nz_blocks, int *blk_col_inds)
 
void loadComplete ()
 
bool isLoaded () const
 
void setLoaded (bool flag)
 
bool isAllocated () const
 
void setAllocated (bool flag)
 
AZ_MATRIX * getAZ_MATRIX_Ptr () const
 
bool readFromFile (const char *filename)
 
bool writeToFile (const char *fileName) const
 
int getNumRemoteBlocks ()
 
int * getRemoteBlockIndices ()
 
int * getRemoteBlockSizes ()
 
int * getUpdate_index ()
 
int * getData_org ()
 

Private Member Functions

int inUpdate (int globalIndex, int &localIndex) const
 
void readAllocateInfo (FILE *infile, int *&num_nz_blocks, int *&blk_col_inds)
 
void readMatrixData (FILE *infile)
 
void calcRpntr ()
 
void calcBpntr (int *nzBlksPerRow)
 
void setBindx (int nnzBlks, int *blkColInds)
 
void calcIndx (int nnzBlks)
 
int getBindxOffset (int blkInd, int bpntrStart, int bpntrEnd) const
 
void calcRemoteInds (int *&remoteInds, int &len)
 
void getRemoteBlkSizes (int *remoteBlkSizes, int *remoteInds, int len)
 
void insertList (int item, int *&list, int &len)
 
void getValuesFromString (char *line, int len, double *values, int lenValues)
 
void messageAbort (const char *mesg) const
 

Private Attributes

fei::SharedPtr< Aztec_BlockMapamap_
 
AZ_MATRIX * Amat_
 
int N_update_
 
int * external_
 
int * extern_index_
 
int * update_index_
 
int * data_org_
 
int * orderingUpdate_
 
bool isLoaded_
 
bool isAllocated_
 
int localNNZ_
 
int * nnzPerRow_
 
int numRemoteBlocks_
 
int * remoteInds_
 
int * remoteBlockSizes_
 

Detailed Description

Definition at line 58 of file fei_AztecDVBR_Matrix.hpp.

Constructor & Destructor Documentation

fei_trilinos::AztecDVBR_Matrix::AztecDVBR_Matrix ( fei::SharedPtr< Aztec_BlockMap map)
fei_trilinos::AztecDVBR_Matrix::AztecDVBR_Matrix ( const AztecDVBR_Matrix src)
virtual fei_trilinos::AztecDVBR_Matrix::~AztecDVBR_Matrix ( )
virtual

Member Function Documentation

int fei_trilinos::AztecDVBR_Matrix::getNumBlocksPerRow ( int  blkRow,
int &  nnzBlksPerRow 
) const
int fei_trilinos::AztecDVBR_Matrix::getNumNonzerosPerRow ( int  blkRow,
int &  nnzPerRow 
) const
int fei_trilinos::AztecDVBR_Matrix::getNumBlocksPerRow ( int *  nnzBlksPerRow) const
int fei_trilinos::AztecDVBR_Matrix::getNumNonzerosPerRow ( int *  nnzPerRow) const
int fei_trilinos::AztecDVBR_Matrix::getBlockSize ( int  blkRow,
int  blkCol,
int &  ptRows,
int &  ptCols 
)
void fei_trilinos::AztecDVBR_Matrix::matvec ( const Aztec_LSVector x,
Aztec_LSVector y 
) const
void fei_trilinos::AztecDVBR_Matrix::put ( double  s)
int fei_trilinos::AztecDVBR_Matrix::getBlockRow ( int  blk_row,
double *  vals,
int *  blk_col_inds,
int  num_nz_blocks 
) const
int fei_trilinos::AztecDVBR_Matrix::putBlockRow ( int  blk_row,
double *  vals,
int *  blk_col_inds,
int  num_nz_blocks 
) const
int fei_trilinos::AztecDVBR_Matrix::sumIntoBlockRow ( int  blk_row,
double *  vals,
int *  blk_col_inds,
int  num_nz_blocks 
) const
void fei_trilinos::AztecDVBR_Matrix::allocate ( int *  num_nz_blocks,
int *  blk_col_inds 
)
void fei_trilinos::AztecDVBR_Matrix::loadComplete ( )
bool fei_trilinos::AztecDVBR_Matrix::isLoaded ( ) const
inline

Definition at line 106 of file fei_AztecDVBR_Matrix.hpp.

References isLoaded_.

void fei_trilinos::AztecDVBR_Matrix::setLoaded ( bool  flag)
inline

Definition at line 107 of file fei_AztecDVBR_Matrix.hpp.

References isLoaded_.

bool fei_trilinos::AztecDVBR_Matrix::isAllocated ( ) const
inline

Definition at line 108 of file fei_AztecDVBR_Matrix.hpp.

References isAllocated_.

void fei_trilinos::AztecDVBR_Matrix::setAllocated ( bool  flag)
inline

Definition at line 109 of file fei_AztecDVBR_Matrix.hpp.

References isAllocated_.

AZ_MATRIX* fei_trilinos::AztecDVBR_Matrix::getAZ_MATRIX_Ptr ( ) const
inline

Definition at line 111 of file fei_AztecDVBR_Matrix.hpp.

References Amat_.

bool fei_trilinos::AztecDVBR_Matrix::readFromFile ( const char *  filename)
bool fei_trilinos::AztecDVBR_Matrix::writeToFile ( const char *  fileName) const
int fei_trilinos::AztecDVBR_Matrix::getNumRemoteBlocks ( )
inline

Definition at line 118 of file fei_AztecDVBR_Matrix.hpp.

References numRemoteBlocks_.

int* fei_trilinos::AztecDVBR_Matrix::getRemoteBlockIndices ( )
inline

Definition at line 119 of file fei_AztecDVBR_Matrix.hpp.

References remoteInds_.

int* fei_trilinos::AztecDVBR_Matrix::getRemoteBlockSizes ( )
inline

Definition at line 120 of file fei_AztecDVBR_Matrix.hpp.

References remoteBlockSizes_.

int* fei_trilinos::AztecDVBR_Matrix::getUpdate_index ( )
inline

Definition at line 122 of file fei_AztecDVBR_Matrix.hpp.

References update_index_.

int* fei_trilinos::AztecDVBR_Matrix::getData_org ( )
inline

Definition at line 123 of file fei_AztecDVBR_Matrix.hpp.

References data_org_.

int fei_trilinos::AztecDVBR_Matrix::inUpdate ( int  globalIndex,
int &  localIndex 
) const
private
void fei_trilinos::AztecDVBR_Matrix::readAllocateInfo ( FILE *  infile,
int *&  num_nz_blocks,
int *&  blk_col_inds 
)
private
void fei_trilinos::AztecDVBR_Matrix::readMatrixData ( FILE *  infile)
private
void fei_trilinos::AztecDVBR_Matrix::calcRpntr ( )
private
void fei_trilinos::AztecDVBR_Matrix::calcBpntr ( int *  nzBlksPerRow)
private
void fei_trilinos::AztecDVBR_Matrix::setBindx ( int  nnzBlks,
int *  blkColInds 
)
private
void fei_trilinos::AztecDVBR_Matrix::calcIndx ( int  nnzBlks)
private
int fei_trilinos::AztecDVBR_Matrix::getBindxOffset ( int  blkInd,
int  bpntrStart,
int  bpntrEnd 
) const
private
void fei_trilinos::AztecDVBR_Matrix::calcRemoteInds ( int *&  remoteInds,
int &  len 
)
private
void fei_trilinos::AztecDVBR_Matrix::getRemoteBlkSizes ( int *  remoteBlkSizes,
int *  remoteInds,
int  len 
)
private
void fei_trilinos::AztecDVBR_Matrix::insertList ( int  item,
int *&  list,
int &  len 
)
private
void fei_trilinos::AztecDVBR_Matrix::getValuesFromString ( char *  line,
int  len,
double *  values,
int  lenValues 
)
private
void fei_trilinos::AztecDVBR_Matrix::messageAbort ( const char *  mesg) const
private

Member Data Documentation

fei::SharedPtr<Aztec_BlockMap> fei_trilinos::AztecDVBR_Matrix::amap_
private

Definition at line 145 of file fei_AztecDVBR_Matrix.hpp.

AZ_MATRIX* fei_trilinos::AztecDVBR_Matrix::Amat_
private

Definition at line 147 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getAZ_MATRIX_Ptr().

int fei_trilinos::AztecDVBR_Matrix::N_update_
private

Definition at line 149 of file fei_AztecDVBR_Matrix.hpp.

int* fei_trilinos::AztecDVBR_Matrix::external_
private

Definition at line 150 of file fei_AztecDVBR_Matrix.hpp.

int* fei_trilinos::AztecDVBR_Matrix::extern_index_
private

Definition at line 151 of file fei_AztecDVBR_Matrix.hpp.

int* fei_trilinos::AztecDVBR_Matrix::update_index_
private

Definition at line 152 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getUpdate_index().

int* fei_trilinos::AztecDVBR_Matrix::data_org_
private

Definition at line 153 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getData_org().

int* fei_trilinos::AztecDVBR_Matrix::orderingUpdate_
private

Definition at line 154 of file fei_AztecDVBR_Matrix.hpp.

bool fei_trilinos::AztecDVBR_Matrix::isLoaded_
private

Definition at line 156 of file fei_AztecDVBR_Matrix.hpp.

Referenced by isLoaded(), and setLoaded().

bool fei_trilinos::AztecDVBR_Matrix::isAllocated_
private

Definition at line 157 of file fei_AztecDVBR_Matrix.hpp.

Referenced by isAllocated(), and setAllocated().

int fei_trilinos::AztecDVBR_Matrix::localNNZ_
private

Definition at line 159 of file fei_AztecDVBR_Matrix.hpp.

int* fei_trilinos::AztecDVBR_Matrix::nnzPerRow_
private

Definition at line 160 of file fei_AztecDVBR_Matrix.hpp.

int fei_trilinos::AztecDVBR_Matrix::numRemoteBlocks_
private

Definition at line 162 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getNumRemoteBlocks().

int* fei_trilinos::AztecDVBR_Matrix::remoteInds_
private

Definition at line 163 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getRemoteBlockIndices().

int* fei_trilinos::AztecDVBR_Matrix::remoteBlockSizes_
private

Definition at line 164 of file fei_AztecDVBR_Matrix.hpp.

Referenced by getRemoteBlockSizes().


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