AbstractLinAlgPack::MatrixConvertToSparseEncap Class Reference

Sparse conversion subclass based on views of a MatrixExtractSparseElements object. More...

#include <AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixConvertToSparseEncap:

Inheritance graph
[legend]
List of all members.

Public types

typedef Teuchos::RCP< const
MatrixExtractSparseElements
mese_ptr_t
 
typedef Teuchos::RCP< const
IVector > 
i_vector_ptr_t
 

Constructors/initializers

 MatrixConvertToSparseEncap ()
 Construct to uninitialized.
 MatrixConvertToSparseEncap (const mese_ptr_t &mese, const i_vector_ptr_t &inv_row_perm, const Range1D &row_rng, const i_vector_ptr_t &inv_col_perm, const Range1D &col_rng, const BLAS_Cpp::Transp mese_trans, const value_type alpha=1.0)
 Calls this->initialize().
void initialize (const mese_ptr_t &mese, const i_vector_ptr_t &inv_row_perm, const Range1D &row_rng, const i_vector_ptr_t &inv_col_perm, const Range1D &col_rng, const BLAS_Cpp::Transp mese_trans, const value_type alpha=1.0)
 Initialize a permuted view of a sparse matrix.
void set_uninitialized ()
 Set uninitialized.

Access

const mese_ptr_tmese () const
 
const i_vector_ptr_tinv_row_perm () const
 
const Range1Drow_rng () const
 
const i_vector_ptr_tinv_col_perm () const
 
const Range1Dcol_rng () const
 
const BLAS_Cpp::Transp mese_trans () const
 
const value_type alpha () const
 

Overridden from MatrixBase

const VectorSpacespace_cols () const
 
const VectorSpacespace_rows () const
 
size_type rows () const
 
size_type cols () const
 
size_type nz () const
 

Overridden from MatrixConvertToSparse

index_type num_nonzeros (EExtractRegion extract_region, EElementUniqueness element_uniqueness) const
 
void coor_extract_nonzeros (EExtractRegion extract_region, EElementUniqueness element_uniqueness, const index_type len_Aval, value_type Aval[], const index_type len_Aij, index_type Arow[], index_type Acol[], const index_type row_offset, const index_type col_offset) const
 

Private Types

typedef Teuchos::RCP< const
VectorSpace
space_ptr_t

Private Attributes

const MatrixExtractSparseElementsmese
const DenseLinAlgPack::IVectorinv_row_perm
Range1D row_rng
const DenseLinAlgPack::IVectorinv_col_perm
Range1D col_rng

Detailed Description

Sparse conversion subclass based on views of a MatrixExtractSparseElements object.

ToDo:Finish documentation!

Definition at line 41 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.


Member Typedef Documentation

typedef Teuchos::RCP<const MatrixExtractSparseElements> AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_ptr_t

Definition at line 50 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

typedef Teuchos::RCP<const IVector> AbstractLinAlgPack::MatrixConvertToSparseEncap::i_vector_ptr_t

Definition at line 52 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

typedef Teuchos::RCP<const VectorSpace> AbstractLinAlgPack::MatrixConvertToSparseEncap::space_ptr_t [private]

Definition at line 161 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap (  ) 

Construct to uninitialized.

Definition at line 41 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap ( const mese_ptr_t mese,
const i_vector_ptr_t inv_row_perm,
const Range1D row_rng,
const i_vector_ptr_t inv_col_perm,
const Range1D col_rng,
const BLAS_Cpp::Transp  mese_trans,
const value_type  alpha = 1.0 
)

Calls this->initialize().

Definition at line 49 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.


Member Function Documentation

void AbstractLinAlgPack::MatrixConvertToSparseEncap::initialize ( const mese_ptr_t mese,
const i_vector_ptr_t inv_row_perm,
const Range1D row_rng,
const i_vector_ptr_t inv_col_perm,
const Range1D col_rng,
const BLAS_Cpp::Transp  mese_trans,
const value_type  alpha = 1.0 
)

Initialize a permuted view of a sparse matrix.

A = alpha * op( (P'*B*Q)(row_rng,col_rng) )

ToDo: Finish documentation!

Definition at line 62 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::set_uninitialized (  ) 

Set uninitialized.

ToDo: Finish documentation!

Definition at line 99 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

const mese_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::mese (  )  const

const i_vector_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_row_perm (  )  const

const Range1D& AbstractLinAlgPack::MatrixConvertToSparseEncap::row_rng (  )  const

const i_vector_ptr_t& AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_col_perm (  )  const

const Range1D& AbstractLinAlgPack::MatrixConvertToSparseEncap::col_rng (  )  const

const BLAS_Cpp::Transp AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_trans (  )  const [inline]

Definition at line 224 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const value_type AbstractLinAlgPack::MatrixConvertToSparseEncap::alpha (  )  const [inline]

Definition at line 230 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_cols (  )  const [virtual]

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 114 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_rows (  )  const [virtual]

Implements AbstractLinAlgPack::MatrixBase.

Definition at line 119 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::rows (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 124 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::cols (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 129 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::nz (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::MatrixBase.

Definition at line 134 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

index_type AbstractLinAlgPack::MatrixConvertToSparseEncap::num_nonzeros ( EExtractRegion  extract_region,
EElementUniqueness  element_uniqueness 
) const

Definition at line 141 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::coor_extract_nonzeros ( EExtractRegion  extract_region,
EElementUniqueness  element_uniqueness,
const index_type  len_Aval,
value_type  Aval[],
const index_type  len_Aij,
index_type  Arow[],
index_type  Acol[],
const index_type  row_offset,
const index_type  col_offset 
) const

Definition at line 185 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.


Member Data Documentation

const MatrixConvertToSparseEncap::mese_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::mese [inline, private]

Definition at line 164 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const MatrixConvertToSparseEncap::i_vector_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_row_perm [inline, private]

Definition at line 165 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const Range1D & AbstractLinAlgPack::MatrixConvertToSparseEncap::row_rng [inline, private]

Definition at line 166 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const MatrixConvertToSparseEncap::i_vector_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_col_perm [inline, private]

Definition at line 167 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

const Range1D & AbstractLinAlgPack::MatrixConvertToSparseEncap::col_rng [inline, private]

Definition at line 168 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.


The documentation for this class was generated from the following files:
Generated on Tue Jul 13 09:35:39 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7