Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ot::MatRecord Class Reference

A class to be used while setting values into a Matrix. More...

#include <matRecord.h>

List of all members.

Public Member Functions

MatRecordoperator= (MatRecord const &other)
constructors
 MatRecord (const MatRecord &other)
 MatRecord ()
Overloaded Operators
bool operator!= (MatRecord const &other) const
bool operator< (MatRecord const &other) const
bool operator<= (MatRecord const &other) const
bool operator== (MatRecord const &other) const
bool operator> (MatRecord const &other) const
bool operator>= (MatRecord const &other) const

Public Attributes

unsigned int colDim
unsigned int colIdx
unsigned int rowDim
unsigned int rowIdx
PetscScalar val


Detailed Description

A class to be used while setting values into a Matrix.

Author:
Rahul Sampath , rahul.sampath@gmail.com

Definition at line 13 of file matRecord.h.


Constructor & Destructor Documentation

ot::MatRecord::MatRecord  )  [inline]
 

The default constructor

Definition at line 36 of file matRecord.h.

ot::MatRecord::MatRecord const MatRecord other  )  [inline]
 

The copy constructor

Definition at line 44 of file matRecord.h.

References colDim, colIdx, rowDim, rowIdx, and val.


Member Function Documentation

bool ot::MatRecord::operator!= MatRecord const &  other  )  const [inline]
 

Definition at line 73 of file matRecord.h.

bool ot::MatRecord::operator< MatRecord const &  other  )  const [inline]
 

Definition at line 77 of file matRecord.h.

References colDim, colIdx, rowDim, rowIdx, and val.

bool ot::MatRecord::operator<= MatRecord const &  other  )  const [inline]
 

Definition at line 109 of file matRecord.h.

MatRecord& ot::MatRecord::operator= MatRecord const &  other  )  [inline]
 

The assignment operator

Definition at line 56 of file matRecord.h.

References colDim, colIdx, rowDim, rowIdx, and val.

bool ot::MatRecord::operator== MatRecord const &  other  )  const [inline]
 

Definition at line 68 of file matRecord.h.

References colDim, colIdx, rowDim, rowIdx, and val.

bool ot::MatRecord::operator> MatRecord const &  other  )  const [inline]
 

Definition at line 105 of file matRecord.h.

bool ot::MatRecord::operator>= MatRecord const &  other  )  const [inline]
 

Definition at line 113 of file matRecord.h.


Member Data Documentation

unsigned int ot::MatRecord::colDim
 

The degree of freedom (0-based) of the node corresponding to the column of the matrix.

Definition at line 25 of file matRecord.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), MatRecord(), operator<(), operator=(), and operator==().

unsigned int ot::MatRecord::colIdx
 

The local index of the node corresponding to the column of the matrix. This can be got using the function ot::DA::getNodeIndices().

Definition at line 19 of file matRecord.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), MatRecord(), operator<(), operator=(), and operator==().

unsigned int ot::MatRecord::rowDim
 

The degree of freedom (0-based) of the node corresponding to the row of the matrix.

Definition at line 22 of file matRecord.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), MatRecord(), operator<(), operator=(), and operator==().

unsigned int ot::MatRecord::rowIdx
 

The local index of the node corresponding to the row of the matrix. This can be got using the function ot::DA::getNodeIndices()

Definition at line 16 of file matRecord.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), MatRecord(), operator<(), operator=(), and operator==().

PetscScalar ot::MatRecord::val
 

The matrix entry.

Definition at line 28 of file matRecord.h.

Referenced by ComputeDirichletJacobian(), ComputeDirichletLaplacian(), CreateAndComputeFullActiveJacobian1(), CreateAndComputeFullJacobian1(), MatRecord(), operator<(), operator=(), and operator==().


The documentation for this class was generated from the following file:
Generated on Tue Mar 24 16:14:23 2009 for DENDRO by  doxygen 1.3.9.1