/**
* Pointer to the level matrices.
*/
- SmartPointer<MGPerLevelObject<SparseMatrix<double> > >matrices;
+ SmartPointer<MGLevelObject<SparseMatrix<double> > >matrices;
public:
- FDMG(unsigned int maxlevel, MGPerLevelObject<SparseMatrix<double> >& matrices,
+ FDMG(unsigned int maxlevel, MGLevelObject<SparseMatrix<double> >& matrices,
FDMGTransfer& transfer);
public MGSmootherBase
{
private:
- SmartPointer<MGPerLevelObject<SparseMatrix<double> > >matrices;
+ SmartPointer<MGLevelObject<SparseMatrix<double> > >matrices;
public:
- MGSmootherLAC(MGPerLevelObject<SparseMatrix<double> >&);
+ MGSmootherLAC(MGLevelObject<SparseMatrix<double> >&);
virtual void smooth (const unsigned int level,
Vector<double> &u,
// Make matrix
vector<SparsityPattern> structure(maxlevel+1);
- MGPerLevelObject<SparseMatrix<double> > A(minlevel,maxlevel);
+ MGLevelObject<SparseMatrix<double> > A(minlevel,maxlevel);
FDMatrix testproblem(size, size);
}
}
-FDMG::FDMG(unsigned int maxlevel, MGPerLevelObject<SparseMatrix<double> >& matrices,
+FDMG::FDMG(unsigned int maxlevel, MGLevelObject<SparseMatrix<double> >& matrices,
FDMGTransfer& transfer)
:
MGBase(transfer, 0, maxlevel),
}
-MGSmootherLAC::MGSmootherLAC(MGPerLevelObject<SparseMatrix<double> >& matrix)
+MGSmootherLAC::MGSmootherLAC(MGLevelObject<SparseMatrix<double> >& matrix)
:
matrices(&matrix)
{}