On 08/11/2018 09:37 AM, [email protected] wrote:

I would be most grateful for your help on the following matter.  I am solving a combined stokes-laplace problem (have a vector valued solution).  I am trying to calculate the hdiv norm on the first two components of my solution (i.e. the two components of the velocity), cellwise.   The implementation of my combined problem is from tutorial 46.  The integrate_difference is from tutorial 20 since I needed the mask for the velocity components.  However, I get an error saying 'no matching function for the call to integrate difference'.

The problem is that the functions that take an hp::DoFHandler object as first argument want a hp::QCollection as fifth argument, but you just provide a Quadrature object. If you pass a hp::QCollection instead, it compiles just fine.

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to