9 #ifndef stk_linsys_AggregateLinearSystem_hpp
10 #define stk_linsys_AggregateLinearSystem_hpp
12 #include <stk_linsys/FeiBaseIncludes.hpp>
13 #include <stk_linsys/DofMapper.hpp>
14 #include <stk_linsys/LinearSystemInterface.hpp>
15 #include <stk_linsys/LinearSystem.hpp>
17 #include <Teuchos_ParameterList.hpp>
35 AggregateLinearSystem(MPI_Comm comm, fei::SharedPtr<fei::Factory> factory,
size_t num_matrices=1,
size_t num_rhsvecs=1);
40 void set_parameters(Teuchos::ParameterList& paramlist);
60 fei::SharedPtr<fei::Matrix>
get_matrix(
size_t index);
64 fei::SharedPtr<fei::Vector>
get_rhsvec(
size_t index);
71 const std::vector<double>& rhs_scalars);
102 void write_files(
const std::string& base_name)
const;
122 int solve(
int & status,
const Teuchos::ParameterList & params);
126 fei::SharedPtr<fei::Factory> m_fei_factory;
129 std::vector<fei::SharedPtr<fei::Matrix> > m_matrices;
130 std::vector<fei::SharedPtr<fei::Vector> > m_rhsvecs;