On 10/2/24 08:17, Praveen C wrote:

The documentation says

https://dealii.org/current/doxygen/deal.II/classPETScWrappers_1_1TimeStepper.html

VectorType must provide a petsc_vector() function but the LA distributed vector does not seem to have this, right ?

In C++20 we actually check which vector classes are allowed:
https://github.com/dealii/dealii/blob/25495718f4bb6aa45a8f6c8cc4f2aedbe8d62231/include/deal.II/lac/petsc_ts.h#L326-L338
In short, you really can only use PETSc vectors (not even block vectors).

You could try the SUNDIALS wrappers. They are more flexible and allow you to use any kind of vector type.

Best
 W.

--
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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/57c7db5a-e6d5-4b81-b447-a4de4b5cf636%40colostate.edu.

Reply via email to