<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Apr 8, 2016 at 12:07 PM, Sander Arens <span dir="ltr"><<a href="mailto:Sander.Arens@ugent.be" target="_blank">Sander.Arens@ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Or perhaps there should be a flag for PETSCDUALSPACELAGRANGE to evaluate at the quadrature points?</div></blockquote><div><br></div><div>I think you can get what you want using DUALSPACESIMPLE and pass the quadrature.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><div class="gmail_quote">On 8 April 2016 at 17:35, Sander Arens <span dir="ltr"><<a href="mailto:Sander.Arens@ugent.be" target="_blank">Sander.Arens@ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>What does it stand for? Discrete Gauss? Maybe PETSCSPACEQUADRATURE is a better name?<br><br></div>The reason I want to use this is because these fields will be representing a bunch of ODE's at each point (not coupled spatially) and it would be nice if their mass matrices would be diagonal. So the dual space should be Dirac delta's at the quadrature points and that's different from the default (Lagrange).<br><br></div>I'll see if I can code something up for this. Any suggestions for a name for this dual space?<br><br></div>Thanks,<br></div>Sander <br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On 8 April 2016 at 16:48, Matthew Knepley <span dir="ltr"><<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span>On Wed, Apr 6, 2016 at 2:06 PM, Sander Arens <span dir="ltr"><<a href="mailto:Sander.Arens@ugent.be" target="_blank">Sander.Arens@ugent.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br><br></div>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?<br></div>I think what I need is PETSCSPACEDG for the space, but I'm not sure what type I should take for the dual space?<br></div></div></div></blockquote><div><br></div></span><div>This is why I put that in there. It really should not be named DG, but there are reasons I thought it made sense.</div><div><br></div><div>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.</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div></div>Thanks,<br></div>Sander</div></blockquote></div><span><font color="#888888">-- <br><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</font></span></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div>
</div></div>