[petsc-dev] DMPlexTSSetIFunctionLocal?

Matthew Knepley knepley at gmail.com
Fri May 23 06:13:11 CDT 2014


On Thu, May 22, 2014 at 11:05 PM, Adrian Croucher <a.croucher at auckland.ac.nz
> wrote:

> hi
>
> At the moment we have DMPlexTSSetRHSFunctionLocal() for setting the
> right-hand side function in TS, while using a DMPlex mesh (as seen in TS
> ex11).
>
> If I similarly wanted to set a left-hand side function ("IFunction"),
> would I need something like a DMPlexTSSetIFunctionLocal() function?
>
> Such a thing doesn't appear to exist at the moment, so I'm just wondering
> if it is in the pipeline, or if there is already some other way to do this.
> I see there is a DMTSSetIFunctionLocal(), would that work?
>

Yes that works. Now that I understand how TS works, I can move the RHS
version over to DM as well.

   Matt


> Cheers, Adrian
>
> --
> Dr Adrian Croucher
> Senior Research Fellow
> Department of Engineering Science
> University of Auckland, New Zealand
> email: a.croucher at auckland.ac.nz
> tel: +64 (0)9 923 4611
>
>


-- 
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-dev/attachments/20140523/f0dfd45c/attachment.html>


More information about the petsc-dev mailing list