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.

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

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
 

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


Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap (  ) 

Construct to uninitialized.

Definition at line 37 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 45 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 58 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::set_uninitialized (  ) 

Set uninitialized.

ToDo: Finish documentation!

Definition at line 95 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

const BLAS_Cpp::Transp AbstractLinAlgPack::MatrixConvertToSparseEncap::mese_trans (  )  const [inline]
const value_type AbstractLinAlgPack::MatrixConvertToSparseEncap::alpha (  )  const [inline]
const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_cols (  )  const [virtual]
const VectorSpace & AbstractLinAlgPack::MatrixConvertToSparseEncap::space_rows (  )  const [virtual]
size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::rows (  )  const [virtual]
size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::cols (  )  const [virtual]
size_type AbstractLinAlgPack::MatrixConvertToSparseEncap::nz (  )  const [virtual]
index_type AbstractLinAlgPack::MatrixConvertToSparseEncap::num_nonzeros ( EExtractRegion  extract_region,
EElementUniqueness  element_uniqueness 
) const [virtual]
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 [virtual]

Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 10:17:30 2011 for MOOCHO (Single Doxygen Collection) by  doxygen 1.6.3