42 #ifndef ALAP_DIRECT_SPARSE_SOLVER_IMP_H 43 #define ALAP_DIRECT_SPARSE_SOLVER_IMP_H 45 #include "AbstractLinAlgPack_DirectSparseSolver.hpp" 46 #include "AbstractLinAlgPack_VectorSpaceSerial.hpp" 50 class DirectSparseSolverImp;
120 virtual const fact_nonzeros_ptr_t& get_fact_nonzeros()
const;
132 size_type
rows()
const;
134 size_type
cols()
const;
142 mat_mns_mut_ptr_t clone_mns();
168 ,
const fact_nonzeros_ptr_t &fact_nonzeros
173 virtual void initialize(
176 ,
const fact_nonzeros_ptr_t &fact_nonzeros
195 virtual Teuchos::RCP<BasisMatrixImp> create_matrix()
const = 0;
207 #ifdef DOXYGEN_COMPILE 208 FactorizationStructure *fact_struc;
213 fact_nonzeros_ptr_t fact_nonzeros_;
254 virtual const Teuchos::RCP<FactorizationStructure>
create_fact_struc()
const = 0;
267 ,FactorizationStructure *fact_struc
272 ,std::ostream *out = NULL
282 ,
const FactorizationStructure &fact_struc
284 ,std::ostream *out = NULL
291 #ifdef DOXYGEN_COMPILE 292 FactorizationStructure *fact_struc;
302 #endif // ALAP_DIRECT_SPARSE_SOLVER_IMP_H const BasisMatrix::fact_struc_ptr_t & get_fact_struc() const
Abstract class for objects that represent the factorized matrix and can be used to solve for differen...
size_type rows(size_type rows, size_type cols, BLAS_Cpp::Transp _trans)
virtual const Teuchos::RCP< FactorizationStructure > create_fact_struc() const =0
Create a new, uninitialized FactorizationStructure object.
void factor(const AbstractLinAlgPack::MatrixConvertToSparse &A, BasisMatrix *basis_matrix, const BasisMatrix::fact_struc_ptr_t &fact_struc, std::ostream *out)
Abstract interface for objects that represent a space for mutable coordinate vectors.
virtual void imp_analyze_and_factor(const AbstractLinAlgPack::MatrixConvertToSparse &A, FactorizationStructure *fact_struc, FactorizationNonzeros *fact_nonzeros, DenseLinAlgPack::IVector *row_perm, DenseLinAlgPack::IVector *col_perm, size_type *rank, std::ostream *out=NULL)=0
Called to implement the analyze_and_factor() without having to worry about memory mangagment details...
Mix-in interface for extracing explicit elements from a sparse matrix in one of several Fortran compa...
Teuchos::RCP< FactorizationStructure > fact_struc_ptr_t
void analyze_and_factor(const AbstractLinAlgPack::MatrixConvertToSparse &A, DenseLinAlgPack::IVector *row_perm, DenseLinAlgPack::IVector *col_perm, size_type *rank, BasisMatrix *basis_matrix, std::ostream *out)
Implementation node class for DirectSparseSolver that takes care of the memory management details...
Implementation node subclass that combines factorization structure and factorization nonzeros into a ...
virtual void imp_factor(const AbstractLinAlgPack::MatrixConvertToSparse &A, const FactorizationStructure &fact_struc, FactorizationNonzeros *fact_nonzeros, std::ostream *out=NULL)=0
Called to implement the analyze_and_factor() without having to worry about memory mangagment details...
virtual ~FactorizationNonzeros()
virtual const Teuchos::RCP< FactorizationNonzeros > create_fact_nonzeros() const =0
Create a new, uninitialized FactorizationNonzeros object.
Abstract class for objects that represent the factorization nonzeros of a particular matrix...
Teuchos::RCP< FactorizationNonzeros > fact_nonzeros_ptr_t
Subclass for serial vector space objects that create VectorMutableDense vector and MultiVectorMutable...
size_type cols(size_type rows, size_type cols, BLAS_Cpp::Transp _trans)
Abstract interface to serial direct sparse linear solvers.