Re: [deal.II] Any easy way to output cellwise average solution

2018-03-29 Thread Weixiong Zheng
Thanks, this looks much prettier! 在 2018年3月27日星期二 UTC-7下午5:04:18,Jean-Paul Pelteret写道: > > Dear Weixiong, > > There’s an interpolation function that should do this for you: > > https://dealii.org/8.5.1/doxygen/deal.II/namespaceVectorTools.html#a5e3af70a47cedfaf361cf5c621e94e3d > The associated int

Re: [deal.II] Any easy way to output cellwise average solution

2018-03-27 Thread Jean-Paul Pelteret
Dear Weixiong, There’s an interpolation function that should do this for you: https://dealii.org/8.5.1/doxygen/deal.II/namespaceVectorTools.html#a5e3af70a47cedfaf361cf5c621e94e3d The associated

[deal.II] Any easy way to output cellwise average solution

2018-03-27 Thread Weixiong Zheng
Hi I am trying to output an cell average solution for a code using DG bilinear element in 2D. Is there a trivial way to project DG-1 to DG-0? Or is there any function I can call to output the solution at some specfic points, say the center point of the cell? Thanks -- The deal.II project is