AbstractLinAlgPack::BasisSystemPermDirectSparse Class Reference

Permutatble basis system subclass that uses a direct sparse solver. More...

#include <AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp>

Inheritance diagram for AbstractLinAlgPack::BasisSystemPermDirectSparse:

Inheritance graph
[legend]
List of all members.

Public types

typedef Teuchos::RCP< DirectSparseSolverdirect_solver_ptr_t
 

Constructors / initializers

 BasisSystemPermDirectSparse (const direct_solver_ptr_t &direct_solver=Teuchos::null)
 Calls this->initialize().
void initialize (const direct_solver_ptr_t &direct_solver)
 Initialize given a direct sparse solver object.

Overridden from BasisSystem

const mat_nonsing_fcty_ptr_t factory_C () const
 
const mat_fcty_ptr_t factory_D () const
 
const mat_fcty_ptr_t factory_GcUP () const
 
Range1D var_dep () const
 
Range1D var_indep () const
 
Range1D equ_decomp () const
 
Range1D equ_undecomp () const
 
void update_basis (const MatrixOp &Gc, MatrixOpNonsing *C, MatrixOp *D, MatrixOp *GcUP, EMatRelations mat_rel, std::ostream *out) const
 

Overridded from BasisSystemPerm

const perm_fcty_ptr_t factory_P_var () const
 
const perm_fcty_ptr_t factory_P_equ () const
 
const perm_fcty_ptr_t factory_P_inequ () const
 
void set_basis (const Permutation &P_var, const Range1D &var_dep, const Permutation *P_equ, const Range1D *equ_decomp, const MatrixOp &Gc, MatrixOpNonsing *C, MatrixOp *D, MatrixOp *GcUP, EMatRelations mat_rel, std::ostream *out)
 
void select_basis (const Vector *nu, MatrixOp *Gc, Permutation *P_var, Range1D *var_dep, Permutation *P_equ, Range1D *equ_decomp, MatrixOpNonsing *C, MatrixOp *D, MatrixOp *GcUP, EMatRelations mat_rel, std::ostream *out)
 

Private Member Functions

Teuchos::RCP< DirectSparseSolver::BasisMatrixget_basis_matrix (MatrixOpNonsingAggr &C_aggr) const
 
void set_A_mctse (size_type n, size_type m, const MatrixPermAggr &Gc_pa, MatrixConvertToSparseEncap *A_mctse) const
 
void update_basis_and_auxiliary_matrices (const MatrixOp &Gc, const Teuchos::RCP< DirectSparseSolver::BasisMatrix > &C_bm, MatrixOpNonsingAggr *C_aggr, MatrixOp *D, MatrixOp *GcUP) const
 
void do_some_basis_stuff (const MatrixOp &Gc, const Range1D &var_dep, const Range1D &equ_decomp, const Teuchos::RCP< DirectSparseSolver::BasisMatrix > &C_bm, MatrixOpNonsingAggr *C_aggr, MatrixOp *D, MatrixOp *GcUP)
 

Private Attributes

direct_solver_ptr_t direct_solver_
size_type n_
size_type m_
size_type r_
size_type Gc_nz_
Range1D init_var_rng_
IVector init_var_inv_perm_
Range1D init_equ_rng_
IVector init_equ_inv_perm_
Range1D var_dep_
Range1D var_indep_
Range1D equ_decomp_
Range1D equ_undecomp_

Detailed Description

Permutatble basis system subclass that uses a direct sparse solver.

This current implementation only allows undecomposed general inequality constraints.

ToDo: Finish documentation!

Definition at line 45 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.


Member Typedef Documentation

typedef Teuchos::RCP<DirectSparseSolver> AbstractLinAlgPack::BasisSystemPermDirectSparse::direct_solver_ptr_t

Definition at line 54 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.


Constructor & Destructor Documentation

AbstractLinAlgPack::BasisSystemPermDirectSparse::BasisSystemPermDirectSparse ( const direct_solver_ptr_t direct_solver = Teuchos::null  ) 

Calls this->initialize().

Definition at line 44 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.


Member Function Documentation

void AbstractLinAlgPack::BasisSystemPermDirectSparse::initialize ( const direct_solver_ptr_t direct_solver  ) 

Initialize given a direct sparse solver object.

