MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Private Types | Private Attributes | List of all members
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]

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. More...
 
 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(). More...
 
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. More...
 
void set_uninitialized ()
 Set uninitialized. More...
 

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
 

Additional Inherited Members

- Public Types inherited from AbstractLinAlgPack::MatrixConvertToSparse
enum  EExtractRegion { EXTRACT_FULL_MATRIX, EXTRACT_UPPER_TRIANGULAR, EXTRACT_LOWER_TRIANGULAR }
 
enum  EElementUniqueness { ELEMENTS_FORCE_UNIQUE, ELEMENTS_ALLOW_DUPLICATES_SUM }
 
- Public Member Functions inherited from AbstractLinAlgPack::MatrixBase
virtual ~MatrixBase ()
 Virtual destructor. More...
 

Detailed Description

Sparse conversion subclass based on views of a MatrixExtractSparseElements object.

ToDo:Finish documentation!

Definition at line 54 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.hpp.

Member Typedef Documentation

Constructor & Destructor Documentation

AbstractLinAlgPack::MatrixConvertToSparseEncap::MatrixConvertToSparseEncap ( )

Construct to uninitialized.

Definition at line 54 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 62 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 75 of file AbstractLinAlgPack_MatrixConvertToSparseEncap.cpp.

void AbstractLinAlgPack::MatrixConvertToSparseEncap::set_uninitialized ( )

Set uninitialized.

ToDo: Finish documentation!

Definition at line 112 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
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

const MatrixConvertToSparseEncap::mese_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::mese
inlineprivate
const MatrixConvertToSparseEncap::i_vector_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_row_perm
inlineprivate
const Range1D & AbstractLinAlgPack::MatrixConvertToSparseEncap::row_rng
inlineprivate
const MatrixConvertToSparseEncap::i_vector_ptr_t & AbstractLinAlgPack::MatrixConvertToSparseEncap::inv_col_perm
inlineprivate
const Range1D & AbstractLinAlgPack::MatrixConvertToSparseEncap::col_rng
inlineprivate

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