[petsc-users] Discretized fields at quadrature points

Matthew Knepley knepley at gmail.com
Fri Apr 8 09:48:17 CDT 2016

On Wed, Apr 6, 2016 at 2:06 PM, Sander Arens <Sander.Arens at ugent.be> wrote:

> Hi,
> I'd like to be able to represent some discretized fields at the quadrature
> points of a finite element, so I can easily use them with the plex
> residual/function evaluations. Is it possible to do this with
> PetscFECreateDefault and some command line options?
> I think what I need is PETSCSPACEDG for the space, but I'm not sure what
> type I should take for the dual space?

This is why I put that in there. It really should not be named DG, but
there are reasons I thought it made sense.

I had not thought about a dual space, since I was not going to project into
it. I think you can just use whatever is the default.


> Thanks,
> Sander
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20160408/80add53b/attachment-0001.html>

More information about the petsc-users mailing list