Definition at line 57 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const BasisSystem::mat_nonsing_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_C (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystem.

Definition at line 76 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const BasisSystem::mat_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_D (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystem.

Definition at line 84 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const BasisSystem::mat_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_GcUP (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::BasisSystem.

Definition at line 92 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::var_dep (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystem.

Definition at line 99 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::var_indep (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystem.

Definition at line 104 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::equ_decomp (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::BasisSystem.

Definition at line 109 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::equ_undecomp (  )  const [virtual]

Reimplemented from AbstractLinAlgPack::BasisSystem.

Definition at line 114 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::update_basis ( const MatrixOp Gc,
MatrixOpNonsing C,
MatrixOp D,
MatrixOp GcUP,
EMatRelations  mat_rel,
std::ostream *  out 
) const

Definition at line 119 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const AbstractLinAlgPack::BasisSystemPerm::perm_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_P_var (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystemPerm.

Definition at line 180 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const AbstractLinAlgPack::BasisSystemPerm::perm_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_P_equ (  )  const [virtual]

Implements AbstractLinAlgPack::BasisSystemPerm.

Definition at line 187 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

const AbstractLinAlgPack::BasisSystemPerm::perm_fcty_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::factory_P_inequ (  )  const

Definition at line 194 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::set_basis ( const Permutation P_var,
const Range1D var_dep,
const Permutation P_equ,
const Range1D equ_decomp,
const MatrixOp Gc,
MatrixOpNonsing C,
MatrixOp D,
MatrixOp GcUP,
EMatRelations  mat_rel,
std::ostream *  out 
) [virtual]

Implements AbstractLinAlgPack::BasisSystemPerm.

Definition at line 200 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::select_basis ( const Vector nu,
MatrixOp Gc,
Permutation P_var,
Range1D var_dep,
Permutation P_equ,
Range1D equ_decomp,
MatrixOpNonsing C,
MatrixOp D,
MatrixOp GcUP,
EMatRelations  mat_rel,
std::ostream *  out 
) [virtual]

Implements AbstractLinAlgPack::BasisSystemPerm.

Definition at line 265 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

Teuchos::RCP< DirectSparseSolver::BasisMatrix > AbstractLinAlgPack::BasisSystemPermDirectSparse::get_basis_matrix ( MatrixOpNonsingAggr C_aggr  )  const [private]

Definition at line 366 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::set_A_mctse ( size_type  n,
size_type  m,
const MatrixPermAggr Gc_pa,
MatrixConvertToSparseEncap A_mctse 
) const [private]

Definition at line 382 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::update_basis_and_auxiliary_matrices ( const MatrixOp Gc,
const Teuchos::RCP< DirectSparseSolver::BasisMatrix > &  C_bm,
MatrixOpNonsingAggr C_aggr,
MatrixOp D,
MatrixOp GcUP 
) const [private]

Definition at line 399 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.

void AbstractLinAlgPack::BasisSystemPermDirectSparse::do_some_basis_stuff ( const MatrixOp Gc,
const Range1D var_dep,
const Range1D equ_decomp,
const Teuchos::RCP< DirectSparseSolver::BasisMatrix > &  C_bm,
MatrixOpNonsingAggr C_aggr,
MatrixOp D,
MatrixOp GcUP 
) [private]

Definition at line 431 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.cpp.


Member Data Documentation

direct_solver_ptr_t AbstractLinAlgPack::BasisSystemPermDirectSparse::direct_solver_ [private]

Definition at line 146 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

size_type AbstractLinAlgPack::BasisSystemPermDirectSparse::n_ [private]

Definition at line 147 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

size_type AbstractLinAlgPack::BasisSystemPermDirectSparse::m_ [private]

Definition at line 148 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

size_type AbstractLinAlgPack::BasisSystemPermDirectSparse::r_ [private]

Definition at line 149 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

size_type AbstractLinAlgPack::BasisSystemPermDirectSparse::Gc_nz_ [private]

Definition at line 150 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::init_var_rng_ [private]

Definition at line 151 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

IVector AbstractLinAlgPack::BasisSystemPermDirectSparse::init_var_inv_perm_ [private]

Definition at line 152 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::init_equ_rng_ [private]

Definition at line 153 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

IVector AbstractLinAlgPack::BasisSystemPermDirectSparse::init_equ_inv_perm_ [private]

Definition at line 154 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::var_dep_ [private]

Definition at line 155 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::var_indep_ [private]

Definition at line 156 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::equ_decomp_ [private]

Definition at line 157 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.

Range1D AbstractLinAlgPack::BasisSystemPermDirectSparse::equ_undecomp_ [private]

Definition at line 158 of file AbstractLinAlgPack_BasisSystemPermDirectSparse.hpp.


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