Skip to content
Snippets Groups Projects
Commit 54a27b07 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

implement method setProblem()

[[Imported from SVN: r2952]]
parent c05554cf
No related branches found
No related tags found
No related merge requests found
......@@ -52,8 +52,16 @@ public:
VectorType& rhs)
{
setProblem(*stiffnessMatrix, x, rhs);
}
fop_ = std::auto_ptr<Operator>(new Operator(*stiffnessMatrix));
/** \brief Initialize the iteration step but don't actually build the matrix hierarchy yet */
virtual void setProblem(const MatrixType& stiffnessMatrix,
VectorType& x,
VectorType& rhs)
{
LinearIterationStep<MatrixType, VectorType>::setProblem(stiffnessMatrix, x, rhs);
fop_ = std::auto_ptr<Operator>(new Operator(stiffnessMatrix));
}
/** \brief Sets up an algebraic hierarchy
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment