Dear all,

I am trying to use SparseVanka as a smoother in multigrid. Below is the 
part of my code that initializes the multigrid smoother object.

...
MGLevelObject<SparseMatrix<double>> mg_matrices; // already populated with 
level matrices
SparseVanka<double>::AdditionalData 
vanka_data(std::vector<bool>{false,true});
MGSmootherPrecondition<SparseMatrix<double>,SparseVanka<double>,Vector<double>> 
mg_smoother;
mg_smoother.initializes(mg_matrices, vanka_data);
...

When I compiled the code, there was one error: 'SparseVanka<double> has no 
member named 'clear'. In instantiation of 'void 
dealii::MGLevelObject<Object>::clear_elements() [with Object = 
dealii::SparseVanka<double>]', required from 'void 
dealii::MGSmootherPrecondition<MatrixType, PreconditionType, 
VectorType>::clear()...

It seems that the SparseVanka class has no clear() method, which is 
required by MGLevelObject. I speculate that SparseVanka is not ready to be 
used as multigrid smoother yet, or this is not the correct way to use 
SparseVanka as multigrid smoother.

Thank you in advance.

Best regards,
Chayapol



-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/026356ac-2050-41a3-a1e1-429aa9a5248en%40googlegroups.com.

Reply via email to