Sorry, it seems to work using *((double(*)[20])residual.begin()).
From: Michael Lee I want to check if I have system_rhs assembled correctly. Is there an easy way to watch the contents of this BlockVector during debugging? BlockVector<double> & system_rhs; system_rhs.reinit(dofs_per_block); For normal vectors, I can use *((double(*)[10]) v.begin()), but it does not work for BlockVector. I'm using VS code. Best, Michael -- 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/B3897C92-3FC3-4B18-88D2-185E7F2AD4D9%40hxcore.ol. |
- [deal.II] How to watch the variable of BlockVector type? Michael Lee
- RE: [deal.II] How to watch the variable of BlockVec... Michael Li
- Re: [deal.II] How to watch the variable of BlockVec... Wolfgang Bangerth
