[petsc-dev] resurrecting the finite element energy functions thread

Jed Brown jed at jedbrown.org
Sun Jan 19 15:26:16 CST 2014


Geoffrey Irving <irving at naml.us> writes:

> After a brief delay, I'm back to needing finite element energy
> functions for optimization problems.  The original thread is
>
>     http://lists.mcs.anl.gov/pipermail/petsc-dev/2013-December/014161.html
>
> That thread veered off into some more general discussions of the
> PetscFE API, and I don't think came to a specific conclusion as to the
> best way to add said energy functions.  In terms of API, what is
> missing is a function to integrate a function over a space, where the
> functions takes various field arguments and produces one or more
> scalars.  The quadrature rule is important: in my case there will be
> only one non-auxiliary field, and the integration function needs to
> use the same quadrature rule.

I would define a number of quantities and a reducer (MPI_SUM, MPI_MAX).

> I apologize if I failed to read through the previous discussion
> correctly, and/or the required function has already been written.  If
> not, I'm happy to mock something up, ideally with function signature
> suggestions from others first.

What is different from integrating a residual, apart from the result
being a set of scalars instead of a vector?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20140119/265b76cc/attachment.sig>


More information about the petsc-dev mailing list