Main Page   Class Hierarchy   Compound List   File List   Compound Members   Related Pages  

SCMatrixBlock Class Reference

SCMatrixBlock is the base clase for all types of blocks that comprise matrices and vectors. More...

#include <block.h>

Inheritance diagram for SCMatrixBlock

Inheritance graph
[legend]
Collaboration diagram for SCMatrixBlock:

Collaboration graph
[legend]
List of all members.

Public Methods

 SCMatrixBlock ()
 SCMatrixBlock (StateIn &s)
virtual ~SCMatrixBlock ()
void save_data_state (StateOut &s)
 Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them. More...

virtual SCMatrixBlock* deepcopy () const
 Return of copy of this. More...

virtual double* dat ()
 Return a pointer to the block's data and the number of elements in the block. More...

virtual int ndat () const
virtual void process (SCElementOp *)=0
virtual void process (SCElementOp2 *, SCMatrixBlock *)=0
virtual void process (SCElementOp3 *, SCMatrixBlock *, SCMatrixBlock *)=0

Public Attributes

int blocki
int blockj

Detailed Description

SCMatrixBlock is the base clase for all types of blocks that comprise matrices and vectors.


Member Function Documentation

double * SCMatrixBlock::dat ( ) [virtual]
 

Return a pointer to the block's data and the number of elements in the block.

Some blocks cannot provide this information and a runtime error will be generated if these members are called. These routines are only used internally in the matrix library.

Reimplemented in SCVectorSimpleBlock, SCMatrixRectBlock, SCMatrixLTriBlock, and SCMatrixDiagBlock.

SCMatrixBlock * SCMatrixBlock::deepcopy ( ) const [virtual]
 

Return of copy of this.

A runtime error will be generated for blocks that cannot do a deepcopy. These routines are only used internally in the matrix library.

Reimplemented in SCVectorSimpleBlock, SCMatrixRectBlock, SCMatrixLTriBlock, and SCMatrixDiagBlock.

void SCMatrixBlock::save_data_state ( StateOut & s ) [virtual]
 

Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR initializes them.

This must be implemented by the derived class if the class has data.

Reimplemented from SavableState.

Reimplemented in SCVectorSimpleBlock, SCVectorSimpleSubBlock, SCMatrixRectBlock, SCMatrixRectSubBlock, SCMatrixLTriBlock, SCMatrixLTriSubBlock, SCMatrixDiagBlock, and SCMatrixDiagSubBlock.


The documentation for this class was generated from the following file:
Generated at Thu Oct 4 18:09:48 2001 for MPQC 2.0.0 using the documentation package Doxygen 1.2.5.